Author: pluto                        Date: Tue Mar 20 20:13:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix PR c++/7302, drop broken patches, make testsuite working.

---- Files affected:
SPECS:
   gcc.spec (1.471 -> 1.472) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.471 SPECS/gcc.spec:1.472
--- SPECS/gcc.spec:1.471        Sun Mar 18 10:50:31 2007
+++ SPECS/gcc.spec      Tue Mar 20 21:13:37 2007
@@ -55,7 +55,7 @@
 %define                _minor_ver      0
 Version:       %{_major_ver}.%{_minor_ver}
 %define                _snap   20070316
-Release:       0.%{_snap}.1
+Release:       0.%{_snap}.2
 #Release:      2
 Epoch:         6
 License:       GPL v2+
@@ -75,9 +75,9 @@
 Patch7:                %{name}-libjava-multilib.patch
 Patch8:                %{name}-enable-java-awt-qt.patch
 Patch9:                %{name}-pr13676.patch
-Patch10:       %{name}-pr17390.patch
+Patch10:       %{name}-pr7302.patch
 Patch12:       %{name}-pr20218.patch
-Patch13:       %{name}-pr24669.patch
+
 Patch14:       %{name}-force_jar_wrapper.patch
 Patch15:       %{name}-pr29512.patch
 URL:           http://gcc.gnu.org/
@@ -818,9 +818,9 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
-#patch10 -p1   not quite correct / temp. disabled.
+%patch10 -p1
 %patch12 -p0
-#%patch13 -p1 # comment in bugreport indicates that this patch is broken
+
 %patch14 -p1
 %patch15 -p1
 
@@ -917,7 +917,13 @@
        mandir=%{_mandir} \
        infodir=%{_infodir}
 
-%{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
+%if %{with tests}
+if [ ! -r /dev/pts/0 ]; then
+       echo "You need to have /dev/pts mounted to avoid expect's spawn 
failures!"
+       exit 1
+fi
+%{__make} -k -C builddir check 2>&1 ||:
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -1519,6 +1525,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.472  2007/03/20 20:13:37  pluto
+- fix PR c++/7302, drop broken patches, make testsuite working.
+
 Revision 1.471  2007/03/18 09:50:31  arekm
 4.2.0 rc1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gcc.spec?r1=1.471&r2=1.472&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to