diff options
author | tonio <tonio@pkgsrc.org> | 2008-05-24 07:24:59 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2008-05-24 07:24:59 +0000 |
commit | 4d6db4497dc53c442994fc31e235e8715cc46b11 (patch) | |
tree | 4f0f3308dd06e5beac402e2a20db2ab117cef60e /multimedia | |
parent | d2087828fddb56ab6a6223bf50ec052173a31a9d (diff) | |
download | pkgsrc-4d6db4497dc53c442994fc31e235e8715cc46b11.tar.gz |
Fixing build for MacOSX 10.5, using __DARWIN_STRUCT_STAT64 to detect if stat64
is available.
This should fix PR pkg/38721
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libmpeg3/distinfo | 6 | ||||
-rw-r--r-- | multimedia/libmpeg3/patches/patch-ae | 4 | ||||
-rw-r--r-- | multimedia/libmpeg3/patches/patch-ah | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/multimedia/libmpeg3/distinfo b/multimedia/libmpeg3/distinfo index b8fbb983a27..50213e4c77c 100644 --- a/multimedia/libmpeg3/distinfo +++ b/multimedia/libmpeg3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2008/05/23 16:38:34 tonio Exp $ +$NetBSD: distinfo,v 1.14 2008/05/24 07:24:59 tonio Exp $ SHA1 (libmpeg3-1.7-src.tar.bz2) = 577da1ddf77f1e1fcd1deb69829eec3567daed36 RMD160 (libmpeg3-1.7-src.tar.bz2) = f1989c4b52d97ee29833edc79efd731b6219f126 @@ -6,8 +6,8 @@ Size (libmpeg3-1.7-src.tar.bz2) = 320897 bytes SHA1 (patch-aa) = c05dfda5b2b43593044af2328244858453add46c SHA1 (patch-ac) = f83af5e90c93f7d02395923d2f93fb916057c434 SHA1 (patch-ad) = 86edf9af264370bf89050b02e956b5bacc86881e -SHA1 (patch-ae) = 6029a14c3d3811919e0383cd7b57cb9a0bb8e4d5 +SHA1 (patch-ae) = d0575f32a5964ee06697f1a77dcf09db264f2a29 SHA1 (patch-ag) = bf321ac689b82889ca1a2bb8a96cb6e387280f32 -SHA1 (patch-ah) = 070f2285bb5173a73865bccf38c73a5429abce1c +SHA1 (patch-ah) = 9c0db87073c79094be477518f8173fbb1ed51696 SHA1 (patch-ai) = 859735f677cb469b782e27da2a14bacd3fd02003 SHA1 (patch-aj) = 48a5bcbce03d4ff91e8815b5813d2138b87bacb0 diff --git a/multimedia/libmpeg3/patches/patch-ae b/multimedia/libmpeg3/patches/patch-ae index 55aa6139fd0..684a4c7346f 100644 --- a/multimedia/libmpeg3/patches/patch-ae +++ b/multimedia/libmpeg3/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.8 2008/05/21 19:21:33 tonio Exp $ +$NetBSD: patch-ae,v 1.9 2008/05/24 07:24:59 tonio Exp $ --- mpeg3io.c.orig 2005-05-01 07:57:56.000000000 +0200 +++ mpeg3io.c 2008-02-19 19:25:09.000000000 +0100 @@ -16,7 +16,7 @@ $NetBSD: patch-ae,v 1.8 2008/05/21 19:21:33 tonio Exp $ +# include <sys/param.h> +# include <sys/mount.h> + -+# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 /* 2.99.9 */) || (defined(__APPLE__) && defined(__MACH__) /* MacOSX */) ++# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 /* 2.99.9 */) || (defined(__APPLE__) && defined(__MACH__) && !defined(__DARWIN_STRUCT_STAT64) /* MacOSX < 10.5 */) +# define fopen64 fopen +# define fseeko64 fseek +# define stat64 stat diff --git a/multimedia/libmpeg3/patches/patch-ah b/multimedia/libmpeg3/patches/patch-ah index cc9fc6dc140..9677b5cd2fa 100644 --- a/multimedia/libmpeg3/patches/patch-ah +++ b/multimedia/libmpeg3/patches/patch-ah @@ -1,4 +1,4 @@ -$NetBSD: patch-ah,v 1.4 2008/05/21 19:21:33 tonio Exp $ +$NetBSD: patch-ah,v 1.5 2008/05/24 07:24:59 tonio Exp $ --- mpeg3tocutil.c.orig 2008-02-19 19:21:30.000000000 +0100 +++ mpeg3tocutil.c 2008-02-19 19:22:41.000000000 +0100 @@ -12,7 +12,7 @@ $NetBSD: patch-ah,v 1.4 2008/05/21 19:21:33 tonio Exp $ +# include <sys/param.h> +# include <sys/mount.h> + -+# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 /* 2.99.9 */) || (defined(__APPLE__) && defined(__MACH__) /* MacOSX */) ++# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 /* 2.99.9 */) || (defined(__APPLE__) && defined(__MACH__) && !defined(__DARWIN_STRUCT_STAT64) /* MacOSX < 10.5 */) +# define stat64 stat +# endif +# if defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 /* 2.99.9 */ |