rpms/skstream/devel skstream-0.3.6-gcc44.patch, NONE, 1.1 skstream.spec, 1.7, 1.8

Alexey Torkhov atorkhov at fedoraproject.org
Fri Feb 27 23:15:38 UTC 2009


Author: atorkhov

Update of /cvs/pkgs/rpms/skstream/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27889

Modified Files:
	skstream.spec 
Added Files:
	skstream-0.3.6-gcc44.patch 
Log Message:
* Sat Feb 28 2009 Alexey Torkhov <atorkhov at gmail.com> - 0.3.6-5
- Fixing build for recent compilers


skstream-0.3.6-gcc44.patch:

--- NEW FILE skstream-0.3.6-gcc44.patch ---
Index: skstream/skstream.h
===================================================================
RCS file: /home/cvspsrv/worldforge/forge/libs/skstream/skstream/skstream.h,v
retrieving revision 1.54
diff -u -r1.54 skstream.h
--- skstream/skstream.h	17 Dec 2006 02:40:58 -0000	1.54
+++ skstream/skstream.h	27 Feb 2009 23:12:36 -0000
@@ -33,6 +33,11 @@
 
 #include <skstream/sksocket.h>
 
+// To not include full <cstdio>, we define only EOF
+#ifndef EOF
+#define EOF (-1)
+#endif
+
 /////////////////////////////////////////////////////////////////////////////
 // class socketbuf
 /////////////////////////////////////////////////////////////////////////////


Index: skstream.spec
===================================================================
RCS file: /cvs/pkgs/rpms/skstream/devel/skstream.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- skstream.spec	26 Feb 2009 01:24:27 -0000	1.7
+++ skstream.spec	27 Feb 2009 23:15:08 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           skstream
 Version:        0.3.6
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        C++ I/O library for WorldForge clients/servers
 
 Group:          Development/Libraries
@@ -8,6 +8,7 @@
 URL:            http://worldforge.org/dev/eng/libraries/skstream
 Source0:        http://downloads.sourceforge.net/worldforge/%{name}-%{version}.tar.gz
 Patch0:         skstream-0.3.6-gcc43.patch
+Patch1:         skstream-0.3.6-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  cppunit-devel
@@ -31,6 +32,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 
 %build
@@ -81,6 +83,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Sat Feb 28 2009 Alexey Torkhov <atorkhov at gmail.com> - 0.3.6-5
+- Fixing build for recent compilers
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.6-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list