[SCM] pd-iem_ambi/master: Fixed inclusion of endian.h (Closes: #620540)

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Fri Apr 15 16:23:20 UTC 2011


The following commit has been merged in the master branch:
commit 6796ff473feac816cc1c3c6ae2e476a34136d982
Author: IOhannes m zmölnig <zmoelnig at umlaeute.mur.at>
Date:   Fri Apr 15 17:48:39 2011 +0200

    Fixed inclusion of endian.h (Closes: #620540)

diff --git a/debian/patches/include_endian_h.patch b/debian/patches/include_endian_h.patch
new file mode 100644
index 0000000..cfdc29e
--- /dev/null
+++ b/debian/patches/include_endian_h.patch
@@ -0,0 +1,18 @@
+Author: IOhannes m zmölnig
+Description: fix inclusion of endian.h on non-linux architectures
+--- pd-iem_ambi.orig/src/iemlib.h
++++ pd-iem_ambi/src/iemlib.h
+@@ -53,11 +53,11 @@
+ #define int32 long
+ #endif /* MSW */
+ 
+-#if defined(__FreeBSD__) || defined(__APPLE__)
++#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
+ #include <machine/endian.h>
+ #endif
+ 
+-#ifdef __linux__
++#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(ANDROID)
+ #include <endian.h>
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 7c2a1ee..9893855 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-makefile.patch
 helppatches.patch
+include_endian_h.patch

-- 
pd-iem_ambi packaging



More information about the pkg-multimedia-commits mailing list