SPECS: pixman.spec - fix for gcc 3.3.6 build

glen glen at pld-linux.org
Tue May 27 07:52:30 CEST 2008


Author: glen                         Date: Tue May 27 05:52:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix for gcc 3.3.6 build

---- Files affected:
SPECS:
   pixman.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/pixman.spec
diff -u SPECS/pixman.spec:1.15 SPECS/pixman.spec:1.16
--- SPECS/pixman.spec:1.15	Thu Apr 17 21:45:03 2008
+++ SPECS/pixman.spec	Tue May 27 07:52:25 2008
@@ -8,10 +8,12 @@
 Group:		Libraries
 Source0:	http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
 # Source0-md5:	fb23e17a8a0308e8fad6dc153753ba9a
+Patch0:		%{name}-gcc3.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
 BuildRequires:	libtool
+BuildRequires:	rpmbuild(macros) >= 1.453
 Obsoletes:	libic
 Obsoletes:	libpixman
 Obsoletes:	libpixregion
@@ -56,6 +58,9 @@
 
 %prep
 %setup -q
+%if "%{cc_version}" < "3.4"
+%patch0 -p1
+%endif
 
 %build
 %{__libtoolize}
@@ -103,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2008-05-27 05:52:25  glen
+- fix for gcc 3.3.6 build
+
 Revision 1.15  2008-04-17 19:45:03  arekm
 - rel 2; don't require -I../pixman-1 in every software
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pixman.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list