SPECS: glibc.spec - added gcc42 patch to eliminate gcc = 4.2.x war...

qboosh qboosh at pld-linux.org
Sat May 19 14:21:53 CEST 2007


Author: qboosh                       Date: Sat May 19 12:21:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added gcc42 patch to eliminate gcc = 4.2.x warnings when using glibc headers with -std=c99

---- Files affected:
SPECS:
   glibc.spec (1.702 -> 1.703) 

---- Diffs:

================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.702 SPECS/glibc.spec:1.703
--- SPECS/glibc.spec:1.702	Fri May 18 22:46:42 2007
+++ SPECS/glibc.spec	Sat May 19 14:21:47 2007
@@ -62,6 +62,7 @@
 Patch10:	%{name}-info.patch
 Patch11:	%{name}-no_debuggable_objects.patch
 Patch12:	%{name}-includes.patch
+Patch13:	%{name}-gcc42.patch
 Patch14:	%{name}-sparc-errno_fix.patch
 
 Patch17:	%{name}-new-charsets.patch
@@ -80,7 +81,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	binutils >= 2:2.15.90.0.3
-BuildRequires:	gcc >= 6:4.2.0
+BuildRequires:	gcc >= 5:3.4
 BuildRequires:	gawk
 %{?with_memusage:BuildRequires:	gd-devel >= 2.0.1}
 BuildRequires:	gettext-devel >= 0.10.36
@@ -141,11 +142,6 @@
 %define		_hack_dontneed_PartialHardlinkSets	1
 %define		_noautochrpath		.*\\(ldconfig\\|sln\\)
 
-# glibc uses traditional gnu extern-inline semantics but builds
-# with c99 mode enabled ( strictly it's gnu99 mode ).
-# this switch disables unwanted warnings.
-%define		specflags		-fgnu89-inline
-
 %description
 Contains the standard libraries that are used by multiple programs on
 the system. In order to save disk space and memory, as well as to ease
@@ -835,7 +831,7 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
-
+%patch13 -p1
 %patch14 -p0
 
 %patch17 -p1
@@ -1478,6 +1474,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.703  2007/05/19 12:21:47  qboosh
+- added gcc42 patch to eliminate gcc = 4.2.x warnings when using glibc headers with -std=c99
+
 Revision 1.702  2007/05/18 20:46:42  arekm
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/glibc.spec?r1=1.702&r2=1.703&f=u



More information about the pld-cvs-commit mailing list