SPECS: schroot.spec - removed autoconf patch (replaced with workar...

pascalek pascalek at pld-linux.org
Sun Jan 28 19:38:36 CET 2007


Author: pascalek                     Date: Sun Jan 28 18:38:36 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed autoconf patch (replaced with workaround for old boost compatibility)

---- Files affected:
SPECS:
   schroot.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/schroot.spec
diff -u SPECS/schroot.spec:1.2 SPECS/schroot.spec:1.3
--- SPECS/schroot.spec:1.2	Sun Jan 28 13:38:52 2007
+++ SPECS/schroot.spec	Sun Jan 28 19:38:31 2007
@@ -10,9 +10,6 @@
 Group:		Applications/System
 Source0:	http://ftp.debian.org/debian/pool/main/s/%{name}/%{name}_%{version}.orig.tar.gz
 # Source0-md5:	7b108d025c4221599e5901d0c9b664bd
-# It's a litle silly patch to avoid boost linking error while configure is running
-# - tested with boost 1.33.1.
-Patch0:		%{name}-ac.patch
 URL:		http://packages.qa.debian.org/s/schroot.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -37,7 +34,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 sed -e "s/@RELEASE_DATE@/`date '+%d %b %Y'`/" -e "s/@RELEASE_UDATE@/`date '+%s'`/" scripts/schroot_release.m4.in > m4/schroot_release.m4
@@ -47,6 +43,11 @@
 %{__autoheader}
 %{__automake}
 %{__autoconf}
+
+# workaround for g++ problems with arguments sequence
+cp configure configure.bak
+cat configure.bak | sed -r "s:^(ac_link=.*)(-o conftest.*)(conftest.*ac_ext)(.*):\1 \3 \2 \4:" > configure
+
 %configure
 
 %{__make} CC="%{__cc}"
@@ -96,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/01/28 18:38:31  pascalek
+- removed autoconf patch (replaced with workaround for old boost compatibility)
+
 Revision 1.2  2007/01/28 12:38:52  adamg
 - BR: boost-any-devel, boost-mem_fn-devel, boost-ref-devel, pam-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/schroot.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list