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

Albin Tonnerre albin.tonnerre at gmail.com
Sun Dec 13 13:08:05 UTC 2009


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

    Add debian/patches/01_fix_compile_kbsd.diff
    
    Fix FTBFS on kfreebsd, thanks to Cyril Brulebois (Closes: #560742)

diff --git a/debian/patches/01_fix_compile_kbsd.diff b/debian/patches/01_fix_compile_kbsd.diff
new file mode 100644
index 0000000..b5d72e7
--- /dev/null
+++ b/debian/patches/01_fix_compile_kbsd.diff
@@ -0,0 +1,20 @@
+--- a/src/lib/eina_cpu.c
++++ b/src/lib/eina_cpu.c
+@@ -30,7 +30,7 @@
+ #  include <unistd.h>
+ #  include <sys/param.h>
+ #  include <sys/sysctl.h>
+-# elif defined (__linux__)
++# elif defined (__linux__) || defined(__GLIBC__)
+ #  define _GNU_SOURCE
+ #  include <sched.h>
+ # endif
+@@ -164,7 +164,7 @@ EAPI int eina_cpu_count(void)
+ 
+    return cpus;
+ 
+-# elif defined (__linux__)
++# elif defined (__linux__) || defined(__GLIBC__)
+    cpu_set_t cpu;
+    int i;
+    static int cpus = 0;

-- 
 Enlightenment Foundation Library providing optimized data types



More information about the Pkg-e-commits mailing list