summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-01-26 16:23:12 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-01-26 16:23:12 +0000
commit012c393b96435688e7345b8edc9bfe2044757760 (patch)
tree3ceb66f1b625c280ed0ea984c09c364b6644551d
parent482bedac8b0a5b8bde185a96ff54aa11e176b6d7 (diff)
downloadpkgsrc-012c393b96435688e7345b8edc9bfe2044757760.tar.gz
Patch dvdread/ifo_types.h to include inttypes.h and stdint.h before
checking for UINT{8,16,32}_MAX. It's better to take this way, otherwise we'd have to patch all dependent packages requiring libdvdread. Bump PKGREVISION.
-rw-r--r--multimedia/libdvdread/Makefile3
-rw-r--r--multimedia/libdvdread/distinfo3
-rw-r--r--multimedia/libdvdread/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index 560cd2a51c0..78257ce0e15 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2006/01/23 22:09:26 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2006/01/26 16:23:12 xtraeme Exp $
DISTNAME= libdvdread-0.9.5
+PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo
index 3a9599f1516..bdf2aee45e4 100644
--- a/multimedia/libdvdread/distinfo
+++ b/multimedia/libdvdread/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2006/01/23 22:09:26 wiz Exp $
+$NetBSD: distinfo,v 1.9 2006/01/26 16:23:12 xtraeme 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-ab) = 9aef0b8418a947df46ee66439bed4690a6b3633d
diff --git a/multimedia/libdvdread/patches/patch-aa b/multimedia/libdvdread/patches/patch-aa
new file mode 100644
index 00000000000..e2e123ddc2d
--- /dev/null
+++ b/multimedia/libdvdread/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2006/01/26 16:23:12 xtraeme 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 @@
+ #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
+ #endif
+ #else
++#include <inttypes.h>
++#include <stdint.h>
+ #if !defined(UINT8_MAX) || !defined(UINT16_MAX) || !defined(INT32_MAX)
+ #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
+ #endif