SPECS: qcad.spec - kill -pedantic (fixes build with gcc 4.1.x)

qboosh qboosh at pld-linux.org
Wed Feb 21 00:54:00 CET 2007


Author: qboosh                       Date: Tue Feb 20 23:54:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- kill -pedantic (fixes build with gcc 4.1.x)

---- Files affected:
SPECS:
   qcad.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/qcad.spec
diff -u SPECS/qcad.spec:1.67 SPECS/qcad.spec:1.68
--- SPECS/qcad.spec:1.67	Tue Feb 13 09:06:43 2007
+++ SPECS/qcad.spec	Wed Feb 21 00:53:55 2007
@@ -29,13 +29,14 @@
 # Source6-md5:	56c94d907761d4affa00c029f52fe96d
 Patch0:		%{name}-gcc4.patch
 URL:		http://www.ribbonsoft.com/qcad.html
-BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	qmake
 BuildRequires:	qt-devel >= 3.0.5
 BuildRequires:	qt-linguist
+BuildRequires:	sed >= 4.0
 BuildRequires:	unzip
+BuildRequires:	xorg-lib-libXext-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -59,6 +60,8 @@
 %setup -q -n %{name}-%{version}-1-community.src -a3 -a4 -a5 -a6
 %patch0 -p1
 
+sed -i -e 's/-pedantic//' mkspecs/defs.pro
+
 %build
 QTDIR=%{_prefix}; export QTDIR
 QMAKESPEC=%{_datadir}/qt/mkspecs/linux-g++; export QMAKESPEC
@@ -149,6 +152,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2007/02/20 23:53:55  qboosh
+- kill -pedantic (fixes build with gcc 4.1.x)
+
 Revision 1.67  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qcad.spec?r1=1.67&r2=1.68&f=u



More information about the pld-cvs-commit mailing list