rpms/aalib/devel aalib-ppc.patch,NONE,1.1 aalib.spec,1.16,1.17

Bill Nottingham (notting) fedora-extras-commits at redhat.com
Fri May 4 21:14:05 UTC 2007


Author: notting

Update of /cvs/extras/rpms/aalib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25500

Modified Files:
	aalib.spec 
Added Files:
	aalib-ppc.patch 
Log Message:
fix ppc64 build (#239101)


aalib-ppc.patch:

--- NEW FILE aalib-ppc.patch ---
--- 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*)


Index: aalib.spec
===================================================================
RCS file: /cvs/extras/rpms/aalib/devel/aalib.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- aalib.spec	19 Oct 2006 17:49:49 -0000	1.16
+++ aalib.spec	4 May 2007 21:13:25 -0000	1.17
@@ -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 @@
 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 @@
 %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 @@
 %{_datadir}/aclocal/aalib.m4
 
 %changelog
+* Fri May  4 2007 Bill Nottingham <notting at redhat.com> 1.4.0-0.12.rc5
+- remove some dainbramage in ltconfig so it builds shared libs on ppc64
+
 * Thu Oct 19 2006 Garrick Staples <garrick at usc.edu> 1.4.0-0.11.rc5
 - incorrect subversion in previous two changelog entries
 




More information about the fedora-extras-commits mailing list