mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 17:18:51 +02:00
22
media-libs/libdvdread/patches/libdvdread-6.1.3.patchset
Normal file
22
media-libs/libdvdread/patches/libdvdread-6.1.3.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From fd8bdcc61cd86129c35f112350d83e047530c73a Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 3 Sep 2014 15:17:33 +0000
|
||||
Subject: haiku patch
|
||||
|
||||
|
||||
diff --git a/src/bswap.h b/src/bswap.h
|
||||
index d3b2383..2f2358f 100644
|
||||
--- a/src/bswap.h
|
||||
+++ b/src/bswap.h
|
||||
@@ -85,7 +85,7 @@
|
||||
* functionality!
|
||||
*/
|
||||
|
||||
-#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(_WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__OS2__)
|
||||
+#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(_WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__OS2__) || defined(__HAIKU__)
|
||||
#define B2N_16(x) \
|
||||
x = ((((x) & 0xff00) >> 8) | \
|
||||
(((x) & 0x00ff) << 8))
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user