From 1bc7812e0a5e9b31e5f10c3695c8b60e9a48b377 Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 11 Jan 2012 15:43:44 +0000 Subject: SunOS doesn't have u_int8_t etc., so define them in the header where they are used. Fixes build of several packages using libmp4v2. --- multimedia/libmp4v2/patches/patch-al | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'multimedia/libmp4v2/patches') diff --git a/multimedia/libmp4v2/patches/patch-al b/multimedia/libmp4v2/patches/patch-al index 6242a67a635..6cffb7da3e8 100644 --- a/multimedia/libmp4v2/patches/patch-al +++ b/multimedia/libmp4v2/patches/patch-al @@ -1,8 +1,8 @@ -$NetBSD: patch-al,v 1.4 2007/11/19 09:48:43 dillo Exp $ +$NetBSD: patch-al,v 1.5 2012/01/11 15:43:44 hans Exp $ --- lib/mp4v2/mp4.h.orig 2007-09-28 22:45:11.000000000 +0200 +++ lib/mp4v2/mp4.h -@@ -31,8 +31,22 @@ +@@ -31,8 +31,29 @@ #ifndef __MP4_INCLUDED__ #define __MP4_INCLUDED__ @@ -20,6 +20,13 @@ $NetBSD: patch-al,v 1.4 2007/11/19 09:48:43 dillo Exp $ + const char *lib, + const char *fmt, + ...); ++ ++#ifdef __sun ++#define u_int8_t uint8_t ++#define u_int16_t uint16_t ++#define u_int32_t uint32_t ++#define u_int64_t uint64_t ++#endif +#endif + #include /* to define float HUGE_VAL and/or NAN */ -- cgit v1.2.3