SHA256
1
0
forked from pool/glibc

Accepting request 99613 from Base:System

Fix for bnc#740109 (forwarded request 99612 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/99613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=101
This commit is contained in:
Stephan Kulow
2012-01-11 14:36:28 +00:00
committed by Git OBS Bridge
parent e80af12f3a
commit 5d86c7cf54
7 changed files with 302 additions and 7 deletions

View File

@@ -129,7 +129,7 @@ Patch16: glibc-2.4.90-no_NO.diff
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch20: glibc-2.4-china.diff
# PATCH-FIX-OPENSUSE Fix gb18030 code bnc#54080
Patch21: glibc-2.3.4-gb18030-big5hkscs.diff.bz2
Patch21: gb18030.patch.bz2
# PATCH-FIX-OPENSUSE Handle timestamp, adjust nscd.conf
Patch22: glibc-2.4.90-nscd.diff
# PATCH-FIX-OPENSUSE Fix path for nscd databases
@@ -188,8 +188,14 @@ Patch82: crypt_blowfish-1.2-hack_around_arm.diff
Patch84: nscd-avoid-gcc-warning.diff
# PATCH-FIX-OPENSUSE fixed build-compare by omitting one more date - meissner@suse.de
Patch87: glibc-nodate.patch
# PATCH-FIX-OPENSUSE revert pthread-cond-wait change since it causes hangs
# PATCH-FIX-OPENSUSE revert pthread-cond-wait change since it causes hangs - aj@suse.de
Patch88: pthread-cond-wait-revert.patch
# PATCH-FIX-UPSTREAM Fix realloc usage in vfscanf - aj@suse.de
Patch89: glibc-2.16-scanf.patch
# PATCH-FIX-UPSTREAM Fix getcontext on 32-bit powerpc - aj@suse.de
Patch90: glibc-ppc-getcontext.patch
# PATCH-FIX-OPENSUSE Revert some math ifuncs (bnc#740109) - aj@suse.de
Patch91: glibc-2.15-math64crash.patch
%description
The GNU C Library provides the most important standard libraries used
@@ -256,6 +262,7 @@ License: LGPL-2.1+
Group: System/Daemons
Provides: aaa_base:/etc/init.d/nscd
Provides: glibc:/usr/sbin/nscd
Requires: glibc = %{version}
Requires(preun): %insserv_prereq
Requires(post): %insserv_prereq
Requires(postun): %insserv_prereq
@@ -372,8 +379,7 @@ mv crypt_blowfish-%crypt_bf_version/*.[chS] crypt/
%patch14
%patch16
%patch20
# XXX Did not patch for 2.14:
#%patch21
%patch21 -p1
# avoid changing nscd_stat.c mtime to avoid code generation
# differences on each rebuild
touch -r nscd/nscd_stat.c nscd/s-stamp
@@ -406,6 +412,9 @@ rm nscd/s-stamp
%patch84
%patch87 -p0
%patch88 -p1 -R
%patch89 -p1
%patch90 -p1
%patch91 -p1
#
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
@@ -505,6 +514,9 @@ PARALLEL="%{?_smp_mflags}"
# fails to build otherwise - need to recheck and fix
%define enable_stackguard_randomization 0
%endif
# Remove completely, these give some strange crashes with dlopen
# See bnc#740109
rm -rf sysdeps/x86_64/fpu/multiarch
configure_and_build_glibc() {
local dirname="$1"; shift