[oe-commits] Henning Heinold : eina: fix building on uClibc

git version control git at git.openembedded.org
Mon Nov 30 10:40:20 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 9be9ac109f9e5113dd16f3a8ccd0c3f8d5051f08
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9be9ac109f9e5113dd16f3a8ccd0c3f8d5051f08

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Thu Nov 26 16:03:30 2009 +0100

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

---

 recipes/efl1/eina/gnu_source.patch |   12 ++++++++++++
 recipes/efl1/eina_svn.bb           |    4 +++-
 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 0000000..8af08eb
--- /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 4871cd3..a871721 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 = ""
 





More information about the Openembedded-commits mailing list