rpms/libsidplay/devel libsidplay-1.36.57-gcc43.patch, NONE, 1.1 libsidplay.spec, 1.19, 1.20

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Thu Jan 3 14:26:48 UTC 2008


Author: mschwendt

Update of /cvs/extras/rpms/libsidplay/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4393

Modified Files:
	libsidplay.spec 
Added Files:
	libsidplay-1.36.57-gcc43.patch 
Log Message:
* Thu Jan  3 2008 Michael Schwendt <mschwendt[AT]users.sf.net> 1.36.57-16
- Patch ios::binary check for GCC 4.3.0 C++.


libsidplay-1.36.57-gcc43.patch:

--- NEW FILE libsidplay-1.36.57-gcc43.patch ---
diff -Nur libsidplay-1.36.57-orig/configure libsidplay-1.36.57/configure
--- libsidplay-1.36.57-orig/configure	2002-09-13 00:46:26.000000000 +0200
+++ libsidplay-1.36.57/configure	2008-01-03 15:19:10.000000000 +0100
@@ -1279,12 +1279,12 @@
 #line 1280 "configure"
 #include "confdefs.h"
 
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
             
 int main() {
 
-ifstream myTest("test",ios::in|ios::binary);
+std::ifstream myTest("test",std::ios::in|std::ios::binary);
             
 ; return 0; }
 EOF


Index: libsidplay.spec
===================================================================
RCS file: /cvs/extras/rpms/libsidplay/devel/libsidplay.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- libsidplay.spec	21 Oct 2007 09:34:40 -0000	1.19
+++ libsidplay.spec	3 Jan 2008 14:26:04 -0000	1.20
@@ -1,10 +1,11 @@
 Name: libsidplay
 Summary: Commodore 64 music player and SID chip emulator library
 Version: 1.36.57
-Release: 15
+Release: 16
 Source: http://home.arcor.de/ms2002sep/bak/%{name}-%{version}.tgz
 Patch: libsidplay-post57fixes.patch
 Patch2: libsidplay-1.36.57-opts.patch
+Patch3: libsidplay-1.36.57-gcc43.patch
 Group: System Environment/Libraries
 URL: http://home.arcor.de/ms2002sep/bak/
 License: GPLv2+
@@ -29,6 +30,7 @@
 %setup -q
 %patch -p1 -b .post57fixes
 %patch2 -p1 -b .opts
+%patch3 -p1 -b .gcc43
 
 %build
 CXXFLAGS="$RPM_OPT_FLAGS" %configure \
@@ -61,6 +63,9 @@
 %{_includedir}/sidplay
 
 %changelog
+* Thu Jan  3 2008 Michael Schwendt <mschwendt[AT]users.sf.net> 1.36.57-16
+- Patch ios::binary check for GCC 4.3.0 C++.
+
 * Sat Oct 20 2007 Michael Schwendt <mschwendt[AT]users.sf.net> 1.36.57-15
 - Move the i386-specific configure options into a __i386__ patch.
   This shall fix the multiarch conflict in libsidplay-devel (#342371).




More information about the fedora-extras-commits mailing list