[med-svn] r21208 - trunk/packages/muscle/trunk/debian/patches
Dylan Aïssi
bob.dybian-guest at moszumanska.debian.org
Sat Jan 16 17:24:03 UTC 2016
Author: bob.dybian-guest
Date: 2016-01-16 17:24:02 +0000 (Sat, 16 Jan 2016)
New Revision: 21208
Added:
trunk/packages/muscle/trunk/debian/patches/01_Fix_FTBFS_Hurd.patch
trunk/packages/muscle/trunk/debian/patches/series
Log:
Add patch to fix FTBFS on Hurd
Added: trunk/packages/muscle/trunk/debian/patches/01_Fix_FTBFS_Hurd.patch
===================================================================
--- trunk/packages/muscle/trunk/debian/patches/01_Fix_FTBFS_Hurd.patch (rev 0)
+++ trunk/packages/muscle/trunk/debian/patches/01_Fix_FTBFS_Hurd.patch 2016-01-16 17:24:02 UTC (rev 21208)
@@ -0,0 +1,32 @@
+Author: Dylan Aïssi <bob.dybian at gmail.com>
+Description: Fix a FTBFS on Hurd since it use MACH kernel like OSX
+ Fix "globalsosx.cpp:8:24: fatal error: sys/sysctl.h: No such file or directory"
+ See https://buildd.debian.org/status/package.php?p=muscle
+Last-Update: 2016-01-16
+Forwarded: TODO
+
+--- a/muscle-3.8.31.orig/globalsosx.cpp
++++ b/muscle-3.8.31/globalsosx.cpp
+@@ -1,4 +1,4 @@
+-#ifdef __MACH__
++#ifdef __OSX__
+
+ #include <memory.h>
+ #include <stdlib.h>
+@@ -89,4 +89,4 @@
+ {
+ }
+
+-#endif // __MACH__
++#endif // __OSX__
+
+--- a/muscle-3.8.31.orig/globalsother.cpp
++++ b/muscle-3.8.31/globalsother.cpp
+@@ -1,6 +1,6 @@
+ #include "muscle.h"
+
+-#if !defined(__linux__) && !defined(_MSC_VER) && !defined(__MACH__)
++#if !defined(__linux__) && !defined(_MSC_VER) && !defined(__OSX__)
+
+ double GetNAN()
+ {
Added: trunk/packages/muscle/trunk/debian/patches/series
===================================================================
--- trunk/packages/muscle/trunk/debian/patches/series (rev 0)
+++ trunk/packages/muscle/trunk/debian/patches/series 2016-01-16 17:24:02 UTC (rev 21208)
@@ -0,0 +1 @@
+01_Fix_FTBFS_Hurd.patch
More information about the debian-med-commit
mailing list