Re: [SPARC64] libpng-1.2.8-1.fc3.src.rpm
"Christian Joensson" <[email protected]> Wed, 17 May 2006 21:35:24 +0200
| Newsgroups | gmane.linux.aurora.devel |
|---|---|
| Message-ID | <[email protected]> |
On 5/17/06, Christian Joensson <[email protected]> wrote: > On 5/16/06, Tom 'spot' Callaway <[email protected]> wrote: > > > Patch it to do the following: > > > > Use CC instead of hardcoding gcc. > > Use CFLAGS everytime we call CC. > > Would that be the CFLAGS patch in your libpng-1.2.7-1sparc.src.rpm: > > Patch1: libpng-1.2.7-cflags.patch > > I don't see the CC patch in there, though... well, simply adding spot's sparc patch (not sparc specific, though) from libpng-1.2.7-1sparc.src.rpm's spec file to libpng-1.2.8-1.fc3.src.rpm's spec file (thus, also building a new src.rpm), all worked out fine. -- Cheers, /ChJ _______________________________________________ Aurora-sparc-devel mailing list [email protected] http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-devel Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html
libpng.spec.diff
(application/octet-stream, 1.1 KB)
--- /usr/src/redhat/SPECS/libpng.spec~ 2004-12-06 17:36:33.000000000 +0100
+++ /usr/src/redhat/SPECS/libpng.spec 2006-05-17 18:36:02.000000000 +0200
@@ -1,11 +1,12 @@
Summary: A library of functions for manipulating PNG image format files.
Name: libpng
Version: 1.2.8
-Release: 1.fc3
+Release: 1sparc.fc3
License: OSI certified
Group: System Environment/Libraries
Source: ftp://swrinde.nde.swri.edu/pub/png/src/libpng-%{version}.tar.bz2
Patch0: libpng-rhconf.patch
+Patch1: libpng-1.2.7-cflags.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: zlib-devel
Provides: libpng.so.3
@@ -43,6 +44,7 @@
ln -s scripts/makefile.linux Makefile
%patch0 -p1 -b .rhconf
+%patch1 -p1 -b .cflags
%build
make ZLIBLIB=%{_libdir} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBPATH=%{_libdir}
@@ -78,6 +80,9 @@
* Mon Dec 06 2004 Matthias Clasen <[email protected]> - 2:1.2.8-1.fc3
- Update to 1.2.8
+* Wed Nov 10 2004 Tom "spot" Callaway <[email protected]> - 2:1.2.7-1sparc
+- Use CFLAGS everywhere we call CC
+
* Wed Sep 15 2004 Matthias Clasen <[email protected]> - 2:1.2.7-1
- Update to 1.2.7