diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-04 21:39:50 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-04 21:39:50 -0300 |
commit | 9e2eedaa4921b8d57c364fb3e2a8c9e2e96b8e69 (patch) | |
tree | 1f5ef1cf64d8477147f581592b19c94bcaafd917 /core/glibc/glibc-2.15-lddebug-scopes.patch | |
parent | 2bd8076ad5b2278e808a796d572bb99a7fccf52a (diff) | |
parent | 85828cc2c2c3ef5c0b9b03388b9323d3d163b389 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
core/gcc/PKGBUILD
core/glibc/PKGBUILD
core/linux-api-headers/PKGBUILD
extra/avidemux/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/qimageblitz/PKGBUILD
extra/valgrind/PKGBUILD
libre/linux-libre/PKGBUILD
multilib/binutils-multilib/PKGBUILD
multilib/gcc-multilib/PKGBUILD
multilib/lib32-glibc/PKGBUILD
staging/kdeutils/PKGBUILD
Diffstat (limited to 'core/glibc/glibc-2.15-lddebug-scopes.patch')
-rw-r--r-- | core/glibc/glibc-2.15-lddebug-scopes.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/core/glibc/glibc-2.15-lddebug-scopes.patch b/core/glibc/glibc-2.15-lddebug-scopes.patch new file mode 100644 index 000000000..808cf8d7c --- /dev/null +++ b/core/glibc/glibc-2.15-lddebug-scopes.patch @@ -0,0 +1,27 @@ +From 0c95ab64cb4ec0d22bb222647d9d20c7b4903e38 Mon Sep 17 00:00:00 2001 +From: Andreas Schwab <schwab@redhat.com> +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 + |