[SCM] C Bindings for the SFML Library branch, master, updated. upstream/1.2-9-g16bdcdd
Christoph Egger
Christoph.Egger at gmx.de
Tue Jun 10 17:11:43 UTC 2008
The following commit has been merged in the master branch:
commit 16bdcdda2108a249f520c382e9cab20b87564a90
Author: Christoph Egger <Christoph.Egger at gmx.de>
Date: Tue Jun 10 19:11:26 2008 +0200
* Fixing build error on g++ 4.3
diff --git a/debian/patches/cstring_ftbfs.patch b/debian/patches/cstring_ftbfs.patch
new file mode 100644
index 0000000..d46d665
--- /dev/null
+++ b/debian/patches/cstring_ftbfs.patch
@@ -0,0 +1,39 @@
+Index: libcsfml/CSFML/src/SFML/Network/IPAddress.cpp
+===================================================================
+--- libcsfml.orig/CSFML/src/SFML/Network/IPAddress.cpp 2008-06-10 19:05:24.000000000 +0200
++++ libcsfml/CSFML/src/SFML/Network/IPAddress.cpp 2008-06-10 19:05:43.000000000 +0200
+@@ -28,6 +28,8 @@
+ #include <SFML/Network/IPAddress.h>
+ #include <SFML/Network/IPAddress.hpp>
+
++#include <cstring>
++using std::strncpy;
+
+ namespace
+ {
+Index: libcsfml/CSFML/src/SFML/Network/SocketTCP.cpp
+===================================================================
+--- libcsfml.orig/CSFML/src/SFML/Network/SocketTCP.cpp 2008-06-10 19:06:13.000000000 +0200
++++ libcsfml/CSFML/src/SFML/Network/SocketTCP.cpp 2008-06-10 19:06:29.000000000 +0200
+@@ -31,6 +31,8 @@
+ #include <SFML/Network/Packet.hpp>
+ #include <SFML/Internal.h>
+
++#include <cstring>
++using std::strncpy;
+
+ // WARNING : this structure must always be the SAME as in Network/Packet.h
+ struct sfPacket
+Index: libcsfml/CSFML/src/SFML/Network/SocketUDP.cpp
+===================================================================
+--- libcsfml.orig/CSFML/src/SFML/Network/SocketUDP.cpp 2008-06-10 19:06:39.000000000 +0200
++++ libcsfml/CSFML/src/SFML/Network/SocketUDP.cpp 2008-06-10 19:07:15.000000000 +0200
+@@ -31,6 +31,8 @@
+ #include <SFML/Network/Packet.hpp>
+ #include <SFML/Internal.h>
+
++#include <cstring>
++using std::strncpy;
+
+ // WARNING : this structure must always be the SAME as in Network/Packet.h
+ struct sfPacket
diff --git a/debian/patches/series b/debian/patches/series
index e31ac23..e342b7f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
add_destdir_to_makefiles.patch
rename_library_to_avoid_conflict_with_c++.patch
link_agains_needed_sfml_libraries.patch
+cstring_ftbfs.patch
--
C Bindings for the SFML Library
More information about the Pkg-games-commits
mailing list