pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libdvdread Don't include <stdint.h> and <in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74346314f218
branches:  trunk
changeset: 508275:74346314f218
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Feb 17 15:39:21 2006 +0000

description:
Don't include <stdint.h> and <inttypes.h> unconditionally. For example,
Solaris 8 has only <inttypes.h>.

diffstat:

 multimedia/libdvdread/distinfo         |   4 ++--
 multimedia/libdvdread/patches/patch-aa |  12 ++++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 55939b12c8c6 -r 74346314f218 multimedia/libdvdread/distinfo
--- a/multimedia/libdvdread/distinfo    Fri Feb 17 15:26:01 2006 +0000
+++ b/multimedia/libdvdread/distinfo    Fri Feb 17 15:39:21 2006 +0000
@@ -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 -r 55939b12c8c6 -r 74346314f218 multimedia/libdvdread/patches/patch-aa
--- a/multimedia/libdvdread/patches/patch-aa    Fri Feb 17 15:26:01 2006 +0000
+++ b/multimedia/libdvdread/patches/patch-aa    Fri Feb 17 15:39:21 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index