]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc_2.3.5+cvs20050627: Fix oabi build failure due to header issues
authorRichard Purdie <richard@openedhand.com>
Tue, 27 Nov 2007 16:17:28 +0000 (16:17 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 27 Nov 2007 16:17:28 +0000 (16:17 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3257 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/glibc/glibc-cvs-2.3.5/headers_fix.patch [new file with mode: 0644]
meta/packages/glibc/glibc_2.3.5+cvs20050627.bb

diff --git a/meta/packages/glibc/glibc-cvs-2.3.5/headers_fix.patch b/meta/packages/glibc/glibc-cvs-2.3.5/headers_fix.patch
new file mode 100644 (file)
index 0000000..88b5e60
--- /dev/null
@@ -0,0 +1,16 @@
+Without this, do_compile fails, unable to find linux/errno.h
+
+RP - 27/11/2007
+
+Index: libc/nscd/Makefile
+===================================================================
+--- libc.orig/nscd/Makefile    2005-06-14 22:51:24.000000000 +0000
++++ libc/nscd/Makefile 2007-11-27 16:31:02.000000000 +0000
+@@ -68,7 +68,6 @@
+ # contains only the basic kernel interface headers, not something like
+ # libselinux.  So the simplest thing is to presume that the standard
+ # system headers will be ok for this file.
+-$(objpfx)nscd_stat.o: sysincludes = # nothing
+ $(objpfx)selinux.o: sysincludes = # nothing
+ distribute := nscd.h nscd-client.h dbg_log.h \
index 294c6892bb98d30d5d8c85d0d9554aa3a84fb3c4..3111ed35837192b959104c3c11d908e7051e6a34 100644 (file)
@@ -2,7 +2,7 @@ require glibc.inc
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5"
 SRCDATE = "20050627"
-PR = "r5"
+PR = "r6"
 
 GLIBC_ADDONS ?= "ports,linuxthreads"
 
@@ -39,6 +39,7 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat
           file://arm-longlong.patch;patch=1;pnum=0 \
           file://fhs-linux-paths.patch;patch=1 \
           file://dl-cache-libcmp.patch;patch=1 \
+           file://headers_fix.patch;patch=1 \
           file://5090_all_stubs-rule-fix.patch;patch=1 \
            file://etc/ld.so.conf \
           file://generate-supported.mk"