eina: fix building on uClibc
authorHenning Heinold <heinold@inf.fu-berlin.de>
Thu, 26 Nov 2009 15:03:30 +0000 (16:03 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 30 Nov 2009 01:00:14 +0000 (02:00 +0100)
* eina compiles only with linuxthread enabled in uClibc
* phtread extensions are only defined with _GNU_SOURCE in uClibc
  so add the autotools macro for it to configure.ac
* bump PR

recipes/efl1/eina/gnu_source.patch [new file with mode: 0644]
recipes/efl1/eina_svn.bb

diff --git a/recipes/efl1/eina/gnu_source.patch b/recipes/efl1/eina/gnu_source.patch
new file mode 100644 (file)
index 0000000..8af08eb
--- /dev/null
@@ -0,0 +1,12 @@
+Index: eina/configure.ac
+===================================================================
+--- eina.orig/configure.ac     2009-11-26 15:58:28.784112802 +0100
++++ eina/configure.ac  2009-11-26 15:59:34.524939842 +0100
+@@ -273,6 +273,7 @@
+ AC_C_INLINE
+ AC_C___ATTRIBUTE__
+ AC_PROG_CC_STDC
++AC_GNU_SOURCE
+ EINA_CPPFLAGS=""
+ case "$host_os" in
index 4871cd3..a871721 100644 (file)
@@ -1,10 +1,12 @@
 DESCRIPTION = "Eina is the Enlightenment data library"
 LICENSE = "LGPL"
 PV = "0.0.2.060+svnr${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 inherit efl
 
+SRC_URI += "file://gnu_source.patch;patch=1"
+
 # Some upgrade path tweaking
 AUTO_LIBNAME_PKGS = ""