[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#765617: zam-plugins: building on non-Linux ports



Package: zam-plugins
Version: 3.5~repack0-4
Severity: wishlist
X-Debbugs-Cc: debian-bsd@lists.debian.org, 765613@bugs.debian.org
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hello,

The problem building zam-plugins on kfreebsd (and perhaps hurd) seems to
be very easily fixed, with the attached patch.

https://buildd.debian.org/status/fetch.php?pkg=zam-plugins&arch=kfreebsd-i386&ver=3.3~repack0-1&stamp=1405339514
> make[3]: Entering directory '/«PKGBUILDDIR»/libs/dgl'
[...]
> src/Window.cpp:37:3: error: #error Unsupported platform
>  # error Unsupported platform
>    ^

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
From: Steven Chamberlain <steven@pyro.eu.org>
Subject: support non-Linux ports having GNU libc
Date: Thu, 16 Oct 2014 17:36:29 +0100
Forwarded: no

--- a/libs/distrho/src/DistrhoDefines.h
+++ b/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


Reply to: