From 46c6a6ca66bfc63b6923fd87c9f2b7b48a4f1410 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 19 Feb 2009 08:44:24 +0000 Subject: [PATCH] This patches enables building of libdvdnav on haiku --- .../libdvdnav/libdvdnav-4.1.3-haiku.diff | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 media-libs/libdvdnav/libdvdnav-4.1.3-haiku.diff diff --git a/media-libs/libdvdnav/libdvdnav-4.1.3-haiku.diff b/media-libs/libdvdnav/libdvdnav-4.1.3-haiku.diff new file mode 100644 index 000000000..8850c5401 --- /dev/null +++ b/media-libs/libdvdnav/libdvdnav-4.1.3-haiku.diff @@ -0,0 +1,33 @@ +diff -urN libdvdnav-4.1.3/configure.ac libdvdnav-4.1.3-haiku/configure.ac +--- libdvdnav-4.1.3/configure.ac 2009-02-19 07:41:01.000000000 +0000 ++++ libdvdnav-4.1.3-haiku/configure.ac 2009-02-19 07:33:27.000000000 +0000 +@@ -145,6 +145,8 @@ + ;; + *mingw32* | *cygwin*) + ;; ++ *haiku*) ++ ;; + *) + AC_CHECK_LIB(pthread, pthread_create, + [THREAD_LIBS="-lpthread"], +@@ -165,6 +167,8 @@ + *cygwin*) + LDFLAGS="-no-undefined $LDFLAGS" + ;; ++ *haiku*) ++ ;; + *) + AC_CHECK_LIB(c, dlopen, + DYNAMIC_LD_LIBS="", +diff -urN libdvdnav-4.1.3/src/remap.c libdvdnav-4.1.3-haiku/src/remap.c +--- libdvdnav-4.1.3/src/remap.c 2009-02-19 07:41:01.000000000 +0000 ++++ libdvdnav-4.1.3-haiku/src/remap.c 2009-02-19 08:35:48.000000000 +0000 +@@ -28,7 +28,7 @@ + + #ifndef _MSC_VER + #include +-#include ++#include + #else + #ifndef MAXPATHLEN + #define MAXPATHLEN 255