mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 17:18:51 +02:00
Initial .bep file for libdvdread, moved patch to patches sub-dir and fix libdvdnav .bep to use the right build steps.
This commit is contained in:
24
media-libs/libdvdread/patches/libdvdread-4.1.3.patch
Normal file
24
media-libs/libdvdread/patches/libdvdread-4.1.3.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -urN libdvdread-4.1.3/configure.ac libdvdread-4.1.3-haiku/configure.ac
|
||||
--- libdvdread-4.1.3/configure.ac 2009-02-19 08:11:30.000000000 +0000
|
||||
+++ libdvdread-4.1.3-haiku/configure.ac 2009-02-19 08:03:55.000000000 +0000
|
||||
@@ -145,6 +145,8 @@
|
||||
*cygwin*)
|
||||
LDFLAGS="-no-undefined $LDFLAGS"
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ ;;
|
||||
*)
|
||||
AC_CHECK_LIB(c, dlopen,
|
||||
DYNAMIC_LD_LIBS="",
|
||||
diff -urN libdvdread-4.1.3/src/bswap.h libdvdread-4.1.3-haiku/src/bswap.h
|
||||
--- libdvdread-4.1.3/src/bswap.h 2009-02-19 08:11:31.000000000 +0000
|
||||
+++ libdvdread-4.1.3-haiku/src/bswap.h 2009-02-19 08:09:28.000000000 +0000
|
||||
@@ -71,7 +71,7 @@
|
||||
* functionality!
|
||||
*/
|
||||
|
||||
-#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__)
|
||||
+#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__HAIKU__)
|
||||
#define B2N_16(x) \
|
||||
x = ((((x) & 0xff00) >> 8) | \
|
||||
(((x) & 0x00ff) << 8))
|
||||
Reference in New Issue
Block a user