diff options
author | rillig <rillig> | 2006-02-17 15:39:21 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-02-17 15:39:21 +0000 |
commit | c12dd97f4979c25ccca3889725b61681a210719c (patch) | |
tree | 224a1a1722479043cdaa1875c9e43f03292a2b71 /multimedia | |
parent | 691068f2eb8a6d2626d601e9fade1f9ab1bc53d5 (diff) | |
download | pkgsrc-c12dd97f4979c25ccca3889725b61681a210719c.tar.gz |
Don't include <stdint.h> and <inttypes.h> unconditionally. For example,
Solaris 8 has only <inttypes.h>.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libdvdread/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libdvdread/patches/patch-aa | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo index bdf2aee45e4..8e4777ec29b 100644 --- a/multimedia/libdvdread/distinfo +++ b/multimedia/libdvdread/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.9 2006/01/26 16:23:12 xtraeme Exp $ +$NetBSD: distinfo,v 1.10 2006/02/17 15:39:21 rillig Exp $ SHA1 (libdvdread-0.9.5.tar.gz) = 7f10287953edb6f00667e12fee3a8b101be9f1cd RMD160 (libdvdread-0.9.5.tar.gz) = a558dad42487fb39771c89862075bc29c2d054ca Size (libdvdread-0.9.5.tar.gz) = 381006 bytes -SHA1 (patch-aa) = c3fb40699c4379be04169228056d49b1b65e6c05 +SHA1 (patch-aa) = 44a947081081cfd5634a57d57b5b871ca17daf9d SHA1 (patch-ab) = 9aef0b8418a947df46ee66439bed4690a6b3633d diff --git a/multimedia/libdvdread/patches/patch-aa b/multimedia/libdvdread/patches/patch-aa index e2e123ddc2d..041f8723e34 100644 --- a/multimedia/libdvdread/patches/patch-aa +++ b/multimedia/libdvdread/patches/patch-aa @@ -1,13 +1,17 @@ -$NetBSD: patch-aa,v 1.5 2006/01/26 16:23:12 xtraeme Exp $ +$NetBSD: patch-aa,v 1.6 2006/02/17 15:39:21 rillig Exp $ ---- dvdread/ifo_types.h.orig 2006-01-26 17:15:53.000000000 +0100 -+++ dvdread/ifo_types.h 2006-01-26 17:16:08.000000000 +0100 -@@ -28,6 +28,8 @@ +--- dvdread/ifo_types.h.orig Sun Sep 18 20:02:08 2005 ++++ dvdread/ifo_types.h Fri Feb 17 16:30:23 2006 +@@ -28,6 +28,12 @@ #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header." #endif #else ++#ifdef HAVE_INTTYPES_H +#include <inttypes.h> ++#endif ++#ifdef HAVE_STDINT_H +#include <stdint.h> ++#endif #if !defined(UINT8_MAX) || !defined(UINT16_MAX) || !defined(INT32_MAX) #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header." #endif |