packages: uClibc/uClibc-stdio-unhide.patch, uClibc/uClibc-toolchain-wrapper...

qboosh qboosh at pld-linux.org
Mon Aug 23 19:50:04 CEST 2010


Author: qboosh                       Date: Mon Aug 23 17:50:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.9.31
- updated stdio-unhide,toolchain-wrapper patches
- added make patch (MULTILIB_DIR fix)
- updated config: now THREADS must be enabled explicitly;
  use old linuxthreads as new fail to build on i386

---- Files affected:
packages/uClibc:
   uClibc-stdio-unhide.patch (1.2 -> 1.3) , uClibc-toolchain-wrapper.patch (1.13 -> 1.14) , uClibc.spec (1.193 -> 1.194) , uClibc-make.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/uClibc/uClibc-stdio-unhide.patch
diff -u packages/uClibc/uClibc-stdio-unhide.patch:1.2 packages/uClibc/uClibc-stdio-unhide.patch:1.3
--- packages/uClibc/uClibc-stdio-unhide.patch:1.2	Mon Jun  4 00:43:56 2007
+++ packages/uClibc/uClibc-stdio-unhide.patch	Mon Aug 23 19:49:58 2010
@@ -1,14 +1,14 @@
---- uClibc-0.9.29/libc/misc/internals/__uClibc_main.c.orig	2007-06-03 22:49:56.106515000 +0200
-+++ uClibc-0.9.29/libc/misc/internals/__uClibc_main.c	2007-06-03 23:04:27.296161963 +0200
-@@ -78,7 +78,7 @@
- /*
-  * Prototypes.
-  */
+--- uClibc-0.9.31/libc/misc/internals/__uClibc_main.c.orig	2010-04-02 17:34:27.000000000 +0200
++++ uClibc-0.9.31/libc/misc/internals/__uClibc_main.c	2010-08-19 22:44:43.818819943 +0200
+@@ -68,7 +68,7 @@
+ extern int *weak_const_function __h_errno_location(void);
+ libc_hidden_proto(__h_errno_location)
+ 
 -extern void weak_function _stdio_init(void) attribute_hidden;
 +extern void weak_function _stdio_init(void);
- extern int *weak_const_function __errno_location(void);
- extern int *weak_const_function __h_errno_location(void);
  #ifdef __UCLIBC_HAS_LOCALE__
+ extern void weak_function _locale_init(void) attribute_hidden;
+ #endif
 --- uClibc-0.9.29/libc/stdlib/_atexit.c.orig	2007-05-04 16:13:17.000000000 +0200
 +++ uClibc-0.9.29/libc/stdlib/_atexit.c	2007-06-04 00:40:04.671116329 +0200
 @@ -305,7 +305,7 @@

================================================================
Index: packages/uClibc/uClibc-toolchain-wrapper.patch
diff -u packages/uClibc/uClibc-toolchain-wrapper.patch:1.13 packages/uClibc/uClibc-toolchain-wrapper.patch:1.14
--- packages/uClibc/uClibc-toolchain-wrapper.patch:1.13	Thu Mar 25 08:23:44 2010
+++ packages/uClibc/uClibc-toolchain-wrapper.patch	Mon Aug 23 19:49:58 2010
@@ -771,9 +771,9 @@
 +	rm -f gcc-uClibc.h *-uclibc-gcc *-uclibc-ld core
 +
 +
---- uClibc-0.9.30.3/Makefile.in.orig	2010-03-12 20:32:42.000000000 +0100
-+++ uClibc-0.9.30.3/Makefile.in	2010-03-25 08:10:37.622710245 +0100
-@@ -19,7 +19,7 @@
+--- uClibc-0.9.31/Makefile.in.orig	2010-04-02 17:34:27.000000000 +0200
++++ uClibc-0.9.31/Makefile.in	2010-08-19 22:42:13.974823295 +0200
+@@ -24,7 +24,7 @@
  
  ifeq ($(HAVE_DOT_CONFIG),y)
  
@@ -782,16 +782,16 @@
  libs: pregen
  
  # In this section, we need .config
-@@ -187,7 +187,7 @@
+@@ -188,7 +188,7 @@
  	HOSTCC="$(HOSTCC)" \
- 	install_dev
+ 	install
  
 -install: install_runtime install_dev
 +install: install_runtime install_dev install_toolchain
  
  
- RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
-@@ -445,6 +445,12 @@
+ RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)$(MULTILIB_DIR) $(RUNTIME_PREFIX)$(MULTILIB_DIR))
+@@ -383,6 +383,12 @@
  
  endif # ifeq ($(HAVE_DOT_CONFIG),y)
  
