Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=3efe863be0b23cc8344db3928caf531f8e4b8865
commit 3efe863be0b23cc8344db3928caf531f8e4b8865 Author: James Buren <[email protected]> Date: Mon May 7 21:03:10 2012 -0500 glibc-2.15-2-x86_64 * add patch to fix nvidia driver diff --git a/source/base/glibc/FrugalBuild b/source/base/glibc/FrugalBuild index 6ff2e40..8fdda12 100644 --- a/source/base/glibc/FrugalBuild +++ b/source/base/glibc/FrugalBuild @@ -11,7 +11,7 @@ USE_GLIBC_PORTS=${USE_GLIBC_PORTS:-$USE_GLIBC_PORTS_DEFAULT} pkgname=glibc pkgver=2.15 -pkgrel=1 +pkgrel=2 pkgdesc="GNU C Library" url="http://www.gnu.org/software/libc/libc.html" depends=() @@ -27,13 +27,15 @@ source=(http://ftp.gnu.org/pub/gnu/glibc/glibc-$pkgver.tar.gz \ glibc2.14-revert-sunrpc-removal.patch \ glibc-2.14-revert-4768ae77.patch \ glibc-2.14.1-gcc_fix-1.patch \ - glibc-2.14.1-fixes-1.patch) + glibc-2.14.1-fixes-1.patch \ + glibc-2.15-lddebug-scopes.patch) sha1sums=('33861d75dfc6e9d176f33c356929da792055146c' \ '9c4544aee1063f65da39273349f0780d5723747d' \ '9e07221a0f200898a680ed8682569606e4d3abbe' \ 'cc22b01dc3d1a8d92b36a319e36ace98c5c55d80' \ '41a88bf6a20926a4a1e9792ae5eb2a9854dc44af' \ - 'cc8fe170befc0a1fe56d6c18da1afc73c8c72b1b') + 'cc8fe170befc0a1fe56d6c18da1afc73c8c72b1b' \ + '05116b9dd4f2f2e8e0d97ba3af6acbd14652f2ff') if Fuse GLIBC_PORTS; then source=("${source[@]}" "http://ftp.frugalware.org/pub/other/people/elentir/glibc-ports/glibc-ports-$pkgver.tar.bz2") diff --git a/source/base/glibc/glibc-2.15-lddebug-scopes.patch b/source/base/glibc/glibc-2.15-lddebug-scopes.patch new file mode 100644 index 0000000..e3ed497 --- /dev/null +++ b/source/base/glibc/glibc-2.15-lddebug-scopes.patch @@ -0,0 +1,26 @@ +From 0c95ab64cb4ec0d22bb222647d9d20c7b4903e38 Mon Sep 17 00:00:00 2001 +From: Andreas Schwab <[email protected]> +Date: Fri, 7 Oct 2011 09:31:27 +0200 +Subject: [PATCH] Horrible workaround for horribly broken software + +--- + elf/rtld.c | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/elf/rtld.c b/elf/rtld.c +index 978c609..8422b9f 100644 +--- a/elf/rtld.c ++++ b/elf/rtld.c +@@ -1393,7 +1393,9 @@ of this helper program; chances are you did not intend to run this program.\n\ + char *copy = malloc (len); + if (copy == NULL) + _dl_fatal_printf ("out of memory\n"); +- l->l_libname->name = l->l_name = memcpy (copy, dsoname, len); ++ l->l_libname->name = memcpy (copy, dsoname, len); ++ if (GLRO(dl_debug_mask)) ++ l->l_name = copy; + } + + /* Add the vDSO to the object list. */ +-- +1.7.3.4 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
