Package: rezound
Version: 0.12.2beta-8
Severity: important
Tags: patch
Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error:
> g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc
> -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall
> -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include
> -I/usr/include -I/usr/include -c CNestedDataFile.cpp -o CNestedDataFile.o
> CNestedDataFile.cpp:21:2: warning: #warning parseFile doesnt need to set the
> filename, only the constructor and setFilename should do that
> CNestedDataFile.cpp:22:2: warning: #warning see about retaining the order
> that things were parsed in the file
> In file included from ../../../config/common.h:72,
> from CNestedDataFile_no_inline.h:24,
> from CNestedDataFile.h:24,
> from CNestedDataFile.cpp:36:
> ../../../config/platform/platform.h:10:3: warning: #warning no platform
> determined!
> In file included from CNestedDataFile.cpp:45:
> ../../../src/misc/CPath.h:302:5: error: #error CPath::which needs to be
> implemented on this platform
> make[4]: *** [CNestedDataFile.lo] Error 1
Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=rezound>.
Please find attached a patch to fix this, using the __GLIBC__ macro
defined on GNU/k*BSD. You might prefer using __FreeBSD_kernel__,
although it is less portable.
Cheers,
--
Cyril Brulebois
--- rezound-0.12.2beta/build-tree/rezound-0.12.2beta/config/platform/linux.h
2007-03-16 16:38:56.974325000 +0100
+++ rezound-0.12.2beta/build-tree/rezound-0.12.2beta/config/platform/linux.h
2007-03-16 16:39:04.000000000 +0100
@@ -1,7 +1,7 @@
#ifndef __rez_platform_linux_H__
#define __rez_platform_linux_H__
-#if defined(__linux)
+#if defined(__linux) || defined(__GLIBC__)
#define rez_OS_LINUX
#endif