summaryrefslogtreecommitdiff
path: root/multimedia/libmp4v2/patches
diff options
context:
space:
mode:
authorhans <hans>2012-01-11 15:43:44 +0000
committerhans <hans>2012-01-11 15:43:44 +0000
commit1bc7812e0a5e9b31e5f10c3695c8b60e9a48b377 (patch)
tree6dde799655ccb9cb212f50c8d120b73bbcbd1b2a /multimedia/libmp4v2/patches
parenta0572d6cf81c3833f1bc71a9c43deaf647f59ae2 (diff)
downloadpkgsrc-1bc7812e0a5e9b31e5f10c3695c8b60e9a48b377.tar.gz
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.
Diffstat (limited to 'multimedia/libmp4v2/patches')
-rw-r--r--multimedia/libmp4v2/patches/patch-al11
1 files changed, 9 insertions, 2 deletions
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 <math.h> /* to define float HUGE_VAL and/or NAN */