summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread/patches/patch-aa
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-01-26 16:23:12 +0000
committerxtraeme <xtraeme>2006-01-26 16:23:12 +0000
commit3796e13fd37aeae47a606476e4d04c9145fff053 (patch)
tree3ceb66f1b625c280ed0ea984c09c364b6644551d /multimedia/libdvdread/patches/patch-aa
parent3ccf9963ddd14b53a3a6cbb7c159933a13ea112f (diff)
downloadpkgsrc-3796e13fd37aeae47a606476e4d04c9145fff053.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.
Diffstat (limited to 'multimedia/libdvdread/patches/patch-aa')
-rw-r--r--multimedia/libdvdread/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
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