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

Bug#764374: libgroove: FTBFS on hurd-i386



Source: libgroove
Version: 4.2.0-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

libgroove fails to build on GNU/Hurd  due to a name clash with OSX, both
are defining the __MACH__ keyword. This package has built previously,
and the latest building version is 4.1.1+dfsg-1+b1. The attached patch
fixes the build problems for version 4.2.0.

Thanks!
--- a/grooveplayer/osx_time_shim.h	2014-09-25 17:26:09.000000000 +0200
+++ b/grooveplayer/osx_time_shim.h	2014-10-07 18:27:30.000000000 +0200
@@ -8,7 +8,7 @@
 
 #ifndef GROOVE_MACH_TIME_H_INCLUDED
 #define GROOVE_MACH_TIME_H_INCLUDED
-#ifdef __MACH__
+#if defined(__MACH__) && !defined(__GNU__)
 
 #include <sys/types.h>
 #include <sys/_types/_timespec.h>

Reply to: