Accepting request 57646 from Base:System

Accepted submit request 57646 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/57646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=32
This commit is contained in:
Marcus Rückert 2011-01-10 12:22:49 +00:00 committed by Git OBS Bridge
parent 7f8ac17ef8
commit 05b946fcc4
4 changed files with 36 additions and 3 deletions

View File

@ -0,0 +1,20 @@
--- ./string/bits/string3.h.orig 2010-12-09 13:29:45.000000000 +0100
+++ ./string/bits/string3.h 2010-12-09 13:30:15.000000000 +0100
@@ -53,7 +53,7 @@
}
__extern_always_inline void *
-__NTH (memmove (void *__restrict __dest, __const void *__restrict __src,
+__NTH (memmove (void * __dest, __const void * __src,
size_t __len))
{
return __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest));
@@ -88,7 +88,7 @@
#ifdef __USE_BSD
__extern_always_inline void
-__NTH (bcopy (__const void *__restrict __src, void *__restrict __dest,
+__NTH (bcopy (__const void * __src, void * __dest,
size_t __len))
{
(void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest));

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 9 12:33:35 UTC 2010 - rguenther@novell.com
- Drop restrict qualifiers from memmove and bcopy fortify wrappers.
[bnc#658509]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 30 01:53:42 CET 2010 - pbaudis@suse.cz Tue Nov 30 01:53:42 CET 2010 - pbaudis@suse.cz

View File

@ -64,7 +64,7 @@ Obsoletes: glibc-32bit
Provides: rtld(GNU_HASH) Provides: rtld(GNU_HASH)
AutoReqProv: on AutoReqProv: on
Version: 2.11.3 Version: 2.11.3
Release: 1 Release: 3
Url: http://www.gnu.org/software/libc/libc.html Url: http://www.gnu.org/software/libc/libc.html
PreReq: filesystem PreReq: filesystem
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -141,6 +141,7 @@ Patch502: ARM_glibc-2.10.1-local-lowlevellock.diff
Patch503: ARM_glibc-2.10.1-local-no-hwcap.diff Patch503: ARM_glibc-2.10.1-local-no-hwcap.diff
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=11155 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=11155
Patch600: glibc-sparc64-fxstat.diff Patch600: glibc-sparc64-fxstat.diff
Patch601: glibc-2.11.3-bnc658509.diff
%description %description
The GNU C Library provides the most important standard libraries used The GNU C Library provides the most important standard libraries used
@ -362,6 +363,7 @@ rm nscd/s-stamp
%patch503 %patch503
%endif %endif
%patch600 -p1 %patch600 -p1
%patch601
# #
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed! # Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
# #
@ -382,12 +384,12 @@ rm nscd/s-stamp
rm -fv sysdeps/powerpc/powerpc32/power4/hp-timing.c sysdeps/powerpc/powerpc32/power4/hp-timing.h rm -fv sysdeps/powerpc/powerpc32/power4/hp-timing.c sysdeps/powerpc/powerpc32/power4/hp-timing.h
find . -name configure | xargs touch find . -name configure | xargs touch
####################################################################### #######################################################################
### ###
### BUILD ### BUILD
### ###
####################################################################### #######################################################################
%build %build
if [ -x /bin/uname.bin ]; then if [ -x /bin/uname.bin ]; then
/bin/uname.bin -a /bin/uname.bin -a
@ -552,6 +554,7 @@ $BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgra
%endif %endif
'-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"' '-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"'
####################################################################### #######################################################################
### ###
### CHECK ### CHECK
@ -574,6 +577,7 @@ $BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgra
%endif %endif
make -C cc-base check-abi || echo check-abi failed make -C cc-base check-abi || echo check-abi failed
####################################################################### #######################################################################
### ###
### INSTALL ### INSTALL
@ -666,6 +670,7 @@ cp -av bits/stdio-lock.h $RPM_BUILD_ROOT%{_prefix}/include/bits/stdio-lock.h
ln -sf ../%{_lib}/ld-%{version}.so $RPM_BUILD_ROOT/lib/ld64.so.1 ln -sf ../%{_lib}/ld-%{version}.so $RPM_BUILD_ROOT/lib/ld64.so.1
%endif %endif
# Miscelanna: # Miscelanna:
install -m 0700 glibc_post_upgrade $RPM_BUILD_ROOT%{_sbindir} install -m 0700 glibc_post_upgrade $RPM_BUILD_ROOT%{_sbindir}
@ -686,6 +691,7 @@ cp -p manual/libc/*.html $RPM_BUILD_ROOT/usr/share/doc/glibc
cd manpages; make install_root=$RPM_BUILD_ROOT install; cd .. cd manpages; make install_root=$RPM_BUILD_ROOT install; cd ..
# nscd tools: # nscd tools:
cp nscd/nscd.conf $RPM_BUILD_ROOT/etc cp nscd/nscd.conf $RPM_BUILD_ROOT/etc
@ -759,6 +765,7 @@ for o in $RPM_BUILD_ROOT/%{_libdir}/crt[1in].o $RPM_BUILD_ROOT/%{_libdir}/lib*_n
objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
done done
####################################################################### #######################################################################
### ###
### ... ### ...
@ -796,6 +803,7 @@ done
%insserv_cleanup %insserv_cleanup
exit 0 exit 0
####################################################################### #######################################################################
### ###
### FILES ### FILES
@ -803,7 +811,6 @@ exit 0
####################################################################### #######################################################################
# glibc # glibc
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSES %doc LICENSES

0
ready Normal file
View File