patches/uClibc/0.9.29/150-bits_sysnum_h2.patch
author "Bryan Hundven" <bryanhundven@gmail.com>
Thu Mar 01 15:23:49 2012 -0800 (2012-03-01)
changeset 2909 28ac8fbd9e6a
parent 418 37e5c1781460
permissions -rw-r--r--
libg/eglibc: add updated eglibc 2.15

Includes a patch to remove __builtin_expect test:

In eglibc-2.15, the build breaks in configure while testing
for the existance of __builtin_expect. It fails with newer
versions of gcc.

This patch is a modification of an upstream change in glibc
mainline (to be 2.16) to fix the following error:

[CFG ] checking for __builtin_expect... no
[ERROR] configure: error: support for __builtin_expect needed

http://sourceware.org/git/?p=glibc.git;a=commit;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: coalesce both patches into a single changeset]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 YEM-20070519:
     2 Patch from Bernhard Fischer <rep.dot.nop@gmail.com> on the uClibc mailing
     3 list ( http://www.uclibc.org/lists/uclibc/2008-January/018940.html ) above
     4 the 400-bits_sysnum_h.patch.
     5 
     6 Index: uClibc/Makefile.in
     7 ===================================================================
     8 --- uClibc/Makefile.in	(revision 18651)
     9 +++ uClibc/Makefile.in	(working copy)
    10 @@ -114,7 +116,7 @@ install: install_runtime install_dev
    11  RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
    12  
    13  # Installs header files.
    14 -install_headers:
    15 +install_headers: headers
    16  	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
    17  	printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \
    18  	$(TAR) -chf - -X tar_exclude include \