1
0

Accepting request 329083 from Base:System

- add patch: boo941649-unnessary-rpath-on-standard-path.patch
  * config.rpath from gettext-tools will set rpath for ELF binaries
    not in /usr/lib, even if it's the standard path the linker
    would search anyway. 

- add patch: boo941629-unnessary-rpath-on-standard-path.patch
  * config.rpath from gettext-tools will set rpath for ELF binaries
    not in /usr/lib, even if it's the standard path the linker
    would search anyway.

OBS-URL: https://build.opensuse.org/request/show/329083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=63
This commit is contained in:
Dominique Leuenberger 2015-09-08 15:36:24 +00:00 committed by Git OBS Bridge
commit e54fde4bef
5 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,15 @@
Index: gettext-0.19.5.1/build-aux/config.rpath
===================================================================
--- gettext-0.19.5.1.orig/build-aux/config.rpath
+++ gettext-0.19.5.1/build-aux/config.rpath
@@ -216,7 +216,9 @@ if test "$with_gnu_ld" = yes; then
;;
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- :
+ if $libdir == /usr/lib | $libdir == /usr/lib64; then
+ hardcode_libdir_flag_spec=""
+ fi
else
ld_shlibs=no
fi

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 24 15:37:36 UTC 2015 - i@marguerite.su
- add patch: boo941649-unnessary-rpath-on-standard-path.patch
* config.rpath from gettext-tools will set rpath for ELF binaries
not in /usr/lib, even if it's the standard path the linker
would search anyway.
-------------------------------------------------------------------
Tue Jul 21 11:24:48 UTC 2015 - mlin@suse.com

View File

@ -70,6 +70,8 @@ Patch6: gettext-dont-test-gnulib.patch
Patch9: gettext-needlessly_init_vars.patch
# PATCH-FIX-OPENSUSE gettext-0.19.5.1-gettextize.diff -- mlin@suse.com
Patch10: gettext-0.19.5.1-gettextize.diff
# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
%description
This package contains the intl library as well as tools that ease the
@ -128,6 +130,7 @@ as well as project examples.
%patch6 -p1
%patch9
%patch10 -p1
%patch11 -p1
%build
# expect a couple "You should update your `aclocal.m4' by running aclocal."

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 24 15:35:02 UTC 2015 - i@marguerite.su
- add patch: boo941629-unnessary-rpath-on-standard-path.patch
* config.rpath from gettext-tools will set rpath for ELF binaries
not in /usr/lib, even if it's the standard path the linker
would search anyway.
-------------------------------------------------------------------
Tue Jul 21 11:23:29 UTC 2015 - mlin@suse.com

View File

@ -70,6 +70,8 @@ Patch6: gettext-dont-test-gnulib.patch
Patch9: gettext-needlessly_init_vars.patch
# PATCH-FIX-OPENSUSE gettext-0.19.5.1-gettextize.diff -- mlin@suse.com
Patch10: gettext-0.19.5.1-gettextize.diff
# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
%description
This package contains the intl library as well as tools that ease the
@ -128,6 +130,7 @@ as well as project examples.
%patch6 -p1
%patch9
%patch10 -p1
%patch11 -p1
%build
# expect a couple "You should update your `aclocal.m4' by running aclocal."