From 08daeb5be614eb8a2a21f6e36bce7edc4ed001b3 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 15 Apr 2006 21:23:39 +0000 Subject: Fix build with newer libdvdread. --- multimedia/lsdvd/distinfo | 5 +++-- multimedia/lsdvd/patches/patch-aa | 15 ++++++++++----- multimedia/lsdvd/patches/patch-ab | 12 ++++++++++++ 3 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 multimedia/lsdvd/patches/patch-ab (limited to 'multimedia') diff --git a/multimedia/lsdvd/distinfo b/multimedia/lsdvd/distinfo index e469d800a56..110e09c8f90 100644 --- a/multimedia/lsdvd/distinfo +++ b/multimedia/lsdvd/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2006/02/26 05:03:21 snj Exp $ +$NetBSD: distinfo,v 1.4 2006/04/15 21:23:39 wiz Exp $ SHA1 (lsdvd-0.10.tar.gz) = 910bab96300dade7b07baa7cb2037ef473c035d6 RMD160 (lsdvd-0.10.tar.gz) = a3c718dba1f6556a8e03d66f453483f3e50f2027 Size (lsdvd-0.10.tar.gz) = 36206 bytes -SHA1 (patch-aa) = dbb3baccdf3ae6da6c68389b65d3a8f079f35b5e +SHA1 (patch-aa) = 0709200419b2a2228b4c949405c93b83c096526a +SHA1 (patch-ab) = 048cb82748324b34340a46a93b91efb424f12763 diff --git a/multimedia/lsdvd/patches/patch-aa b/multimedia/lsdvd/patches/patch-aa index ecaf903bdb9..80fa9466b46 100644 --- a/multimedia/lsdvd/patches/patch-aa +++ b/multimedia/lsdvd/patches/patch-aa @@ -1,12 +1,17 @@ -$NetBSD: patch-aa,v 1.1 2006/02/26 05:03:21 snj Exp $ +$NetBSD: patch-aa,v 1.2 2006/04/15 21:23:39 wiz Exp $ ---- configure.in.orig 2006-02-25 20:04:11.000000000 -0800 -+++ configure.in 2006-02-25 20:04:25.000000000 -0800 -@@ -3,6 +3,7 @@ AC_INIT(lsdvd.c) +--- configure.in.orig 2003-09-29 21:02:16.000000000 +0000 ++++ configure.in +@@ -3,9 +3,11 @@ AC_INIT(lsdvd.c) AM_INIT_AUTOMAKE(lsdvd, 0.10) CFLAGS=-g AC_PROG_CC +AC_CHECK_HEADERS([stdint.h inttypes.h]) AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!])) AC_MSG_CHECKING([for dvdread/ifo_read.h]) - AC_TRY_COMPILE([#include ], , +-AC_TRY_COMPILE([#include ], , ++AC_TRY_COMPILE([#include ++#include ], , + AC_MSG_RESULT([yes]), + AC_MSG_RESULT([no]) + AC_MSG_ERROR([Header files for dvdread not found])) diff --git a/multimedia/lsdvd/patches/patch-ab b/multimedia/lsdvd/patches/patch-ab new file mode 100644 index 00000000000..f3d698376f0 --- /dev/null +++ b/multimedia/lsdvd/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2006/04/15 21:23:40 wiz Exp $ + +--- lsdvd.c.orig 2003-09-29 21:01:00.000000000 +0000 ++++ lsdvd.c +@@ -13,6 +13,7 @@ + * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros, + * output info structures in form of a Perl module, by Henk Vergonet. + */ ++#include + #include + #include + #include -- cgit v1.2.3