summaryrefslogtreecommitdiff
path: root/recipes/efl1
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2009-11-26 16:03:30 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2009-11-30 02:00:14 +0100
commit9be9ac109f9e5113dd16f3a8ccd0c3f8d5051f08 (patch)
treed9db8b42b62dd0dbc4ccac4274a68a314717fb2a /recipes/efl1
parent5eb06ff3dbc7ed805aa4d6bcaafa9ad88645cfff (diff)
eina: fix building on uClibc
* 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
Diffstat (limited to 'recipes/efl1')
-rw-r--r--recipes/efl1/eina/gnu_source.patch12
-rw-r--r--recipes/efl1/eina_svn.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes/efl1/eina/gnu_source.patch b/recipes/efl1/eina/gnu_source.patch
new file mode 100644
index 0000000000..8af08ebb82
--- /dev/null
+++ b/recipes/efl1/eina/gnu_source.patch
@@ -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
diff --git a/recipes/efl1/eina_svn.bb b/recipes/efl1/eina_svn.bb
index 4871cd3ce9..a871721e7c 100644
--- a/recipes/efl1/eina_svn.bb
+++ b/recipes/efl1/eina_svn.bb
@@ -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 = ""