Add patch to fix g++ rejection of spawn.h use of __restrict, following SFEgcc.spec
authorAlex Viskovatoff <herzen@imap.cc>
Mon, 12 Dec 2011 02:53:33 +0000
changeset 22 3964ea74751c
parent 21 c5a5d6f3c1e8
child 23 c665a321228a
Add patch to fix g++ rejection of spawn.h use of __restrict, following SFEgcc.spec
OI-SFEgcc.spec
manifests/twolame.p5m
packages.xml
--- a/OI-SFEgcc.spec	Sun Dec 11 23:11:45 2011 +0000
+++ b/OI-SFEgcc.spec	Mon Dec 12 02:53:33 2011 +0000
@@ -110,8 +110,12 @@
 %else
 %endif
 Patch3:              gcc-03-gnulib.diff
-SUNW_BaseDir:        %{_basedir}
-BuildRoot:           %{_tmppath}/%{name}-%{version}-build
+
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347
+Patch10:	gcc-10-spawn.diff
+
+SUNW_BaseDir:	%{_basedir}
+BuildRoot:	%{_tmppath}/%{name}-%{version}-build
 %include default-depend.inc
 
 BuildRequires: SFElibiconv-devel
@@ -213,6 +217,7 @@
 %else
 %endif
 #%patch3 -p1
+%patch10 -p1
 
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
@@ -454,6 +459,8 @@
 %endif
 
 %changelog
+* Sun Dec 11 2011 - Alex Viskovatoff
+- patch10 for spawn issue, following SFEgcc.spec
 * Sun Oct 30 2011 - Alex Viskovatoff
 - fork OI-SFEgcc.spec off SFEgcc.spec rev 4859; bump to 4.6.2
 - symlinks in /usr/bin and /usr/lib; use facets
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manifests/twolame.p5m	Mon Dec 12 02:53:33 2011 +0000
@@ -0,0 +1,5 @@
+set name=pkg.fmri value=pkg://sfebuildb/library/audio/[email protected],5.11-0.151
+set name=variant.arch value=i386
+set name=pkg.renamed value=true
+set name=variant.opensolaris.zone value=global value=nonglobal
+depend fmri=audio/[email protected] type=require
--- a/packages.xml	Sun Dec 11 23:11:45 2011 +0000
+++ b/packages.xml	Mon Dec 12 02:53:33 2011 +0000
@@ -16,7 +16,7 @@
     <ips_package_name>system/library/libmpc</ips_package_name>
     <group>System/Libraries</group>
   </pkg>
-  <pkg filename="SFEgcc.spec">
+  <pkg filename="OI-SFEgcc.spec">
     <!-- This is the "standard" SFE gcc: this package creates
 	 symlinks from /usr/gnu/bin/gcc to /usr/gcc/4.6/bin/gcc. -->
     <name>SFEgccruntime</name>
@@ -45,7 +45,7 @@
   </pkg>
   <pkg filename="experimental/SFEllvm-svn.spec">
     <name>SFEllvm</name>
-    <ips_package_name>runtime/llvm</ips_package_name>
+    <ips_package_name>developer/llvm</ips_package_name>
     <group>Development/C</group>
   </pkg>
   <pkg skip="true">