diff --git a/aalib-ppc.patch b/aalib-ppc.patch new file mode 100644 index 0000000..617f01f --- /dev/null +++ b/aalib-ppc.patch @@ -0,0 +1,19 @@ +--- aalib-1.4.0/ltconfig.foo 2007-05-04 08:47:13.000000000 -0400 ++++ aalib-1.4.0/ltconfig 2007-05-04 08:48:26.000000000 -0400 +@@ -1994,16 +1994,6 @@ linux-gnu*) + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + deplibs_check_method=pass_all +- +- 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 + ;; + + netbsd*) diff --git a/aalib.spec b/aalib.spec index 555eb7d..a45f876 100644 --- a/aalib.spec +++ b/aalib.spec @@ -3,7 +3,7 @@ Summary: ASCII art library Name: aalib Version: 1.4.0 -Release: 0.11.%{rc_subver}%{?dist} +Release: 0.12.%{rc_subver}%{?dist} License: LGPL Group: System Environment/Libraries URL: http://aa-project.sourceforge.net/aalib/ @@ -12,6 +12,7 @@ Patch0: aalib-aclocal.patch Patch1: aalib-config-rpath.patch Patch2: aalib-1.4rc5-bug149361.patch Patch3: aalib-1.4rc5-rpath.patch +Patch4: aalib-ppc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel @@ -41,6 +42,7 @@ with aalib. %patch1 -p0 %patch2 -p1 -b .bug149361 %patch3 -p1 -b .rpath +%patch4 -p1 -b .ppc sed -i -e 's/^\(.*SHARED.*\)@AALIB_LIBS@/\1 -laa/' aalib-config.in # sigh stop autoxxx from rerunning because of our patches above. touch aclocal.m4 @@ -101,6 +103,9 @@ fi %{_datadir}/aclocal/aalib.m4 %changelog +* Fri May 4 2007 Bill Nottingham 1.4.0-0.12.rc5 +- remove some dainbramage in ltconfig so it builds shared libs on ppc64 + * Thu Oct 19 2006 Garrick Staples 1.4.0-0.11.rc5 - incorrect subversion in previous two changelog entries