Dr. Werner Fink 2012-02-21 12:23:22 +00:00 committed by Git OBS Bridge
parent 423185cbe3
commit a9227cd6a8
3 changed files with 32 additions and 0 deletions

24
a2ps-4.13-linker.patch Normal file
View File

@ -0,0 +1,24 @@
--- auxdir/ltconfig
+++ auxdir/ltconfig 2012-02-21 12:20:09.366433998 +0000
@@ -1966,19 +1966,8 @@ linux-gnu*)
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
- deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
- file_magic_cmd=/usr/bin/file
- file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
-
- if test -f /lib/ld.so.1; then
- dynamic_linker='GNU ld.so'
- else
- # Only the GNU ld.so supports shared libraries on MkLinux.
- case "$host_cpu" in
- powerpc*) dynamic_linker=no ;;
- *) dynamic_linker='Linux ld.so' ;;
- esac
- fi
+ hardcode_into_libs=yes
+ dynamic_linker='GNU/Linux ld.so'
;;
netbsd*)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 21 12:22:10 UTC 2012 - werner@suse.de
- Fix shared library build on all 64bit architectures (hint from
Dinar Valeev)
-------------------------------------------------------------------
Tue Feb 7 09:22:18 CET 2012 - meissner@suse.de

View File

@ -51,6 +51,7 @@ Patch9: a2ps-4.13-utf8.patch
Patch10: a2ps-4.13-types.patch
Patch11: a2ps-4.13-psgen.patch
Patch12: a2ps-4.13-gv-arguments.patch
Patch13: a2ps-4.13-linker.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -92,6 +93,7 @@ touch -r configure.in .ref
%patch -P 10 -p 0 -b .types
%patch -P 11 -p 0 -b .psgen
%patch -P 12 -p 1 -b .gvarg
%patch -P 13 -p 0 -b .ldso
%patch
cp -f %SOURCE1 po/ko.po
rename no nb po/no.*