@@ -801,6 +801,6 @@
 +install_toolchain: toolchain
 +	$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C extra/gcc-uClibc install
 +
- hostutils: headers
+ hostutils:
  	$(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" HOSTCC="$(HOSTCC)" DOTHOST=.host -C utils $@
  

================================================================
Index: packages/uClibc/uClibc.spec
diff -u packages/uClibc/uClibc.spec:1.193 packages/uClibc/uClibc.spec:1.194
--- packages/uClibc/uClibc.spec:1.193	Tue Aug  3 18:04:31 2010
+++ packages/uClibc/uClibc.spec	Mon Aug 23 19:49:58 2010
@@ -11,13 +11,13 @@
 Summary:	C library optimized for size
 Summary(pl.UTF-8):	Biblioteka C zoptymalizowana na rozmiar
 Name:		uClibc
-Version:	0.9.30.3
-Release:	3
+Version:	0.9.31
+Release:	1
 Epoch:		3
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://uclibc.org/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5:	73a4bf4a0fa508b01a7a3143574e3d21
+# Source0-md5:	52fb8a494758630c8d3ddd7f1e0daafd
 Patch0:		%{name}-newsoname.patch
 Patch1:		%{name}-toolchain-wrapper.patch
 Patch2:		%{name}-targetcpu.patch
@@ -25,11 +25,13 @@
 Patch4:		%{name}-stdio-unhide.patch
 Patch5:		%{name}-inotify_init1.patch
 Patch6:		%{name}-sockflags.patch
+Patch7:		%{name}-make.patch
 URL:		http://uclibc.org/
 BuildRequires:	binutils-gasp
 BuildRequires:	cpp
 BuildRequires:	gcc >= 5:3.0
 BuildRequires:	linux-libc-headers >= 7:2.6.24
+BuildRequires:	make >= 3.80
 BuildRequires:	ncurses-devel
 BuildRequires:	rpmbuild(macros) >= 1.453
 BuildRequires:	sed >= 4.0
@@ -86,6 +88,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 # ARCH is already determined by uname -m
 %ifarch %{ix86}
@@ -129,6 +132,8 @@
 %endif
 
 cat <<'EOF' >> $defconfig
+# HAS_NO_THREADS is not set
+LINUXTHREADS_OLD=y
 UCLIBC_HAS_IPV6=y
 DO_C99_MATH=y
 UCLIBC_HAS_RPC=y
@@ -151,7 +156,6 @@
 EOF
 
 %build
-
 # NOTE: 'defconfig' and 'all' must be run in separate make process because of macros
 %{__make} -j1 defconfig \
 	%{?with_verbose:VERBOSE=1} \
@@ -323,6 +327,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.194  2010/08/23 17:49:58  qboosh
+- updated to 0.9.31
+- updated stdio-unhide,toolchain-wrapper patches
+- added make patch (MULTILIB_DIR fix)
+- updated config: now THREADS must be enabled explicitly;
+  use old linuxthreads as new fail to build on i386
+
 Revision 1.193  2010/08/03 16:04:31  arekm
 - release 3
 

================================================================
Index: packages/uClibc/uClibc-make.patch
diff -u /dev/null packages/uClibc/uClibc-make.patch:1.1
--- /dev/null	Mon Aug 23 19:50:04 2010
+++ packages/uClibc/uClibc-make.patch	Mon Aug 23 19:49:58 2010
@@ -0,0 +1,11 @@
+--- uClibc-0.9.31/Makefile.in.orig	2010-08-19 22:48:44.950821619 +0200
++++ uClibc-0.9.31/Makefile.in	2010-08-20 08:57:52.934824134 +0200
+@@ -287,7 +287,7 @@
+ 	### ucontext.h
+ 
+ ifneq ($(findstring install,$(MAKECMDGOALS)),)
+-$(PREFIX)$(RUNTIME_PREFIX)$(MULTILIB_DIR) $(addprefix $(PREFIX)$(DEVEL_PREFIX),include lib):
++$(PREFIX)$(RUNTIME_PREFIX)$(MULTILIB_DIR) $(addprefix $(PREFIX)$(DEVEL_PREFIX),include $(MULTILIB_DIR)):
+ 	$(do_mkdir)
+ endif
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/uClibc/uClibc-stdio-unhide.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/uClibc/uClibc-toolchain-wrapper.patch?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/uClibc/uClibc.spec?r1=1.193&r2=1.194&f=u



More information about the pld-cvs-commit mailing list