[Pkg-e-commits] [SCM] Enlightenment Foundation Library providing optimized data types branch, master, updated. debian/0.0.1_svn20081120-1-416-g36eb7ac

Albin Tonnerre albin.tonnerre at gmail.com
Wed Dec 23 16:34:27 UTC 2009


The following commit has been merged in the master branch:
commit 36eb7aca6080767890692d4ed6ca8b0278480389
Author: Albin Tonnerre <albin.tonnerre at gmail.com>
Date:   Tue Dec 15 18:13:06 2009 +0100

    Add debian/patches/03_fix_compile_hurd: fix FTBFS on Hurd

diff --git a/debian/changelog b/debian/changelog
index 80fdc13..670136a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eina (0.9.9.063-3) unstable; urgency=low
+
+  * Add debian/patches/03_fix_compile_hurd: fix FTBFS on Hurd
+
+ -- Albin Tonnerre <lutin at debian.org>  Tue, 15 Dec 2009 18:13:52 +0100
+
 eina (0.9.9.063-2) unstable; urgency=low
 
   * Add debian/patches/01_fix_compile_kbsd.diff:
diff --git a/debian/patches/03_fix_compile_hurd.diff b/debian/patches/03_fix_compile_hurd.diff
new file mode 100644
index 0000000..9ca819a
--- /dev/null
+++ b/debian/patches/03_fix_compile_hurd.diff
@@ -0,0 +1,22 @@
+diff --git a/src/lib/eina_cpu.c b/src/lib/eina_cpu.c
+index 6ae5fa8..3838056 100644
+--- a/src/lib/eina_cpu.c
++++ b/src/lib/eina_cpu.c
+@@ -24,7 +24,7 @@
+ # ifdef _WIN32
+ #  define WIN32_LEAN_AND_MEAN
+ #  include <windows.h>
+-# elif defined (__SUNPRO_C)
++# elif defined (__SUNPRO_C) || defined(__GNU__)
+ #  include <unistd.h>
+ # elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) || defined (__DragonFly__) || defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__))
+ #  include <unistd.h>
+@@ -133,7 +133,7 @@ EAPI int eina_cpu_count(void)
+    GetSystemInfo(&sysinfo);
+    return sysinfo.dwNumberOfProcessors;
+ 
+-# elif defined (__SUNPRO_C)
++# elif defined (__SUNPRO_C) || defined(__GNU__)
+    /*
+     * _SC_NPROCESSORS_ONLN: number of processors that are online, that
+                             is available when sysconf is called. The number

-- 
 Enlightenment Foundation Library providing optimized data types



More information about the Pkg-e-commits mailing list