[SCM] zam-plugins/master: Fix build on non linux.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Oct 16 18:36:07 UTC 2014


The following commit has been merged in the master branch:
commit b8c6025dd06c195d76feb20ba7e93d018dc779c6
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Oct 16 20:35:32 2014 +0200

    Fix build on non linux.

diff --git a/debian/control b/debian/control
index 96515f2..c79b266 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/zam-plugins.git
 Homepage: http://www.zamaudio.com/?p=976
 
 Package: zam-plugins
-Architecture: linux-any
+Architecture: any
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/debian/patches/02-build_on_nonlinux.patch b/debian/patches/02-build_on_nonlinux.patch
new file mode 100644
index 0000000..3d30e3e
--- /dev/null
+++ b/debian/patches/02-build_on_nonlinux.patch
@@ -0,0 +1,18 @@
+From: Steven Chamberlain <steven at pyro.eu.org>
+Subject: support non-Linux ports having GNU libc
+Date: Thu, 16 Oct 2014 17:36:29 +0100
+Forwarded: yes
+
+Index: zam-plugins/libs/distrho/src/DistrhoDefines.h
+===================================================================
+--- zam-plugins.orig/libs/distrho/src/DistrhoDefines.h
++++ zam-plugins/libs/distrho/src/DistrhoDefines.h
+@@ -37,7 +37,7 @@
+ #  define DISTRHO_DLL_EXTENSION "dylib"
+ # elif defined(__HAIKU__)
+ #  define DISTRHO_OS_HAIKU      1
+-# elif defined(__linux__)
++# elif defined(__linux__) || defined (__GLIBC__)
+ #  define DISTRHO_OS_LINUX      1
+ # endif
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index e3bc5b3..04055f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-fix_install.patch
+02-build_on_nonlinux.patch

-- 
zam-plugins packaging



More information about the pkg-multimedia-commits mailing list