summaryrefslogtreecommitdiff
path: root/recipes/efl1/ecore/exit_uclibc.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2009-11-14 12:31:56 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2009-11-19 02:19:29 +0100
commit9bd7891192de86235cfec534350b0c3574808cd4 (patch)
tree637f264b16ade13071c1cc4c42eb608e0b5a69c9 /recipes/efl1/ecore/exit_uclibc.patch
parent2ffe3fac1613ba96dda04e84691b74850ed2af08 (diff)
ecore: fix building for uClibc
* dep on gettext-native, becaus it provides iconv.m4 with AM_ICONV * we don't have any estoric libc, so relay on AM_ICONV macro * bump PR * this time tested for glibc builds too
Diffstat (limited to 'recipes/efl1/ecore/exit_uclibc.patch')
-rw-r--r--recipes/efl1/ecore/exit_uclibc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/efl1/ecore/exit_uclibc.patch b/recipes/efl1/ecore/exit_uclibc.patch
new file mode 100644
index 0000000000..dea010c116
--- /dev/null
+++ b/recipes/efl1/ecore/exit_uclibc.patch
@@ -0,0 +1,26 @@
+Index: ecore/src/lib/ecore_con/ecore_con_dns.c
+===================================================================
+--- ecore.orig/src/lib/ecore_con/ecore_con_dns.c 2009-11-14 00:12:04.279051754 +0100
++++ ecore/src/lib/ecore_con/ecore_con_dns.c 2009-11-14 00:14:41.685708230 +0100
+@@ -135,7 +135,7 @@
+ write(fd[1], "", 1);
+ }
+ close(fd[1]);
+-# ifdef __USE_ISOC99
++# if defined(__USE_ISOC99) && !defined(__UCLIBC__)
+ _Exit(0);
+ # else
+ _exit(0);
+Index: ecore/src/lib/ecore_con/ecore_con_info.c
+===================================================================
+--- ecore.orig/src/lib/ecore_con/ecore_con_info.c 2009-11-14 00:14:56.056955719 +0100
++++ ecore/src/lib/ecore_con/ecore_con_info.c 2009-11-14 00:16:40.035696191 +0100
+@@ -243,7 +243,7 @@
+ freeaddrinfo(result);
+ err = write(fd[1], "", 1);
+ close(fd[1]);
+-# ifdef __USE_ISOC99
++# if defined(__USE_ISOC99) && !defined(__UCLIBC__)
+ _Exit(0);
+ # else
+ _exit(0);