diff options
Diffstat (limited to 'packages/glibc/2.16.0')
-rw-r--r-- | packages/glibc/2.16.0/0000-respect-env-CPPFLAGS.patch (renamed from packages/glibc/2.16.0/100-respect-env-CPPFLAGS.patch) | 9 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0001-Suppress-GCC-6-warning-about-ambiguous-else-with-Wpa.patch (renamed from packages/glibc/2.16.0/101-Suppress-GCC-6-warning-about-ambiguous-else-with-Wpa.patch) | 31 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0002-fix-signed-shift-overlow.patch (renamed from packages/glibc/2.16.0/102-fix-signed-shift-overlow.patch) | 23 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0003-dl-openat64-variadic.patch (renamed from packages/glibc/2.16.0/103-dl-openat64-variadic.patch) | 6 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0004-unused-variables.patch (renamed from packages/glibc/2.16.0/104-unused-variables.patch) | 48 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0005-misleading-indentation.patch (renamed from packages/glibc/2.16.0/105-misleading-indentation.patch) | 8 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0006-dl-open-array-bounds.patch (renamed from packages/glibc/2.16.0/106-dl-open-array-bounds.patch) | 8 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0007-i386-x86_64-revert-clone-cfi.patch (renamed from packages/glibc/2.16.0/120-i386-x86_64-revert-clone-cfi.patch) | 28 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0008-disable-ldconfig.patch (renamed from packages/glibc/2.16.0/140-disable-ldconfig.patch) | 11 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0009-Fix-combreloc-test-BSD-grep.patch (renamed from packages/glibc/2.16.0/140-Fix-combreloc-test-BSD-grep.patch) | 18 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0010-queue-header-updates.patch (renamed from packages/glibc/2.16.0/150-queue-header-updates.patch) | 9 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0011-localedef-fix-trampoline.patch (renamed from packages/glibc/2.16.0/170-localedef-fix-trampoline.patch) | 11 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0012-resolv-dynamic.patch (renamed from packages/glibc/2.16.0/180-resolv-dynamic.patch) | 9 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0013-fadvise64_64.patch (renamed from packages/glibc/2.16.0/200-fadvise64_64.patch) | 7 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0014-assume-pipe2.patch (renamed from packages/glibc/2.16.0/260-assume-pipe2.patch) | 9 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0015-china.patch (renamed from packages/glibc/2.16.0/270-china.patch) | 9 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0016-new-valencian-locale.patch (renamed from packages/glibc/2.16.0/280-new-valencian-locale.patch) | 17 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0017-macos-cross-rpcgen.patch (renamed from packages/glibc/2.16.0/300-macos-cross-rpcgen.patch) | 8 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0018-nscd-one-fork.patch (renamed from packages/glibc/2.16.0/300-nscd-one-fork.patch) | 11 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0019-hppa-nptl-carlos.patch (renamed from packages/glibc/2.16.0/310-hppa-nptl-carlos.patch) | 83 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0020-dl_execstack-PaX-support.patch (renamed from packages/glibc/2.16.0/340-dl_execstack-PaX-support.patch) | 23 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0021-pre20040117-pt_pax.patch (renamed from packages/glibc/2.16.0/350-pre20040117-pt_pax.patch) | 13 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0022-tests-sandbox-libdl-paths.patch (renamed from packages/glibc/2.16.0/360-tests-sandbox-libdl-paths.patch) | 91 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0023-dont-build-timezone.patch (renamed from packages/glibc/2.16.0/380-dont-build-timezone.patch) | 11 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0024-alpha-xstat.patch (renamed from packages/glibc/2.16.0/400-alpha-xstat.patch) | 11 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0025-alpha-creat.patch | 17 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0026-alpha_alpha-add-fdatasync-support.patch (renamed from packages/glibc/2.16.0/490-alpha_alpha-add-fdatasync-support.patch) | 26 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0027-fix-parsing-of-numeric-hosts-in-gethostbyname_r.patch (renamed from packages/glibc/2.16.0/500-fix-parsing-of-numeric-hosts-in-gethostbyname_r.patch) | 22 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0028-ppc-atomic.patch (renamed from packages/glibc/2.16.0/560-ppc-atomic.patch) | 65 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0029-mips_shn_undef-hack.patch (renamed from packages/glibc/2.16.0/630-mips_shn_undef-hack.patch) | 13 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0030-alpha-atfcts.patch (renamed from packages/glibc/2.16.0/640-alpha-atfcts.patch) | 10 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0031-syslog.patch (renamed from packages/glibc/2.16.0/650-syslog.patch) | 11 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0032-debug-readlink_chk-readklinkat_chk.patch | 27 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0033-fix-rpc_parse-format.patch (renamed from packages/glibc/2.16.0/920-fix-rpc_parse-format.patch) | 8 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0034-nis-bogus-conditional.patch (renamed from packages/glibc/2.16.0/940-nis-bogus-conditional.patch) | 8 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0035-obstack-common.patch (renamed from packages/glibc/2.16.0/998-obstack-common.patch) | 8 | ||||
-rw-r--r-- | packages/glibc/2.16.0/0036-new-tools.patch (renamed from packages/glibc/2.16.0/999-new-tools.patch) | 21 | ||||
-rw-r--r-- | packages/glibc/2.16.0/430-alpha-creat.patch | 14 | ||||
-rw-r--r-- | packages/glibc/2.16.0/660-debug-readlink_chk-readklinkat_chk.patch | 24 |
39 files changed, 413 insertions, 373 deletions
diff --git a/packages/glibc/2.16.0/100-respect-env-CPPFLAGS.patch b/packages/glibc/2.16.0/0000-respect-env-CPPFLAGS.patch index dce491c..be9d0bb 100644 --- a/packages/glibc/2.16.0/100-respect-env-CPPFLAGS.patch +++ b/packages/glibc/2.16.0/0000-respect-env-CPPFLAGS.patch @@ -1,9 +1,12 @@ Respect environment CPPFLAGS when we run ./configure so we can inject random -D things without having to set CFLAGS/ASFLAGS -diff -durN glibc-2.13.orig/Makeconfig glibc-2.13/Makeconfig ---- glibc-2.13.orig/Makeconfig 2009-05-09 23:57:56.000000000 +0200 -+++ glibc-2.13/Makeconfig 2009-11-13 00:49:41.000000000 +0100 +--- + Makeconfig | 1 + + 1 file changed, 1 insertion(+) + +--- a/Makeconfig ++++ b/Makeconfig @@ -668,6 +668,7 @@ $(foreach lib,$(libof-$(basename $(@F))) \ $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \ diff --git a/packages/glibc/2.16.0/101-Suppress-GCC-6-warning-about-ambiguous-else-with-Wpa.patch b/packages/glibc/2.16.0/0001-Suppress-GCC-6-warning-about-ambiguous-else-with-Wpa.patch index 6fd663a..31e9499 100644 --- a/packages/glibc/2.16.0/101-Suppress-GCC-6-warning-about-ambiguous-else-with-Wpa.patch +++ b/packages/glibc/2.16.0/0001-Suppress-GCC-6-warning-about-ambiguous-else-with-Wpa.patch @@ -5,16 +5,13 @@ Subject: [PATCH] Suppress GCC 6 warning about ambiguous 'else' with -Wparentheses --- - ChangeLog | 5 +++++ - nis/nis_call.c | 20 +++++++++++--------- - stdlib/setenv.c | 26 ++++++++++++++------------ - 3 files changed, 30 insertions(+), 21 deletions(-) + nis/nis_call.c | 20 +++++++++++--------- + stdlib/setenv.c | 24 +++++++++++++----------- + 2 files changed, 24 insertions(+), 20 deletions(-) -diff --git a/nis/nis_call.c b/nis/nis_call.c -index 3fa37e4..cb7839a 100644 --- a/nis/nis_call.c +++ b/nis/nis_call.c -@@ -680,16 +680,18 @@ nis_server_cache_add (const_nis_name name, int search_parent, +@@ -681,16 +681,18 @@ /* Choose which entry should be evicted from the cache. */ loc = &nis_server_cache[0]; if (*loc != NULL) @@ -42,11 +39,9 @@ index 3fa37e4..cb7839a 100644 old = *loc; *loc = new; -diff --git a/stdlib/setenv.c b/stdlib/setenv.c -index da61ee0..e66045f 100644 --- a/stdlib/setenv.c +++ b/stdlib/setenv.c -@@ -278,18 +278,20 @@ unsetenv (const char *name) +@@ -327,18 +327,20 @@ ep = __environ; if (ep != NULL) while (*ep != NULL) @@ -54,7 +49,12 @@ index da61ee0..e66045f 100644 - { - /* Found it. Remove this pointer by moving later ones back. */ - char **dp = ep; -- ++ { ++ if (!strncmp (*ep, name, len) && (*ep)[len] == '=') ++ { ++ /* Found it. Remove this pointer by moving later ones back. */ ++ char **dp = ep; + - do - dp[0] = dp[1]; - while (*dp++); @@ -62,12 +62,6 @@ index da61ee0..e66045f 100644 - } - else - ++ep; -+ { -+ if (!strncmp (*ep, name, len) && (*ep)[len] == '=') -+ { -+ /* Found it. Remove this pointer by moving later ones back. */ -+ char **dp = ep; -+ + do + dp[0] = dp[1]; + while (*dp++); @@ -79,6 +73,3 @@ index da61ee0..e66045f 100644 UNLOCK; --- -2.7.4 - diff --git a/packages/glibc/2.16.0/102-fix-signed-shift-overlow.patch b/packages/glibc/2.16.0/0002-fix-signed-shift-overlow.patch index ef49f83..3b2ef40 100644 --- a/packages/glibc/2.16.0/102-fix-signed-shift-overlow.patch +++ b/packages/glibc/2.16.0/0002-fix-signed-shift-overlow.patch @@ -12,11 +12,16 @@ Date: Tue Jul 21 22:50:29 2015 -0700 * string/strchrnul.c (STRCHRNUL): Rewrite code to avoid issues with signed shift overflow. -diff --git a/string/memrchr.c b/string/memrchr.c -index 0c8fd84..86cd5b9 100644 +--- + string/memrchr.c | 11 ++--------- + string/rawmemchr.c | 11 ++--------- + string/strchr.c | 9 ++------- + string/strchrnul.c | 9 ++------- + 4 files changed, 8 insertions(+), 32 deletions(-) + --- a/string/memrchr.c +++ b/string/memrchr.c -@@ -96,15 +96,8 @@ MEMRCHR +@@ -96,15 +96,8 @@ The 1-bits make sure that carries propagate to the next 0-bit. The 0-bits provide holes for carries to fall into. */ @@ -34,11 +39,9 @@ index 0c8fd84..86cd5b9 100644 /* Set up a longword, each of whose bytes is C. */ charmask = c | (c << 8); -diff --git a/string/rawmemchr.c b/string/rawmemchr.c -index 05b22be..228ca9d 100644 --- a/string/rawmemchr.c +++ b/string/rawmemchr.c -@@ -86,15 +86,8 @@ RAWMEMCHR (s, c_in) +@@ -83,15 +83,8 @@ The 1-bits make sure that carries propagate to the next 0-bit. The 0-bits provide holes for carries to fall into. */ @@ -56,11 +59,9 @@ index 05b22be..228ca9d 100644 /* Set up a longword, each of whose bytes is C. */ charmask = c | (c << 8); -diff --git a/string/strchr.c b/string/strchr.c -index 5f90075..f13b2b3 100644 --- a/string/strchr.c +++ b/string/strchr.c -@@ -60,13 +60,8 @@ strchr (const char *s, int c_in) +@@ -64,13 +64,8 @@ The 1-bits make sure that carries propagate to the next 0-bit. The 0-bits provide holes for carries to fall into. */ @@ -76,11 +77,9 @@ index 5f90075..f13b2b3 100644 /* Set up a longword, each of whose bytes is C. */ charmask = c | (c << 8); -diff --git a/string/strchrnul.c b/string/strchrnul.c -index 2678f1d..daf0b3f 100644 --- a/string/strchrnul.c +++ b/string/strchrnul.c -@@ -66,13 +66,8 @@ STRCHRNUL (s, c_in) +@@ -62,13 +62,8 @@ The 1-bits make sure that carries propagate to the next 0-bit. The 0-bits provide holes for carries to fall into. */ diff --git a/packages/glibc/2.16.0/103-dl-openat64-variadic.patch b/packages/glibc/2.16.0/0003-dl-openat64-variadic.patch index fe94b96..552db12 100644 --- a/packages/glibc/2.16.0/103-dl-openat64-variadic.patch +++ b/packages/glibc/2.16.0/0003-dl-openat64-variadic.patch @@ -177,8 +177,10 @@ Date: Tue Oct 20 11:54:09 2015 +0000 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. -diff --git a/sysdeps/unix/sysv/linux/dl-openat64.c b/sysdeps/unix/sysv/linux/dl-openat64.c -index 7d100bb..7eea0ca 100644 +--- + sysdeps/unix/sysv/linux/dl-openat64.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + --- a/sysdeps/unix/sysv/linux/dl-openat64.c +++ b/sysdeps/unix/sysv/linux/dl-openat64.c @@ -23,10 +23,7 @@ diff --git a/packages/glibc/2.16.0/104-unused-variables.patch b/packages/glibc/2.16.0/0004-unused-variables.patch index 2a85a0c..db6f1b4 100644 --- a/packages/glibc/2.16.0/104-unused-variables.patch +++ b/packages/glibc/2.16.0/0004-unused-variables.patch @@ -19,8 +19,18 @@ Date: Fri Sep 18 20:27:20 2015 +0100 * timezone/private.h (time_t_min): Likewise. (time_t_max): Likewise. -diff --git a/resolv/base64.c b/resolv/base64.c -index ea584ed..519e5d2 100644 +--- + resolv/base64.c | 4 ---- + sysdeps/ieee754/dbl-64/atnat2.h | 4 ---- + sysdeps/ieee754/dbl-64/uexp.h | 2 +- + sysdeps/ieee754/dbl-64/upow.h | 2 -- + sysdeps/ieee754/flt-32/e_log10f.c | 2 -- + sysdeps/ieee754/flt-32/s_cosf.c | 2 -- + sysdeps/ieee754/ldbl-128/e_lgammal_r.c | 1 - + sysdeps/ieee754/ldbl-128/s_erfl.c | 1 - + sysdeps/ieee754/ldbl-128/s_log1pl.c | 1 - + 9 files changed, 1 insertion(+), 18 deletions(-) + --- a/resolv/base64.c +++ b/resolv/base64.c @@ -40,10 +40,6 @@ @@ -34,11 +44,9 @@ index ea584ed..519e5d2 100644 #include <sys/types.h> #include <sys/param.h> #include <sys/socket.h> -diff --git a/sysdeps/ieee754/dbl-64/atnat2.h b/sysdeps/ieee754/dbl-64/atnat2.h -index e0d65af..82943f9 100644 --- a/sysdeps/ieee754/dbl-64/atnat2.h +++ b/sysdeps/ieee754/dbl-64/atnat2.h -@@ -65,10 +65,8 @@ +@@ -68,10 +68,8 @@ /**/ hpi1 = {{0x3c91a626, 0x33145c07} }, /* pi/2-hpi */ /**/ mhpi = {{0xbff921fb, 0x54442d18} }, /* -pi/2 */ /**/ qpi = {{0x3fe921fb, 0x54442d18} }, /* pi/4 */ @@ -49,7 +57,7 @@ index e0d65af..82943f9 100644 /**/ mtqpi = {{0xc002d97c, 0x7f3321d2} }, /* -3pi/4 */ /**/ u1 = {{0x3c314c2a, 0x00000000} }, /* 9.377e-19 */ /**/ u2 = {{0x3bf955e4, 0x00000000} }, /* 8.584e-20 */ -@@ -129,10 +127,8 @@ +@@ -138,10 +136,8 @@ /**/ hpi1 = {{0x33145c07, 0x3c91a626} }, /* pi/2-hpi */ /**/ mhpi = {{0x54442d18, 0xbff921fb} }, /* -pi/2 */ /**/ qpi = {{0x54442d18, 0x3fe921fb} }, /* pi/4 */ @@ -60,8 +68,6 @@ index e0d65af..82943f9 100644 /**/ mtqpi = {{0x7f3321d2, 0xc002d97c} }, /* -3pi/4 */ /**/ u1 = {{0x00000000, 0x3c314c2a} }, /* 9.377e-19 */ /**/ u2 = {{0x00000000, 0x3bf955e4} }, /* 8.584e-20 */ -diff --git a/sysdeps/ieee754/dbl-64/uexp.h b/sysdeps/ieee754/dbl-64/uexp.h -index 6817eaf..42b21f2 100644 --- a/sysdeps/ieee754/dbl-64/uexp.h +++ b/sysdeps/ieee754/dbl-64/uexp.h @@ -29,7 +29,7 @@ @@ -73,11 +79,9 @@ index 6817eaf..42b21f2 100644 err_0 = 1.000014, err_1 = 0.000016; const static int4 bigint = 0x40862002, badint = 0x40876000,smallint = 0x3C8fffff; -diff --git a/sysdeps/ieee754/dbl-64/upow.h b/sysdeps/ieee754/dbl-64/upow.h -index c8569a9..b4911e5 100644 --- a/sysdeps/ieee754/dbl-64/upow.h +++ b/sysdeps/ieee754/dbl-64/upow.h -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ /**/ INF = {{0x7ff00000, 0x00000000}}, /* INF */ /**/ nINF = {{0xfff00000, 0x00000000}}, /* -INF */ /**/ NaNQ = {{0x7ff80000, 0x00000000}}, /* NaNQ */ @@ -85,7 +89,7 @@ index c8569a9..b4911e5 100644 /**/ ln2a = {{0x3fe62e42, 0xfefa3800}}, /* ln(2) 43 bits */ /**/ ln2b = {{0x3d2ef357, 0x93c76730}}, /* ln(2)-ln2a */ /**/ bigu = {{0x4297ffff, 0xfffffd2c}}, /* 1.5*2**42 -724*2**-10 */ -@@ -48,7 +47,6 @@ +@@ -50,7 +49,6 @@ /**/ INF = {{0x00000000, 0x7ff00000}}, /* INF */ /**/ nINF = {{0x00000000, 0xfff00000}}, /* -INF */ /**/ NaNQ = {{0x00000000, 0x7ff80000}}, /* NaNQ */ @@ -93,11 +97,9 @@ index c8569a9..b4911e5 100644 /**/ ln2a = {{0xfefa3800, 0x3fe62e42}}, /* ln(2) 43 bits */ /**/ ln2b = {{0x93c76730, 0x3d2ef357}}, /* ln(2)-ln2a */ /**/ bigu = {{0xfffffd2c, 0x4297ffff}}, /* 1.5*2**42 -724*2**-10 */ -diff --git a/sysdeps/ieee754/flt-32/e_log10f.c b/sysdeps/ieee754/flt-32/e_log10f.c -index 96f0e81..1daeef7 100644 --- a/sysdeps/ieee754/flt-32/e_log10f.c +++ b/sysdeps/ieee754/flt-32/e_log10f.c -@@ -22,8 +22,6 @@ ivln10 = 4.3429449201e-01, /* 0x3ede5bd9 */ +@@ -22,8 +22,6 @@ log10_2hi = 3.0102920532e-01, /* 0x3e9a2080 */ log10_2lo = 7.9034151668e-07; /* 0x355427db */ @@ -106,11 +108,9 @@ index 96f0e81..1daeef7 100644 float __ieee754_log10f(float x) { -diff --git a/sysdeps/ieee754/flt-32/s_cosf.c b/sysdeps/ieee754/flt-32/s_cosf.c -index 864ab27..0affd40 100644 --- a/sysdeps/ieee754/flt-32/s_cosf.c +++ b/sysdeps/ieee754/flt-32/s_cosf.c -@@ -21,8 +21,6 @@ static char rcsid[] = "$NetBSD: s_cosf.c,v 1.4 1995/05/10 20:47:03 jtc Exp $"; +@@ -21,8 +21,6 @@ #include <math.h> #include <math_private.h> @@ -119,11 +119,9 @@ index 864ab27..0affd40 100644 float __cosf(float x) { float y[2],z=0.0; -diff --git a/sysdeps/ieee754/ldbl-128/e_lgammal_r.c b/sysdeps/ieee754/ldbl-128/e_lgammal_r.c -index 500aacc..ab5a96e 100644 --- a/sysdeps/ieee754/ldbl-128/e_lgammal_r.c +++ b/sysdeps/ieee754/ldbl-128/e_lgammal_r.c -@@ -82,7 +82,6 @@ DIAG_IGNORE_NEEDS_COMMENT (4.6, "-Woverflow"); +@@ -74,7 +74,6 @@ static const long double PIL = 3.1415926535897932384626433832795028841972E0L; static const long double MAXLGM = 1.0485738685148938358098967157129705071571E4928L; static const long double one = 1.0L; @@ -131,11 +129,9 @@ index 500aacc..ab5a96e 100644 static const long double huge = 1.0e4000L; /* log gamma(x) = ( x - 0.5 ) * log(x) - x + LS2PI + 1/x P(1/x^2) -diff --git a/sysdeps/ieee754/ldbl-128/s_erfl.c b/sysdeps/ieee754/ldbl-128/s_erfl.c -index fa4609f..08c80a3 100644 --- a/sysdeps/ieee754/ldbl-128/s_erfl.c +++ b/sysdeps/ieee754/ldbl-128/s_erfl.c -@@ -140,7 +140,6 @@ deval (long double x, const long double *p, int n) +@@ -138,7 +138,6 @@ static const long double tiny = 1e-4931L, @@ -143,11 +139,9 @@ index fa4609f..08c80a3 100644 one = 1.0L, two = 2.0L, /* 2/sqrt(pi) - 1 */ -diff --git a/sysdeps/ieee754/ldbl-128/s_log1pl.c b/sysdeps/ieee754/ldbl-128/s_log1pl.c -index ff759bc..9609550 100644 --- a/sysdeps/ieee754/ldbl-128/s_log1pl.c +++ b/sysdeps/ieee754/ldbl-128/s_log1pl.c -@@ -117,7 +117,6 @@ static const long double C2 = 1.428606820309417232121458176568075500134E-6L; +@@ -116,7 +116,6 @@ static const long double sqrth = 0.7071067811865475244008443621048490392848L; /* ln (2^16384 * (1 - 2^-113)) */ diff --git a/packages/glibc/2.16.0/105-misleading-indentation.patch b/packages/glibc/2.16.0/0005-misleading-indentation.patch index 1dd8d85..8e08259 100644 --- a/packages/glibc/2.16.0/105-misleading-indentation.patch +++ b/packages/glibc/2.16.0/0005-misleading-indentation.patch @@ -7,11 +7,13 @@ Date: Fri Dec 11 09:19:37 2015 -0800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Fix indentation. -diff --git a/sysdeps/ieee754/flt-32/k_rem_pio2f.c b/sysdeps/ieee754/flt-32/k_rem_pio2f.c -index 0c7685c..392afdb 100644 +--- + sysdeps/ieee754/flt-32/k_rem_pio2f.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + --- a/sysdeps/ieee754/flt-32/k_rem_pio2f.c +++ b/sysdeps/ieee754/flt-32/k_rem_pio2f.c -@@ -65,7 +65,9 @@ int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32 +@@ -65,7 +65,9 @@ /* compute q[0],q[1],...q[jk] */ for (i=0;i<=jk;i++) { diff --git a/packages/glibc/2.16.0/106-dl-open-array-bounds.patch b/packages/glibc/2.16.0/0006-dl-open-array-bounds.patch index a8efe9a..4df8346 100644 --- a/packages/glibc/2.16.0/106-dl-open-array-bounds.patch +++ b/packages/glibc/2.16.0/0006-dl-open-array-bounds.patch @@ -4,11 +4,13 @@ Date: Fri Apr 17 12:11:58 2015 -0700 Fuller check for invalid NSID in _dl_open. -diff --git a/elf/dl-open.c b/elf/dl-open.c -index 0dbe07f..2d0e082 100644 +--- + elf/dl-open.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + --- a/elf/dl-open.c +++ b/elf/dl-open.c -@@ -619,8 +619,14 @@ no more namespaces available for dlmopen()")); +@@ -609,8 +609,14 @@ /* Never allow loading a DSO in a namespace which is empty. Such direct placements is only causing problems. Also don't allow loading into a namespace used for auditing. */ diff --git a/packages/glibc/2.16.0/120-i386-x86_64-revert-clone-cfi.patch b/packages/glibc/2.16.0/0007-i386-x86_64-revert-clone-cfi.patch index c7f6182..30e8929 100644 --- a/packages/glibc/2.16.0/120-i386-x86_64-revert-clone-cfi.patch +++ b/packages/glibc/2.16.0/0007-i386-x86_64-revert-clone-cfi.patch @@ -4,17 +4,14 @@ elsewhere. this cfi code does not gain us a whole lot anyways. http://gcc.gnu.org/ml/gcc/2006-12/msg00293.html -Index: sysdeps/unix/sysv/linux/i386/clone.S -=================================================================== -RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/clone.S,v -retrieving revision 1.27 -retrieving revision 1.26 -diff -u -p -r1.27 -r1.26 +--- + sysdeps/unix/sysv/linux/i386/clone.S | 4 ---- + sysdeps/unix/sysv/linux/x86_64/clone.S | 4 ---- + 2 files changed, 8 deletions(-) -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2.13/sysdeps/unix/sysv/linux/i386/clone.S ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/i386/clone.S 2006-12-04 00:12:36.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/i386/clone.S 2009-11-13 00:49:45.000000000 +0100 -@@ -120,9 +120,6 @@ +--- a/sysdeps/unix/sysv/linux/i386/clone.S ++++ b/sysdeps/unix/sysv/linux/i386/clone.S +@@ -119,9 +119,6 @@ ret L(thread_start): @@ -24,7 +21,7 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2.13/sysde /* Note: %esi is zero. */ movl %esi,%ebp /* terminate the stack frame */ #ifdef RESET_PID -@@ -155,7 +152,6 @@ +@@ -154,7 +151,6 @@ jmp L(haspid) .previous #endif @@ -32,10 +29,9 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2.13/sysde cfi_startproc PSEUDO_END (BP_SYM (__clone)) -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/x86_64/clone.S glibc-2.13/sysdeps/unix/sysv/linux/x86_64/clone.S ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/x86_64/clone.S 2006-12-04 00:12:36.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/x86_64/clone.S 2009-11-13 00:49:45.000000000 +0100 -@@ -89,9 +89,6 @@ +--- a/sysdeps/unix/sysv/linux/x86_64/clone.S ++++ b/sysdeps/unix/sysv/linux/x86_64/clone.S +@@ -88,9 +88,6 @@ ret L(thread_start): @@ -45,7 +41,7 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/x86_64/clone.S glibc-2.13/sys /* Clear the frame pointer. The ABI suggests this be done, to mark the outermost frame obviously. */ xorl %ebp, %ebp -@@ -116,7 +113,6 @@ +@@ -115,7 +112,6 @@ /* Call exit with return value from function call. */ movq %rax, %rdi call HIDDEN_JUMPTARGET (_exit) diff --git a/packages/glibc/2.16.0/140-disable-ldconfig.patch b/packages/glibc/2.16.0/0008-disable-ldconfig.patch index 378e1df..49f39b5 100644 --- a/packages/glibc/2.16.0/140-disable-ldconfig.patch +++ b/packages/glibc/2.16.0/0008-disable-ldconfig.patch @@ -3,10 +3,13 @@ file outside of the chroot. doesnt matter anyways as we wont use the cache results (portage will rebuild cache), so running ldconfig is simply a waste of time. -diff -durN glibc-2.13.orig/Makefile glibc-2.13/Makefile ---- glibc-2.13.orig/Makefile 2009-04-23 20:23:03.000000000 +0200 -+++ glibc-2.13/Makefile 2009-11-13 00:49:49.000000000 +0100 -@@ -116,6 +116,7 @@ +--- + Makefile | 1 + + 1 file changed, 1 insertion(+) + +--- a/Makefile ++++ b/Makefile +@@ -105,6 +105,7 @@ rm -f $(symbolic-link-list) install: diff --git a/packages/glibc/2.16.0/140-Fix-combreloc-test-BSD-grep.patch b/packages/glibc/2.16.0/0009-Fix-combreloc-test-BSD-grep.patch index 3c34e01..e1d7dec 100644 --- a/packages/glibc/2.16.0/140-Fix-combreloc-test-BSD-grep.patch +++ b/packages/glibc/2.16.0/0009-Fix-combreloc-test-BSD-grep.patch @@ -13,16 +13,13 @@ by configure as "not found". As a result, support for "-z combreloc" Signed-off-by: Alexey Neyman <stilor@att.net> --- - ChangeLog | 5 +++++ - configure | 2 +- - configure.ac | 2 +- - 3 files changed, 7 insertions(+), 2 deletions(-) + configure | 2 +- + configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) -diff --git a/configure b/configure -index eecd0ac..0118bd1 100755 --- a/configure +++ b/configure -@@ -5804,7 +5804,7 @@ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS +@@ -6440,7 +6440,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then @@ -31,11 +28,9 @@ index eecd0ac..0118bd1 100755 libc_cv_z_combreloc=yes else libc_cv_z_combreloc=no -diff --git a/configure.ac b/configure.ac -index 4a77411..19f6d87 100644 --- a/configure.in +++ b/configure.in -@@ -1391,7 +1391,7 @@ dnl cross-platform since the gcc used can be a cross compiler. Without +@@ -1586,7 +1586,7 @@ dnl introducing new options this is not easily doable. Instead use a tool dnl which always is cross-platform: readelf. To detect whether -z combreloc dnl look for a section named .rel.dyn. @@ -44,6 +39,3 @@ index 4a77411..19f6d87 100644 libc_cv_z_combreloc=yes else libc_cv_z_combreloc=no --- -2.9.3 - diff --git a/packages/glibc/2.16.0/150-queue-header-updates.patch b/packages/glibc/2.16.0/0010-queue-header-updates.patch index 7cbe70e..f6515e2 100644 --- a/packages/glibc/2.16.0/150-queue-header-updates.patch +++ b/packages/glibc/2.16.0/0010-queue-header-updates.patch @@ -2,11 +2,12 @@ grab some updates from FreeBSD http://bugs.gentoo.org/201979 -diff -durN glibc-2.13.orig/misc/sys/queue.h glibc-2.13/misc/sys/queue.h +--- + misc/sys/queue.h | 36 ++++++++++++++++++++++++++++++++++++ + 1 file changed, 36 insertions(+) -diff -durN glibc-2.13.orig/misc/sys/queue.h glibc-2.13/misc/sys/queue.h ---- glibc-2.13.orig/misc/sys/queue.h 2008-03-05 06:50:30.000000000 +0100 -+++ glibc-2.13/misc/sys/queue.h 2009-11-13 00:49:51.000000000 +0100 +--- a/misc/sys/queue.h ++++ b/misc/sys/queue.h @@ -136,6 +136,11 @@ (var); \ (var) = ((var)->field.le_next)) diff --git a/packages/glibc/2.16.0/170-localedef-fix-trampoline.patch b/packages/glibc/2.16.0/0011-localedef-fix-trampoline.patch index 3cc6559..e6392c1 100644 --- a/packages/glibc/2.16.0/170-localedef-fix-trampoline.patch +++ b/packages/glibc/2.16.0/0011-localedef-fix-trampoline.patch @@ -5,10 +5,13 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 -diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h ---- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 -+++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 -@@ -203,6 +203,42 @@ +--- +# locale/programs/3level.h | 36 ++++++++++++++++++++++++++++++++++++ +# 1 file changed, 36 insertions(+) +# +--- a/locale/programs/3level.h ++++ b/locale/programs/3level.h +@@ -202,6 +202,42 @@ } } } diff --git a/packages/glibc/2.16.0/180-resolv-dynamic.patch b/packages/glibc/2.16.0/0012-resolv-dynamic.patch index e916bce..fcc2f80 100644 --- a/packages/glibc/2.16.0/180-resolv-dynamic.patch +++ b/packages/glibc/2.16.0/0012-resolv-dynamic.patch @@ -5,9 +5,12 @@ already running get the updated information. http://bugs.gentoo.org/177416 -diff -durN glibc-2.13.orig/resolv/res_libc.c glibc-2.13/resolv/res_libc.c ---- glibc-2.13.orig/resolv/res_libc.c 2009-02-07 05:27:42.000000000 +0100 -+++ glibc-2.13/resolv/res_libc.c 2009-11-13 00:49:59.000000000 +0100 +--- + resolv/res_libc.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +--- a/resolv/res_libc.c ++++ b/resolv/res_libc.c @@ -22,6 +22,7 @@ #include <arpa/nameser.h> #include <resolv.h> diff --git a/packages/glibc/2.16.0/200-fadvise64_64.patch b/packages/glibc/2.16.0/0013-fadvise64_64.patch index 71bca38..3f827ab 100644 --- a/packages/glibc/2.16.0/200-fadvise64_64.patch +++ b/packages/glibc/2.16.0/0013-fadvise64_64.patch @@ -3,10 +3,9 @@ ripped from Debian sysdeps/unix/sysv/linux/posix_fadvise.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/posix_fadvise.c glibc-2.13/sysdeps/unix/sysv/linux/posix_fadvise.c ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/posix_fadvise.c 2003-08-17 02:36:22.000000000 +0200 -+++ glibc-2.13/sysdeps/unix/sysv/linux/posix_fadvise.c 2009-11-13 00:50:03.000000000 +0100 -@@ -35,6 +35,19 @@ +--- a/sysdeps/unix/sysv/linux/posix_fadvise.c ++++ b/sysdeps/unix/sysv/linux/posix_fadvise.c +@@ -34,6 +34,19 @@ return INTERNAL_SYSCALL_ERRNO (ret, err); return 0; #else diff --git a/packages/glibc/2.16.0/260-assume-pipe2.patch b/packages/glibc/2.16.0/0014-assume-pipe2.patch index 54f0382..a36b602 100644 --- a/packages/glibc/2.16.0/260-assume-pipe2.patch +++ b/packages/glibc/2.16.0/0014-assume-pipe2.patch @@ -20,9 +20,12 @@ __have_sock_cloexec and __have_pipe2 to true. but if glibc was built against older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS stub for it. so popen() will always fail as glibc assumes pipe2() works. -diff -durN glibc-2.16.0.orig/socket/have_sock_cloexec.c glibc-2.16.0/socket/have_sock_cloexec.c ---- glibc-2.16.0.orig/socket/have_sock_cloexec.c 2008-07-25 18:46:23.000000000 +0200 -+++ glibc-2.16.0/socket/have_sock_cloexec.c 2009-11-13 00:50:15.000000000 +0100 +--- + socket/have_sock_cloexec.c | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/socket/have_sock_cloexec.c ++++ b/socket/have_sock_cloexec.c @@ -15,9 +15,14 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ diff --git a/packages/glibc/2.16.0/270-china.patch b/packages/glibc/2.16.0/0015-china.patch index 41d7759..b323cf6 100644 --- a/packages/glibc/2.16.0/270-china.patch +++ b/packages/glibc/2.16.0/0015-china.patch @@ -1,8 +1,11 @@ -diff -durN glibc-2.13.orig/localedata/locales/zh_TW glibc-2.13/localedata/locales/zh_TW ---- glibc-2.13.orig/localedata/locales/zh_TW 2004-11-01 00:42:28.000000000 +0100 -+++ glibc-2.13/localedata/locales/zh_TW 2009-11-13 00:50:17.000000000 +0100 +--- + localedata/locales/zh_TW | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +--- a/localedata/locales/zh_TW ++++ b/localedata/locales/zh_TW @@ -1,7 +1,7 @@ comment_char % escape_char / diff --git a/packages/glibc/2.16.0/280-new-valencian-locale.patch b/packages/glibc/2.16.0/0016-new-valencian-locale.patch index 4cdd108..8f67711 100644 --- a/packages/glibc/2.16.0/280-new-valencian-locale.patch +++ b/packages/glibc/2.16.0/0016-new-valencian-locale.patch @@ -1,10 +1,14 @@ http://bugs.gentoo.org/show_bug.cgi?id=131815 http://sourceware.org/bugzilla/show_bug.cgi?id=2522 -diff -durN glibc-2.13.orig/localedata/SUPPORTED glibc-2.13/localedata/SUPPORTED ---- glibc-2.13.orig/localedata/SUPPORTED 2009-04-18 10:43:52.000000000 +0200 -+++ glibc-2.13/localedata/SUPPORTED 2009-11-13 00:50:20.000000000 +0100 -@@ -72,6 +72,8 @@ +--- + localedata/SUPPORTED | 2 + localedata/locales/ca_ES@valencia | 96 ++++++++++++++++++++++++++++++++++++++ + 2 files changed, 98 insertions(+) + +--- a/localedata/SUPPORTED ++++ b/localedata/SUPPORTED +@@ -75,6 +75,8 @@ ca_ES.UTF-8/UTF-8 \ ca_ES/ISO-8859-1 \ ca_ES@euro/ISO-8859-15 \ @@ -13,9 +17,8 @@ diff -durN glibc-2.13.orig/localedata/SUPPORTED glibc-2.13/localedata/SUPPORTED ca_FR.UTF-8/UTF-8 \ ca_FR/ISO-8859-15 \ ca_IT.UTF-8/UTF-8 \ -diff -durN glibc-2.13.orig/localedata/locales/ca_ES@valencia glibc-2.13/localedata/locales/ca_ES@valencia ---- glibc-2.13.orig/localedata/locales/ca_ES@valencia 1970-01-01 01:00:00.000000000 +0100 -+++ glibc-2.13/localedata/locales/ca_ES@valencia 2009-11-13 00:50:20.000000000 +0100 +--- /dev/null ++++ b/localedata/locales/ca_ES@valencia @@ -0,0 +1,96 @@ +comment_char % +escape_char / diff --git a/packages/glibc/2.16.0/300-macos-cross-rpcgen.patch b/packages/glibc/2.16.0/0017-macos-cross-rpcgen.patch index e654644..b439b0f 100644 --- a/packages/glibc/2.16.0/300-macos-cross-rpcgen.patch +++ b/packages/glibc/2.16.0/0017-macos-cross-rpcgen.patch @@ -14,11 +14,13 @@ Date: Sat Sep 7 00:01:08 2013 +0800 Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> -diff --git a/sunrpc/rpc/types.h b/sunrpc/rpc/types.h -index 3dca5c4..beded52 100644 +--- + sunrpc/rpc/types.h | 5 +++++ + 1 file changed, 5 insertions(+) + --- a/sunrpc/rpc/types.h +++ b/sunrpc/rpc/types.h -@@ -69,6 +69,11 @@ typedef unsigned long rpcport_t; +@@ -69,6 +69,11 @@ #include <sys/types.h> #endif diff --git a/packages/glibc/2.16.0/300-nscd-one-fork.patch b/packages/glibc/2.16.0/0018-nscd-one-fork.patch index 13b2861..0d72f07 100644 --- a/packages/glibc/2.16.0/300-nscd-one-fork.patch +++ b/packages/glibc/2.16.0/0018-nscd-one-fork.patch @@ -2,9 +2,12 @@ only fork one to assist in stop-start-daemon assumptions about daemon behavior http://bugs.gentoo.org/190785 -diff -durN glibc-2.13.orig/nscd/nscd.c glibc-2.13/nscd/nscd.c ---- glibc-2.13.orig/nscd/nscd.c 2009-02-06 21:10:27.000000000 +0100 -+++ glibc-2.13/nscd/nscd.c 2009-11-13 00:50:24.000000000 +0100 +--- + nscd/nscd.c | 15 +++------------ + 1 file changed, 3 insertions(+), 12 deletions(-) + +--- a/nscd/nscd.c ++++ b/nscd/nscd.c @@ -203,6 +203,9 @@ exit (0); } @@ -31,7 +34,7 @@ diff -durN glibc-2.13.orig/nscd/nscd.c glibc-2.13/nscd/nscd.c setsid (); if (chdir ("/") != 0) -@@ -245,9 +242,6 @@ +@@ -269,9 +263,6 @@ openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON); diff --git a/packages/glibc/2.16.0/310-hppa-nptl-carlos.patch b/packages/glibc/2.16.0/0019-hppa-nptl-carlos.patch index 11e8a65..6c2ca8e 100644 --- a/packages/glibc/2.16.0/310-hppa-nptl-carlos.patch +++ b/packages/glibc/2.16.0/0019-hppa-nptl-carlos.patch @@ -1,9 +1,18 @@ -diff -durN glibc-2.13.orig/elf/rtld.c glibc-2.13/elf/rtld.c ---- glibc-2.13.orig/elf/rtld.c 2009-04-17 02:00:08.000000000 +0200 -+++ glibc-2.13/elf/rtld.c 2009-11-13 00:50:26.000000000 +0100 -@@ -392,14 +392,14 @@ +--- + elf/rtld.c | 10 +++++----- + include/atomic.h | 26 +++++++++++++------------- + nptl/Makefile | 35 ++++++++++++++++++++++++++++++++--- + nptl/pthread_barrier_wait.c | 2 +- + nptl/sysdeps/pthread/Makefile | 2 ++ + stdio-common/Makefile | 2 +- + sunrpc/clnt_udp.c | 2 +- + 7 files changed, 55 insertions(+), 24 deletions(-) + +--- a/elf/rtld.c ++++ b/elf/rtld.c +@@ -393,14 +393,14 @@ know it is available. We do not have to clear the memory if we do not have to use the temporary bootstrap_map. Global variables are initialized to zero by default. */ @@ -23,10 +32,9 @@ diff -durN glibc-2.13.orig/elf/rtld.c glibc-2.13/elf/rtld.c # endif # if USE___THREAD bootstrap_map.l_tls_modid = 0; -diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h ---- glibc-2.13.orig/include/atomic.h 2009-02-09 00:49:53.000000000 +0100 -+++ glibc-2.13/include/atomic.h 2009-11-13 00:50:26.000000000 +0100 -@@ -185,7 +185,7 @@ +--- a/include/atomic.h ++++ b/include/atomic.h +@@ -184,7 +184,7 @@ __typeof (*(mem)) __atg5_value = (newvalue); \ \ do \ @@ -35,7 +43,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ __atg5_oldval), 0)); \ -@@ -206,7 +206,7 @@ +@@ -205,7 +205,7 @@ __typeof (*(mem)) __atg6_value = (value); \ \ do \ @@ -44,7 +52,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg6_memp, \ __atg6_oldval \ -@@ -224,7 +224,7 @@ +@@ -223,7 +223,7 @@ __typeof (*(mem)) __atg7_value = (value); \ \ do \ @@ -53,7 +61,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (catomic_compare_and_exchange_bool_acq (__atg7_memp, \ __atg7_oldv \ -@@ -242,7 +242,7 @@ +@@ -241,7 +241,7 @@ __typeof (mem) __atg8_memp = (mem); \ __typeof (*(mem)) __atg8_value = (value); \ do { \ @@ -62,7 +70,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h if (__atg8_oldval >= __atg8_value) \ break; \ } while (__builtin_expect \ -@@ -259,7 +259,7 @@ +@@ -258,7 +258,7 @@ __typeof (mem) __atg9_memp = (mem); \ __typeof (*(mem)) __atg9_value = (value); \ do { \ @@ -71,7 +79,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h if (__atg9_oldv >= __atg9_value) \ break; \ } while (__builtin_expect \ -@@ -277,7 +277,7 @@ +@@ -276,7 +276,7 @@ __typeof (mem) __atg10_memp = (mem); \ __typeof (*(mem)) __atg10_value = (value); \ do { \ @@ -80,7 +88,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h if (__atg10_oldval <= __atg10_value) \ break; \ } while (__builtin_expect \ -@@ -361,7 +361,7 @@ +@@ -360,7 +360,7 @@ \ do \ { \ @@ -89,7 +97,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h if (__builtin_expect (__atg11_oldval <= 0, 0)) \ break; \ } \ -@@ -400,7 +400,7 @@ +@@ -399,7 +399,7 @@ __typeof (*(mem)) __atg14_mask = ((__typeof (*(mem))) 1 << (bit)); \ \ do \ @@ -98,7 +106,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg14_memp, \ __atg14_old | __atg14_mask,\ -@@ -418,7 +418,7 @@ +@@ -417,7 +417,7 @@ __typeof (*(mem)) __atg15_mask = (mask); \ \ do \ @@ -107,7 +115,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg15_memp, \ __atg15_old & __atg15_mask, \ -@@ -450,7 +450,7 @@ +@@ -449,7 +449,7 @@ __typeof (*(mem)) __atg16_mask = (mask); \ \ do \ @@ -116,7 +124,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg16_memp, \ __atg16_old & __atg16_mask,\ -@@ -468,7 +468,7 @@ +@@ -467,7 +467,7 @@ __typeof (*(mem)) __atg17_mask = (mask); \ \ do \ @@ -125,7 +133,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg17_memp, \ __atg17_old | __atg17_mask, \ -@@ -484,7 +484,7 @@ +@@ -483,7 +483,7 @@ __typeof (*(mem)) __atg18_mask = (mask); \ \ do \ @@ -134,7 +142,7 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (catomic_compare_and_exchange_bool_acq (__atg18_memp, \ __atg18_old | __atg18_mask,\ -@@ -500,7 +500,7 @@ +@@ -499,7 +499,7 @@ __typeof (*(mem)) __atg19_mask = (mask); \ \ do \ @@ -143,9 +151,8 @@ diff -durN glibc-2.13.orig/include/atomic.h glibc-2.13/include/atomic.h while (__builtin_expect \ (atomic_compare_and_exchange_bool_acq (__atg19_memp, \ __atg19_old | __atg19_mask,\ -diff -durN glibc-2.13.orig/nptl/Makefile glibc-2.13/nptl/Makefile ---- glibc-2.13.orig/nptl/Makefile 2008-11-12 14:38:23.000000000 +0100 -+++ glibc-2.13/nptl/Makefile 2009-11-13 00:50:26.000000000 +0100 +--- a/nptl/Makefile ++++ b/nptl/Makefile @@ -266,9 +266,9 @@ # Files which must not be linked with libpthread. tests-nolibpthread = tst-unload @@ -159,7 +166,7 @@ diff -durN glibc-2.13.orig/nptl/Makefile glibc-2.13/nptl/Makefile gen-as-const-headers = pthread-errnos.sym -@@ -426,6 +426,35 @@ +@@ -421,6 +421,35 @@ CFLAGS-tst-cleanupx4.c += -fexceptions CFLAGS-tst-oncex3.c += -fexceptions CFLAGS-tst-oncex4.c += -fexceptions @@ -195,10 +202,9 @@ diff -durN glibc-2.13.orig/nptl/Makefile glibc-2.13/nptl/Makefile CFLAGS-tst-align.c += $(stack-align-test-flags) CFLAGS-tst-align3.c += $(stack-align-test-flags) CFLAGS-tst-initializers1.c = -W -Wall -Werror -diff -durN glibc-2.13.orig/nptl/pthread_barrier_wait.c glibc-2.13/nptl/pthread_barrier_wait.c ---- glibc-2.13.orig/nptl/pthread_barrier_wait.c 2007-08-01 06:18:50.000000000 +0200 -+++ glibc-2.13/nptl/pthread_barrier_wait.c 2009-11-13 00:50:26.000000000 +0100 -@@ -64,7 +64,7 @@ +--- a/nptl/pthread_barrier_wait.c ++++ b/nptl/pthread_barrier_wait.c +@@ -63,7 +63,7 @@ do lll_futex_wait (&ibarrier->curr_event, event, ibarrier->private ^ FUTEX_PRIVATE_FLAG); @@ -207,10 +213,9 @@ diff -durN glibc-2.13.orig/nptl/pthread_barrier_wait.c glibc-2.13/nptl/pthread_b } /* Make sure the init_count is stored locally or in a register. */ -diff -durN glibc-2.13.orig/nptl/sysdeps/pthread/Makefile glibc-2.13/nptl/sysdeps/pthread/Makefile ---- glibc-2.13.orig/nptl/sysdeps/pthread/Makefile 2006-02-28 08:09:41.000000000 +0100 -+++ glibc-2.13/nptl/sysdeps/pthread/Makefile 2009-11-13 00:50:26.000000000 +0100 -@@ -33,7 +33,9 @@ +--- a/nptl/sysdeps/pthread/Makefile ++++ b/nptl/sysdeps/pthread/Makefile +@@ -32,7 +32,9 @@ ifeq ($(have-forced-unwind),yes) tests += tst-mqueue8x @@ -220,10 +225,9 @@ diff -durN glibc-2.13.orig/nptl/sysdeps/pthread/Makefile glibc-2.13/nptl/sysdeps endif endif -diff -durN glibc-2.13.orig/stdio-common/Makefile glibc-2.13/stdio-common/Makefile ---- glibc-2.13.orig/stdio-common/Makefile 2009-04-11 07:29:56.000000000 +0200 -+++ glibc-2.13/stdio-common/Makefile 2009-11-13 00:50:26.000000000 +0100 -@@ -82,7 +82,7 @@ +--- a/stdio-common/Makefile ++++ b/stdio-common/Makefile +@@ -76,7 +76,7 @@ $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)' endif @@ -232,10 +236,9 @@ diff -durN glibc-2.13.orig/stdio-common/Makefile glibc-2.13/stdio-common/Makefil CFLAGS-vfwprintf.c = -Wno-uninitialized CFLAGS-tst-printf.c = -Wno-format CFLAGS-tstdiomisc.c = -Wno-format -diff -durN glibc-2.13.orig/sunrpc/clnt_udp.c glibc-2.13/sunrpc/clnt_udp.c ---- glibc-2.13.orig/sunrpc/clnt_udp.c 2008-07-26 10:42:44.000000000 +0200 -+++ glibc-2.13/sunrpc/clnt_udp.c 2009-11-13 00:50:26.000000000 +0100 -@@ -456,7 +456,7 @@ +--- a/sunrpc/clnt_udp.c ++++ b/sunrpc/clnt_udp.c +@@ -462,7 +462,7 @@ while (inlen < 0 && errno == EINTR); if (inlen < 0) { diff --git a/packages/glibc/2.16.0/340-dl_execstack-PaX-support.patch b/packages/glibc/2.16.0/0020-dl_execstack-PaX-support.patch index 2402af0..cd60905 100644 --- a/packages/glibc/2.16.0/340-dl_execstack-PaX-support.patch +++ b/packages/glibc/2.16.0/0020-dl_execstack-PaX-support.patch @@ -8,10 +8,14 @@ Patch also NPTL. Bug #116086. <kevquinn@gentoo.org> (20 Dec 2005). -diff -durN glibc-2.13.orig/nptl/allocatestack.c glibc-2.13/nptl/allocatestack.c ---- glibc-2.13.orig/nptl/allocatestack.c 2009-01-29 21:34:16.000000000 +0100 -+++ glibc-2.13/nptl/allocatestack.c 2009-11-13 00:50:33.000000000 +0100 -@@ -329,7 +329,8 @@ +--- + nptl/allocatestack.c | 3 ++- + sysdeps/unix/sysv/linux/dl-execstack.c | 19 ++++++++++++++++--- + 2 files changed, 18 insertions(+), 4 deletions(-) + +--- a/nptl/allocatestack.c ++++ b/nptl/allocatestack.c +@@ -334,7 +334,8 @@ # error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP" #endif if (mprotect (stack, len, PROT_READ | PROT_WRITE | PROT_EXEC) != 0) @@ -21,10 +25,9 @@ diff -durN glibc-2.13.orig/nptl/allocatestack.c glibc-2.13/nptl/allocatestack.c return 0; } -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2.13/sysdeps/unix/sysv/linux/dl-execstack.c ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/dl-execstack.c 2006-01-08 09:21:15.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/dl-execstack.c 2009-11-13 00:50:33.000000000 +0100 -@@ -63,7 +63,10 @@ +--- a/sysdeps/unix/sysv/linux/dl-execstack.c ++++ b/sysdeps/unix/sysv/linux/dl-execstack.c +@@ -62,7 +62,10 @@ else # endif { @@ -36,7 +39,7 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2.13/sys goto out; } } -@@ -89,7 +92,12 @@ +@@ -88,7 +91,12 @@ page -= size; else { @@ -50,7 +53,7 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2.13/sys { result = errno; goto out; -@@ -115,7 +123,12 @@ +@@ -114,7 +122,12 @@ page += size; else { diff --git a/packages/glibc/2.16.0/350-pre20040117-pt_pax.patch b/packages/glibc/2.16.0/0021-pre20040117-pt_pax.patch index f8f6b83..544b3f6 100644 --- a/packages/glibc/2.16.0/350-pre20040117-pt_pax.patch +++ b/packages/glibc/2.16.0/0021-pre20040117-pt_pax.patch @@ -1,9 +1,12 @@ -diff -durN glibc-2.13.orig/elf/elf.h glibc-2.13/elf/elf.h ---- glibc-2.13.orig/elf/elf.h 2009-04-15 02:15:54.000000000 +0200 -+++ glibc-2.13/elf/elf.h 2009-11-13 00:50:35.000000000 +0100 -@@ -580,6 +580,7 @@ +--- + elf/elf.h | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +--- a/elf/elf.h ++++ b/elf/elf.h +@@ -581,6 +581,7 @@ #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ @@ -11,7 +14,7 @@ diff -durN glibc-2.13.orig/elf/elf.h glibc-2.13/elf/elf.h #define PT_LOSUNW 0x6ffffffa #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ -@@ -593,6 +594,18 @@ +@@ -594,6 +595,18 @@ #define PF_X (1 << 0) /* Segment is executable */ #define PF_W (1 << 1) /* Segment is writable */ #define PF_R (1 << 2) /* Segment is readable */ diff --git a/packages/glibc/2.16.0/360-tests-sandbox-libdl-paths.patch b/packages/glibc/2.16.0/0022-tests-sandbox-libdl-paths.patch index 9f78c52..0c51c88 100644 --- a/packages/glibc/2.16.0/360-tests-sandbox-libdl-paths.patch +++ b/packages/glibc/2.16.0/0022-tests-sandbox-libdl-paths.patch @@ -15,10 +15,24 @@ Fix by Wormo http://bugs.gentoo.org/56898 -diff -durN glibc-2.13.orig/grp/tst_fgetgrent.sh glibc-2.13/grp/tst_fgetgrent.sh ---- glibc-2.13.orig/grp/tst_fgetgrent.sh 2001-07-06 06:54:46.000000000 +0200 -+++ glibc-2.13/grp/tst_fgetgrent.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -24,7 +24,8 @@ +--- + grp/tst_fgetgrent.sh | 3 ++- + iconvdata/run-iconv-test.sh | 2 +- + iconvdata/tst-table.sh | 5 ++++- + intl/tst-codeset.sh | 3 +++ + intl/tst-gettext.sh | 5 ++++- + intl/tst-gettext2.sh | 5 ++++- + intl/tst-translit.sh | 5 ++++- + malloc/tst-mtrace.sh | 5 ++++- + nptl/tst-tls6.sh | 4 ++-- + posix/globtest.sh | 2 +- + posix/tst-getconf.sh | 5 ++++- + posix/wordexp-tst.sh | 5 ++++- + 12 files changed, 37 insertions(+), 12 deletions(-) + +--- a/grp/tst_fgetgrent.sh ++++ b/grp/tst_fgetgrent.sh +@@ -23,7 +23,8 @@ rtld_installed_name=$1; shift testout=${common_objpfx}/grp/tst_fgetgrent.out @@ -28,10 +42,9 @@ diff -durN glibc-2.13.orig/grp/tst_fgetgrent.sh glibc-2.13/grp/tst_fgetgrent.sh result=0 -diff -durN glibc-2.13.orig/iconvdata/run-iconv-test.sh glibc-2.13/iconvdata/run-iconv-test.sh ---- glibc-2.13.orig/iconvdata/run-iconv-test.sh 2008-05-15 03:59:44.000000000 +0200 -+++ glibc-2.13/iconvdata/run-iconv-test.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -34,7 +34,7 @@ +--- a/iconvdata/run-iconv-test.sh ++++ b/iconvdata/run-iconv-test.sh +@@ -33,7 +33,7 @@ export GCONV_PATH # We have to have some directories in the library path. @@ -40,10 +53,9 @@ diff -durN glibc-2.13.orig/iconvdata/run-iconv-test.sh glibc-2.13/iconvdata/run- # How the start the iconv(1) program. ICONV='$codir/elf/ld.so --library-path $LIBPATH --inhibit-rpath ${from}.so \ -diff -durN glibc-2.13.orig/iconvdata/tst-table.sh glibc-2.13/iconvdata/tst-table.sh ---- glibc-2.13.orig/iconvdata/tst-table.sh 2002-04-24 23:39:35.000000000 +0200 -+++ glibc-2.13/iconvdata/tst-table.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -59,8 +59,11 @@ +--- a/iconvdata/tst-table.sh ++++ b/iconvdata/tst-table.sh +@@ -58,8 +58,11 @@ irreversible=${charset}.irreversible fi @@ -56,10 +68,9 @@ diff -durN glibc-2.13.orig/iconvdata/tst-table.sh glibc-2.13/iconvdata/tst-table ${objpfx}tst-table-from ${charset} \ > ${objpfx}tst-${charset}.table -diff -durN glibc-2.13.orig/intl/tst-codeset.sh glibc-2.13/intl/tst-codeset.sh ---- glibc-2.13.orig/intl/tst-codeset.sh 2005-04-06 04:18:35.000000000 +0200 -+++ glibc-2.13/intl/tst-codeset.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -37,6 +37,9 @@ +--- a/intl/tst-codeset.sh ++++ b/intl/tst-codeset.sh +@@ -36,6 +36,9 @@ LOCPATH=${common_objpfx}localedata export LOCPATH @@ -69,10 +80,9 @@ diff -durN glibc-2.13.orig/intl/tst-codeset.sh glibc-2.13/intl/tst-codeset.sh ${common_objpfx}elf/ld.so --library-path $common_objpfx \ ${objpfx}tst-codeset > ${objpfx}tst-codeset.out -diff -durN glibc-2.13.orig/intl/tst-gettext.sh glibc-2.13/intl/tst-gettext.sh ---- glibc-2.13.orig/intl/tst-gettext.sh 2004-08-15 21:28:18.000000000 +0200 -+++ glibc-2.13/intl/tst-gettext.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -51,9 +51,12 @@ +--- a/intl/tst-gettext.sh ++++ b/intl/tst-gettext.sh +@@ -50,9 +50,12 @@ LOCPATH=${common_objpfx}localedata export LOCPATH @@ -86,10 +96,9 @@ diff -durN glibc-2.13.orig/intl/tst-gettext.sh glibc-2.13/intl/tst-gettext.sh ${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir exit $? -diff -durN glibc-2.13.orig/intl/tst-gettext2.sh glibc-2.13/intl/tst-gettext2.sh ---- glibc-2.13.orig/intl/tst-gettext2.sh 2005-05-04 19:54:48.000000000 +0200 -+++ glibc-2.13/intl/tst-gettext2.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -65,8 +65,11 @@ +--- a/intl/tst-gettext2.sh ++++ b/intl/tst-gettext2.sh +@@ -64,8 +64,11 @@ LOCPATH=${objpfx}domaindir export LOCPATH @@ -102,10 +111,9 @@ diff -durN glibc-2.13.orig/intl/tst-gettext2.sh glibc-2.13/intl/tst-gettext2.sh ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir && cmp ${objpfx}tst-gettext2.out - <<EOF String1 - Lang1: 1st string -diff -durN glibc-2.13.orig/intl/tst-translit.sh glibc-2.13/intl/tst-translit.sh ---- glibc-2.13.orig/intl/tst-translit.sh 2005-05-04 19:56:10.000000000 +0200 -+++ glibc-2.13/intl/tst-translit.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -36,7 +36,10 @@ +--- a/intl/tst-translit.sh ++++ b/intl/tst-translit.sh +@@ -35,7 +35,10 @@ LOCPATH=${common_objpfx}localedata export LOCPATH @@ -117,10 +125,9 @@ diff -durN glibc-2.13.orig/intl/tst-translit.sh glibc-2.13/intl/tst-translit.sh ${objpfx}tst-translit > ${objpfx}tst-translit.out ${objpfx}domaindir exit $? -diff -durN glibc-2.13.orig/malloc/tst-mtrace.sh glibc-2.13/malloc/tst-mtrace.sh ---- glibc-2.13.orig/malloc/tst-mtrace.sh 2005-10-15 01:40:35.000000000 +0200 -+++ glibc-2.13/malloc/tst-mtrace.sh 2009-11-13 00:50:37.000000000 +0100 -@@ -24,9 +24,12 @@ +--- a/malloc/tst-mtrace.sh ++++ b/malloc/tst-mtrace.sh +@@ -23,9 +23,12 @@ status=0 trap "rm -f ${common_objpfx}malloc/tst-mtrace.leak; exit 1" 1 2 15 @@ -134,9 +141,8 @@ diff -durN glibc-2.13.orig/malloc/tst-mtrace.sh glibc-2.13/malloc/tst-mtrace.sh ${common_objpfx}malloc/tst-mtrace || status=1 if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then -diff -durN glibc-2.13.orig/nptl/tst-tls6.sh glibc-2.13/nptl/tst-tls6.sh ---- glibc-2.13.orig/nptl/tst-tls6.sh 2003-09-03 00:02:59.000000000 +0200 -+++ glibc-2.13/nptl/tst-tls6.sh 2009-11-13 00:50:37.000000000 +0100 +--- a/nptl/tst-tls6.sh ++++ b/nptl/tst-tls6.sh @@ -5,8 +5,8 @@ rtld_installed_name=$1; shift logfile=$common_objpfx/nptl/tst-tls6.out @@ -148,9 +154,8 @@ diff -durN glibc-2.13.orig/nptl/tst-tls6.sh glibc-2.13/nptl/tst-tls6.sh tst_tls5="${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ ${common_objpfx}/nptl/tst-tls5" -diff -durN glibc-2.13.orig/posix/globtest.sh glibc-2.13/posix/globtest.sh ---- glibc-2.13.orig/posix/globtest.sh 2008-12-06 07:05:39.000000000 +0100 -+++ glibc-2.13/posix/globtest.sh 2009-11-13 00:50:37.000000000 +0100 +--- a/posix/globtest.sh ++++ b/posix/globtest.sh @@ -18,7 +18,7 @@ esac @@ -160,9 +165,8 @@ diff -durN glibc-2.13.orig/posix/globtest.sh glibc-2.13/posix/globtest.sh # Since we use `sort' we must make sure to use the same locale everywhere. LC_ALL=C -diff -durN glibc-2.13.orig/posix/tst-getconf.sh glibc-2.13/posix/tst-getconf.sh ---- glibc-2.13.orig/posix/tst-getconf.sh 2002-09-01 13:11:25.000000000 +0200 -+++ glibc-2.13/posix/tst-getconf.sh 2009-11-13 00:50:37.000000000 +0100 +--- a/posix/tst-getconf.sh ++++ b/posix/tst-getconf.sh @@ -10,7 +10,10 @@ else rtld_installed_name=$1; shift @@ -175,9 +179,8 @@ diff -durN glibc-2.13.orig/posix/tst-getconf.sh glibc-2.13/posix/tst-getconf.sh } fi -diff -durN glibc-2.13.orig/posix/wordexp-tst.sh glibc-2.13/posix/wordexp-tst.sh ---- glibc-2.13.orig/posix/wordexp-tst.sh 2000-10-20 18:23:30.000000000 +0200 -+++ glibc-2.13/posix/wordexp-tst.sh 2009-11-13 00:50:37.000000000 +0100 +--- a/posix/wordexp-tst.sh ++++ b/posix/wordexp-tst.sh @@ -19,8 +19,11 @@ " export IFS diff --git a/packages/glibc/2.16.0/380-dont-build-timezone.patch b/packages/glibc/2.16.0/0023-dont-build-timezone.patch index 11c358e..dca2a27 100644 --- a/packages/glibc/2.16.0/380-dont-build-timezone.patch +++ b/packages/glibc/2.16.0/0023-dont-build-timezone.patch @@ -1,9 +1,12 @@ timezone data has been split into the package sys-libs/timezone-data -diff -durN glibc-2.13.orig/Makeconfig glibc-2.13/Makeconfig ---- glibc-2.13.orig/Makeconfig 2009-11-13 00:50:13.000000000 +0100 -+++ glibc-2.13/Makeconfig 2009-11-13 00:50:41.000000000 +0100 -@@ -944,7 +944,7 @@ +--- + Makeconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/Makeconfig ++++ b/Makeconfig +@@ -926,7 +926,7 @@ stdlib stdio-common libio malloc string wcsmbs time dirent \ grp pwd posix io termios resource misc socket sysvipc gmon \ gnulib iconv iconvdata wctype manual shadow gshadow po argp \ diff --git a/packages/glibc/2.16.0/400-alpha-xstat.patch b/packages/glibc/2.16.0/0024-alpha-xstat.patch index 6e4ab8f..a329214 100644 --- a/packages/glibc/2.16.0/400-alpha-xstat.patch +++ b/packages/glibc/2.16.0/0024-alpha-xstat.patch @@ -1,7 +1,10 @@ -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/kernel-features.h 2009-05-09 08:54:20.000000000 +0200 -+++ glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h 2009-11-13 00:50:45.000000000 +0100 -@@ -386,6 +386,11 @@ +--- + sysdeps/unix/sysv/linux/kernel-features.h | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/sysdeps/unix/sysv/linux/kernel-features.h ++++ b/sysdeps/unix/sysv/linux/kernel-features.h +@@ -285,6 +285,11 @@ # define __ASSUME_GETDENTS32_D_TYPE 1 #endif diff --git a/packages/glibc/2.16.0/0025-alpha-creat.patch b/packages/glibc/2.16.0/0025-alpha-creat.patch new file mode 100644 index 0000000..6ef5278 --- /dev/null +++ b/packages/glibc/2.16.0/0025-alpha-creat.patch @@ -0,0 +1,17 @@ +alpha does not have a __NR_creat + +http://bugs.gentoo.org/227275 +http://sourceware.org/bugzilla/show_bug.cgi?id=6650 + +--- + sysdeps/unix/sysv/linux/wordsize-64/creat64.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/sysdeps/unix/sysv/linux/wordsize-64/creat64.c ++++ b/sysdeps/unix/sysv/linux/wordsize-64/creat64.c +@@ -1 +1,5 @@ + /* Defined as alias for the syscall. */ ++#include <sysdep.h> ++#ifndef __NR_creat ++#include "../../../../../io/creat64.c" ++#endif diff --git a/packages/glibc/2.16.0/490-alpha_alpha-add-fdatasync-support.patch b/packages/glibc/2.16.0/0026-alpha_alpha-add-fdatasync-support.patch index acf250d..159d8d0 100644 --- a/packages/glibc/2.16.0/490-alpha_alpha-add-fdatasync-support.patch +++ b/packages/glibc/2.16.0/0026-alpha_alpha-add-fdatasync-support.patch @@ -13,10 +13,9 @@ sysdeps/unix/sysv/linux/syscalls.list | 1 4 files changed, 76 insertions(+), 1 deletion(-) -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/Makefile glibc-2.13/sysdeps/unix/sysv/linux/Makefile ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/Makefile 2009-03-02 17:15:13.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/Makefile 2009-11-13 00:51:04.000000000 +0100 -@@ -21,6 +21,7 @@ +--- a/sysdeps/unix/sysv/linux/Makefile ++++ b/sysdeps/unix/sysv/linux/Makefile +@@ -23,6 +23,7 @@ setfsuid setfsgid makedev epoll_pwait signalfd \ eventfd eventfd_read eventfd_write prlimit @@ -24,9 +23,8 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/Makefile glibc-2.13/sysdeps/u CFLAGS-gethostid.c = -fexceptions CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=0x80000000-__getpagesize()" -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/fdatasync.c glibc-2.13/sysdeps/unix/sysv/linux/fdatasync.c ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/fdatasync.c 1970-01-01 01:00:00.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/fdatasync.c 2009-11-13 00:51:04.000000000 +0100 +--- /dev/null ++++ b/sysdeps/unix/sysv/linux/fdatasync.c @@ -0,0 +1,69 @@ +/* fdatasync -- synchronize at least the data part of a file with + the underlying media. Linux version. @@ -97,10 +95,9 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/fdatasync.c glibc-2.13/sysdep + +weak_alias (__fdatasync, fdatasync) + -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/kernel-features.h 2009-11-13 00:50:45.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h 2009-11-13 00:51:04.000000000 +0100 -@@ -459,6 +459,12 @@ +--- a/sysdeps/unix/sysv/linux/kernel-features.h ++++ b/sysdeps/unix/sysv/linux/kernel-features.h +@@ -357,6 +357,12 @@ # define __ASSUME_FUTEX_LOCK_PI 1 #endif @@ -113,10 +110,9 @@ diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2.13/ /* Support for utimensat syscall was added in 2.6.22, on SH only after 2.6.22-rc1. */ #if __LINUX_KERNEL_VERSION >= 0x020616 \ -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/syscalls.list glibc-2.13/sysdeps/unix/sysv/linux/syscalls.list ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/syscalls.list 2008-08-02 01:29:08.000000000 +0200 -+++ glibc-2.13/sysdeps/unix/sysv/linux/syscalls.list 2009-11-13 00:51:04.000000000 +0100 -@@ -11,7 +11,6 @@ +--- a/sysdeps/unix/sysv/linux/syscalls.list ++++ b/sysdeps/unix/sysv/linux/syscalls.list +@@ -13,7 +13,6 @@ epoll_create1 EXTRA epoll_create1 i:i epoll_create1 epoll_ctl EXTRA epoll_ctl i:iiip epoll_ctl epoll_wait EXTRA epoll_wait Ci:ipii epoll_wait diff --git a/packages/glibc/2.16.0/500-fix-parsing-of-numeric-hosts-in-gethostbyname_r.patch b/packages/glibc/2.16.0/0027-fix-parsing-of-numeric-hosts-in-gethostbyname_r.patch index 803ac6f..b366805 100644 --- a/packages/glibc/2.16.0/500-fix-parsing-of-numeric-hosts-in-gethostbyname_r.patch +++ b/packages/glibc/2.16.0/0027-fix-parsing-of-numeric-hosts-in-gethostbyname_r.patch @@ -14,7 +14,7 @@ Ported from master, fixes CVE-2015-0235. --- a/nss/Makefile +++ b/nss/Makefile -@@ -38,7 +38,7 @@ install-bin := getent makedb +@@ -38,7 +38,7 @@ makedb-modules = xmalloc hash-string extra-objs += $(makedb-modules:=.o) @@ -25,7 +25,7 @@ Ported from master, fixes CVE-2015-0235. include ../Makeconfig --- a/nss/digits_dots.c +++ b/nss/digits_dots.c -@@ -46,7 +46,10 @@ __nss_hostname_digits_dots (const char * +@@ -46,7 +46,10 @@ { if (h_errnop) *h_errnop = NETDB_INTERNAL; @@ -37,7 +37,7 @@ Ported from master, fixes CVE-2015-0235. return -1; } -@@ -83,14 +86,16 @@ __nss_hostname_digits_dots (const char * +@@ -83,14 +86,16 @@ } size_needed = (sizeof (*host_addr) @@ -56,7 +56,7 @@ Ported from master, fixes CVE-2015-0235. __set_errno (ERANGE); goto done; } -@@ -109,7 +114,7 @@ __nss_hostname_digits_dots (const char * +@@ -109,7 +114,7 @@ *buffer_size = 0; __set_errno (save); if (h_errnop != NULL) @@ -65,7 +65,7 @@ Ported from master, fixes CVE-2015-0235. *result = NULL; goto done; } -@@ -149,7 +154,9 @@ __nss_hostname_digits_dots (const char * +@@ -149,7 +154,9 @@ if (! ok) { *h_errnop = HOST_NOT_FOUND; @@ -76,7 +76,7 @@ Ported from master, fixes CVE-2015-0235. *result = NULL; goto done; } -@@ -190,7 +197,7 @@ __nss_hostname_digits_dots (const char * +@@ -190,7 +197,7 @@ if (buffer_size == NULL) *status = NSS_STATUS_SUCCESS; else @@ -85,7 +85,7 @@ Ported from master, fixes CVE-2015-0235. goto done; } -@@ -201,15 +208,6 @@ __nss_hostname_digits_dots (const char * +@@ -201,15 +208,6 @@ if ((isxdigit (name[0]) && strchr (name, ':') != NULL) || name[0] == ':') { @@ -101,7 +101,7 @@ Ported from master, fixes CVE-2015-0235. switch (af) { default: -@@ -225,7 +223,10 @@ __nss_hostname_digits_dots (const char * +@@ -225,7 +223,10 @@ /* This is not possible. We cannot represent an IPv6 address in an `struct in_addr' variable. */ *h_errnop = HOST_NOT_FOUND; @@ -113,7 +113,7 @@ Ported from master, fixes CVE-2015-0235. goto done; case AF_INET6: -@@ -233,42 +234,6 @@ __nss_hostname_digits_dots (const char * +@@ -233,42 +234,6 @@ break; } @@ -156,7 +156,7 @@ Ported from master, fixes CVE-2015-0235. for (cp = name;; ++cp) { if (!*cp) -@@ -281,7 +246,9 @@ __nss_hostname_digits_dots (const char * +@@ -281,7 +246,9 @@ if (inet_pton (AF_INET6, name, host_addr) <= 0) { *h_errnop = HOST_NOT_FOUND; @@ -210,7 +210,7 @@ Ported from master, fixes CVE-2015-0235. +#include "../test-skeleton.c" --- a/nss/getXXbyYY_r.c +++ b/nss/getXXbyYY_r.c -@@ -179,6 +179,9 @@ INTERNAL (REENTRANT_NAME) (ADD_PARAMS, L +@@ -179,6 +179,9 @@ case -1: return errno; case 1: diff --git a/packages/glibc/2.16.0/560-ppc-atomic.patch b/packages/glibc/2.16.0/0028-ppc-atomic.patch index ee1cb90..5340937 100644 --- a/packages/glibc/2.16.0/560-ppc-atomic.patch +++ b/packages/glibc/2.16.0/0028-ppc-atomic.patch @@ -1,15 +1,14 @@ sniped from suse -Index: sysdeps/powerpc/bits/atomic.h -=================================================================== -RCS file: /cvs/glibc/libc/sysdeps/powerpc/bits/atomic.h,v -retrieving revision 1.17 -diff -u -a -p -r1.17 atomic.h +--- + sysdeps/powerpc/bits/atomic.h | 66 ++++++++++----------- + sysdeps/powerpc/powerpc32/bits/atomic.h | 16 ++--- + sysdeps/powerpc/powerpc64/bits/atomic.h | 98 ++++++++++++++++---------------- + 3 files changed, 90 insertions(+), 90 deletions(-) -diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powerpc/bits/atomic.h ---- glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h 2007-03-26 22:15:28.000000000 +0200 -+++ glibc-2.13/sysdeps/powerpc/bits/atomic.h 2009-11-13 00:51:19.000000000 +0100 -@@ -85,14 +85,14 @@ +--- a/sysdeps/powerpc/bits/atomic.h ++++ b/sysdeps/powerpc/bits/atomic.h +@@ -84,14 +84,14 @@ __typeof (*(mem)) __tmp; \ __typeof (mem) __memp = (mem); \ __asm __volatile ( \ @@ -28,7 +27,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __tmp; \ }) -@@ -102,14 +102,14 @@ +@@ -101,14 +101,14 @@ __typeof (*(mem)) __tmp; \ __typeof (mem) __memp = (mem); \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -47,7 +46,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __tmp; \ }) -@@ -118,12 +118,12 @@ +@@ -117,12 +117,12 @@ ({ \ __typeof (*mem) __val; \ __asm __volatile ( \ @@ -64,7 +63,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __val; \ }) -@@ -132,11 +132,11 @@ +@@ -131,11 +131,11 @@ ({ \ __typeof (*mem) __val; \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -80,7 +79,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __val; \ }) -@@ -144,12 +144,12 @@ +@@ -143,12 +143,12 @@ #define __arch_atomic_exchange_and_add_32(mem, value) \ ({ \ __typeof (*mem) __val, __tmp; \ @@ -98,7 +97,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __val; \ }) -@@ -157,12 +157,12 @@ +@@ -156,12 +156,12 @@ #define __arch_atomic_increment_val_32(mem) \ ({ \ __typeof (*(mem)) __val; \ @@ -115,7 +114,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __val; \ }) -@@ -170,27 +170,27 @@ +@@ -169,27 +169,27 @@ #define __arch_atomic_decrement_val_32(mem) \ ({ \ __typeof (*(mem)) __val; \ @@ -151,10 +150,9 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/bits/atomic.h glibc-2.13/sysdeps/powe : "cr0", "memory"); \ __val; \ }) -diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2.13/sysdeps/powerpc/powerpc32/bits/atomic.h ---- glibc-2.13.orig/sysdeps/powerpc/powerpc32/bits/atomic.h 2007-03-26 22:15:45.000000000 +0200 -+++ glibc-2.13/sysdeps/powerpc/powerpc32/bits/atomic.h 2009-11-13 00:51:19.000000000 +0100 -@@ -44,14 +44,14 @@ +--- a/sysdeps/powerpc/powerpc32/bits/atomic.h ++++ b/sysdeps/powerpc/powerpc32/bits/atomic.h +@@ -43,14 +43,14 @@ ({ \ unsigned int __tmp; \ __asm __volatile ( \ @@ -173,7 +171,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp != 0; \ }) -@@ -60,14 +60,14 @@ +@@ -59,14 +59,14 @@ ({ \ unsigned int __tmp; \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -192,10 +190,9 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp != 0; \ }) -diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sysdeps/powerpc/powerpc64/bits/atomic.h ---- glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h 2007-03-26 22:16:03.000000000 +0200 -+++ glibc-2.13/sysdeps/powerpc/powerpc64/bits/atomic.h 2009-11-13 00:51:19.000000000 +0100 -@@ -44,14 +44,14 @@ +--- a/sysdeps/powerpc/powerpc64/bits/atomic.h ++++ b/sysdeps/powerpc/powerpc64/bits/atomic.h +@@ -43,14 +43,14 @@ ({ \ unsigned int __tmp, __tmp2; \ __asm __volatile (" clrldi %1,%1,32\n" \ @@ -214,7 +211,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp != 0; \ }) -@@ -61,14 +61,14 @@ +@@ -60,14 +60,14 @@ unsigned int __tmp, __tmp2; \ __asm __volatile (__ARCH_REL_INSTR "\n" \ " clrldi %1,%1,32\n" \ @@ -233,7 +230,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp != 0; \ }) -@@ -82,14 +82,14 @@ +@@ -81,14 +81,14 @@ ({ \ unsigned long __tmp; \ __asm __volatile ( \ @@ -252,7 +249,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp != 0; \ }) -@@ -98,14 +98,14 @@ +@@ -97,14 +97,14 @@ ({ \ unsigned long __tmp; \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -271,7 +268,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp != 0; \ }) -@@ -115,14 +115,14 @@ +@@ -114,14 +114,14 @@ __typeof (*(mem)) __tmp; \ __typeof (mem) __memp = (mem); \ __asm __volatile ( \ @@ -290,7 +287,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp; \ }) -@@ -132,14 +132,14 @@ +@@ -131,14 +131,14 @@ __typeof (*(mem)) __tmp; \ __typeof (mem) __memp = (mem); \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -309,7 +306,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __tmp; \ }) -@@ -148,12 +148,12 @@ +@@ -147,12 +147,12 @@ ({ \ __typeof (*mem) __val; \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -326,7 +323,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __val; \ }) -@@ -162,11 +162,11 @@ +@@ -161,11 +161,11 @@ ({ \ __typeof (*mem) __val; \ __asm __volatile (__ARCH_REL_INSTR "\n" \ @@ -342,7 +339,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __val; \ }) -@@ -174,12 +174,12 @@ +@@ -173,12 +173,12 @@ #define __arch_atomic_exchange_and_add_64(mem, value) \ ({ \ __typeof (*mem) __val, __tmp; \ @@ -360,7 +357,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __val; \ }) -@@ -187,12 +187,12 @@ +@@ -186,12 +186,12 @@ #define __arch_atomic_increment_val_64(mem) \ ({ \ __typeof (*(mem)) __val; \ @@ -377,7 +374,7 @@ diff -durN glibc-2.13.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2.13/sy : "cr0", "memory"); \ __val; \ }) -@@ -200,27 +200,27 @@ +@@ -199,27 +199,27 @@ #define __arch_atomic_decrement_val_64(mem) \ ({ \ __typeof (*(mem)) __val; \ diff --git a/packages/glibc/2.16.0/630-mips_shn_undef-hack.patch b/packages/glibc/2.16.0/0029-mips_shn_undef-hack.patch index 791d76c..5b82f13 100644 --- a/packages/glibc/2.16.0/630-mips_shn_undef-hack.patch +++ b/packages/glibc/2.16.0/0029-mips_shn_undef-hack.patch @@ -1,10 +1,13 @@ -diff -durN glibc-2.13.orig/elf/dl-lookup.c glibc-2.13/elf/dl-lookup.c ---- glibc-2.13.orig/elf/dl-lookup.c 2009-03-30 23:14:32.000000000 +0200 -+++ glibc-2.13/elf/dl-lookup.c 2009-11-13 00:51:36.000000000 +0100 -@@ -301,6 +301,12 @@ +--- + elf/dl-lookup.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +--- a/elf/dl-lookup.c ++++ b/elf/dl-lookup.c +@@ -299,6 +299,12 @@ /* FALLTHROUGH */ case STB_GLOBAL: - success: + success: +#ifdef __mips__ + /* HACK: MIPS marks its lazy evaluation stubs with SHN_UNDEF + symbols, we skip them. */ diff --git a/packages/glibc/2.16.0/640-alpha-atfcts.patch b/packages/glibc/2.16.0/0030-alpha-atfcts.patch index 7a8a94a..5f138a9 100644 --- a/packages/glibc/2.16.0/640-alpha-atfcts.patch +++ b/packages/glibc/2.16.0/0030-alpha-atfcts.patch @@ -1,6 +1,10 @@ ---- glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h 2010-07-27 14:34:39.000000000 +0300 -+++ glibc-2.13/sysdeps/unix/sysv/linux/kernel-features.h.new 2011-03-10 18:54:37.686795979 +0200 -@@ -437,7 +437,8 @@ +--- + sysdeps/unix/sysv/linux/kernel-features.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/sysdeps/unix/sysv/linux/kernel-features.h ++++ b/sysdeps/unix/sysv/linux/kernel-features.h +@@ -335,7 +335,8 @@ the code. On PPC they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1. */ #if __LINUX_KERNEL_VERSION >= 0x020611 \ diff --git a/packages/glibc/2.16.0/650-syslog.patch b/packages/glibc/2.16.0/0031-syslog.patch index c20cafc..cd3c426 100644 --- a/packages/glibc/2.16.0/650-syslog.patch +++ b/packages/glibc/2.16.0/0031-syslog.patch @@ -1,7 +1,10 @@ -diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c ---- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200 -+++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200 -@@ -152,7 +152,7 @@ +--- + misc/syslog.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/misc/syslog.c ++++ b/misc/syslog.c +@@ -150,7 +150,7 @@ #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID /* Check for invalid bits. */ if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) { diff --git a/packages/glibc/2.16.0/0032-debug-readlink_chk-readklinkat_chk.patch b/packages/glibc/2.16.0/0032-debug-readlink_chk-readklinkat_chk.patch new file mode 100644 index 0000000..44d596a --- /dev/null +++ b/packages/glibc/2.16.0/0032-debug-readlink_chk-readklinkat_chk.patch @@ -0,0 +1,27 @@ +--- + debug/readlink_chk.c | 2 +- + debug/readlinkat_chk.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/debug/readlink_chk.c ++++ b/debug/readlink_chk.c +@@ -24,7 +24,7 @@ + + + ssize_t +-__readlink_chk (const char *path, void *buf, size_t len, size_t buflen) ++__readlink_chk (const char *path, char *buf, size_t len, size_t buflen) + { + if (len > buflen) + __chk_fail (); +--- a/debug/readlinkat_chk.c ++++ b/debug/readlinkat_chk.c +@@ -20,7 +20,7 @@ + + + ssize_t +-__readlinkat_chk (int fd, const char *path, void *buf, size_t len, ++__readlinkat_chk (int fd, const char *path, char *buf, size_t len, + size_t buflen) + { + if (len > buflen) diff --git a/packages/glibc/2.16.0/920-fix-rpc_parse-format.patch b/packages/glibc/2.16.0/0033-fix-rpc_parse-format.patch index 37e58da..341d541 100644 --- a/packages/glibc/2.16.0/920-fix-rpc_parse-format.patch +++ b/packages/glibc/2.16.0/0033-fix-rpc_parse-format.patch @@ -45,11 +45,13 @@ Date: Tue Nov 8 23:44:51 2016 +0000 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests). [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule. -diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c -index 1a1df6d8c2..505a6554cf 100644 +--- + sunrpc/rpc_parse.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + --- a/sunrpc/rpc_parse.c +++ b/sunrpc/rpc_parse.c -@@ -521,7 +521,7 @@ static void +@@ -521,7 +521,7 @@ get_prog_declaration (declaration * dec, defkind dkind, int num /* arg number */ ) { token tok; diff --git a/packages/glibc/2.16.0/940-nis-bogus-conditional.patch b/packages/glibc/2.16.0/0034-nis-bogus-conditional.patch index 09b38cf..b8b806c 100644 --- a/packages/glibc/2.16.0/940-nis-bogus-conditional.patch +++ b/packages/glibc/2.16.0/0034-nis-bogus-conditional.patch @@ -47,11 +47,13 @@ Date: Wed Dec 21 23:44:01 2016 +0000 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): Compare name == NULL, not name != NULL. -diff --git a/nis/nss_nisplus/nisplus-alias.c b/nis/nss_nisplus/nisplus-alias.c -index 7f698b4e6d..cb5acce01d 100644 +--- + nis/nss_nisplus/nisplus-alias.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + --- a/nis/nss_nisplus/nisplus-alias.c +++ b/nis/nss_nisplus/nisplus-alias.c -@@ -291,7 +291,7 @@ _nss_nisplus_getaliasbyname_r (const char *name, struct aliasent *alias, +@@ -292,7 +292,7 @@ return status; } diff --git a/packages/glibc/2.16.0/998-obstack-common.patch b/packages/glibc/2.16.0/0035-obstack-common.patch index 4b95f06..ad1f8eb 100644 --- a/packages/glibc/2.16.0/998-obstack-common.patch +++ b/packages/glibc/2.16.0/0035-obstack-common.patch @@ -15,11 +15,13 @@ Date: Wed May 15 20:28:08 2013 +0200 * malloc/obstack.c (_obstack_compat): Add initializer. - -diff --git a/malloc/obstack.c b/malloc/obstack.c -index 25a90514f7..c3c7db4a96 100644 +--- + malloc/obstack.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + --- a/malloc/obstack.c +++ b/malloc/obstack.c -@@ -115,7 +115,7 @@ int obstack_exit_failure = EXIT_FAILURE; +@@ -116,7 +116,7 @@ /* A looong time ago (before 1994, anyway; we're not sure) this global variable was used by non-GNU-C macros to avoid multiple evaluation. The GNU C library still exports it because somebody might use it. */ diff --git a/packages/glibc/2.16.0/999-new-tools.patch b/packages/glibc/2.16.0/0036-new-tools.patch index e753365..8805a3e 100644 --- a/packages/glibc/2.16.0/999-new-tools.patch +++ b/packages/glibc/2.16.0/0036-new-tools.patch @@ -1,7 +1,11 @@ -diff -urpN glibc-2.16.0.orig/configure glibc-2.16.0/configure ---- glibc-2.16.0.orig/configure 2012-06-30 12:12:34.000000000 -0700 -+++ glibc-2.16.0/configure 2017-02-08 00:39:03.778150878 -0800 -@@ -4845,7 +4845,7 @@ $as_echo_n "checking version of $MAKE... +--- + configure | 4 ++-- + configure.in | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +--- a/configure ++++ b/configure +@@ -4845,7 +4845,7 @@ ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; @@ -10,7 +14,7 @@ diff -urpN glibc-2.16.0.orig/configure glibc-2.16.0/configure ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; -@@ -5032,7 +5032,7 @@ else +@@ -5032,7 +5032,7 @@ # Found it, now check the version. { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5 $as_echo_n "checking version of $SED... " >&6; } @@ -19,10 +23,9 @@ diff -urpN glibc-2.16.0.orig/configure glibc-2.16.0/configure case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 3.0[2-9]*|3.[1-9]*|[4-9]*) -diff -urpN glibc-2.16.0.orig/configure.in glibc-2.16.0/configure.in ---- glibc-2.16.0.orig/configure.in 2012-06-30 12:12:34.000000000 -0700 -+++ glibc-2.16.0/configure.in 2017-02-08 00:14:07.996446792 -0800 -@@ -940,7 +940,7 @@ AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}g +--- a/configure.in ++++ b/configure.in +@@ -940,7 +940,7 @@ critic_missing="$critic_missing gcc") AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version, [GNU Make[^0-9]*\([0-9][0-9.]*\)], diff --git a/packages/glibc/2.16.0/430-alpha-creat.patch b/packages/glibc/2.16.0/430-alpha-creat.patch deleted file mode 100644 index da6ddda..0000000 --- a/packages/glibc/2.16.0/430-alpha-creat.patch +++ /dev/null @@ -1,14 +0,0 @@ -alpha does not have a __NR_creat - -http://bugs.gentoo.org/227275 -http://sourceware.org/bugzilla/show_bug.cgi?id=6650 - -diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2.13/sysdeps/unix/sysv/linux/wordsize-64/creat64.c ---- glibc-2.13.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100 -+++ glibc-2.13/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-11-13 00:50:51.000000000 +0100 -@@ -1 +1,5 @@ - /* Defined as alias for the syscall. */ -+#include <sysdep.h> -+#ifndef __NR_creat -+#include "../../../../../io/creat64.c" -+#endif diff --git a/packages/glibc/2.16.0/660-debug-readlink_chk-readklinkat_chk.patch b/packages/glibc/2.16.0/660-debug-readlink_chk-readklinkat_chk.patch deleted file mode 100644 index a5a7052..0000000 --- a/packages/glibc/2.16.0/660-debug-readlink_chk-readklinkat_chk.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -dur glibc-cvs-2.9.orig/debug/readlink_chk.c glibc-cvs-2.9/debug/readlink_chk.c ---- glibc-cvs-2.9.orig/debug/readlink_chk.c 2005-03-01 01:41:15.000000000 +0100 -+++ glibc-cvs-2.9/debug/readlink_chk.c 2009-06-01 10:59:37.000000000 +0200 -@@ -25,7 +25,7 @@ - - - ssize_t --__readlink_chk (const char *path, void *buf, size_t len, size_t buflen) -+__readlink_chk (const char *path, char *buf, size_t len, size_t buflen) - { - if (len > buflen) - __chk_fail (); -diff -dur glibc-cvs-2.9.orig/debug/readlinkat_chk.c glibc-cvs-2.9/debug/readlinkat_chk.c ---- glibc-cvs-2.9.orig/debug/readlinkat_chk.c 2006-04-24 18:56:12.000000000 +0200 -+++ glibc-cvs-2.9/debug/readlinkat_chk.c 2009-06-01 11:07:26.000000000 +0200 -@@ -21,7 +21,7 @@ - - - ssize_t --__readlinkat_chk (int fd, const char *path, void *buf, size_t len, -+__readlinkat_chk (int fd, const char *path, char *buf, size_t len, - size_t buflen) - { - if (len > buflen) |