summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 15:43:44 +0000
committerhans <hans@pkgsrc.org>2012-01-11 15:43:44 +0000
commit271f1e717fadd1ed26a1d87c7fa33f335afc0348 (patch)
tree6dde799655ccb9cb212f50c8d120b73bbcbd1b2a /multimedia
parent3bab76f94d4bcf3e220e8996ba7295ef6d369a3e (diff)
downloadpkgsrc-271f1e717fadd1ed26a1d87c7fa33f335afc0348.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')
-rw-r--r--multimedia/libmp4v2/distinfo4
-rw-r--r--multimedia/libmp4v2/patches/patch-al11
2 files changed, 11 insertions, 4 deletions
diff --git a/multimedia/libmp4v2/distinfo b/multimedia/libmp4v2/distinfo
index 0fb1d181af1..5d5abac24d9 100644
--- a/multimedia/libmp4v2/distinfo
+++ b/multimedia/libmp4v2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2011/01/29 21:00:45 markd Exp $
+$NetBSD: distinfo,v 1.7 2012/01/11 15:43:44 hans Exp $
SHA1 (mpeg4ip-1.6.1.tar.gz) = 2af97fc0da6a5c0bcb7b433c6715967487b80e38
RMD160 (mpeg4ip-1.6.1.tar.gz) = ee8375d9581cccbbf685f730bb36f3866eaf12f7
@@ -14,4 +14,4 @@ SHA1 (patch-ah) = b5db1d879cf790c2b9c7e9132b14e1fc59e9cb4d
SHA1 (patch-ai) = 8815f81cc09bb36944bf33691aaf9060b545c76e
SHA1 (patch-aj) = f0aeab4c17bb8a737a9ae3d4385c9f2989540ea7
SHA1 (patch-ak) = 36da5d4d2824cc8b3ac62e10924058dd651cb2a7
-SHA1 (patch-al) = f8fe797faf58d3819166c8e06c92d7f2ecf66d07
+SHA1 (patch-al) = 9ddfdeb35655c739c230d66f20e205b899af0b48
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 */