[SCM] SUMO packaging. Simulation of Urban MObility. branch, master, updated. 146757cae8c775f666d7c772a27aef1830921f10
Anton Gladky
gladky.anton at gmail.com
Thu May 10 21:19:58 UTC 2012
The following commit has been merged in the master branch:
commit 146757cae8c775f666d7c772a27aef1830921f10
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Thu May 10 23:19:22 2012 +0200
Fix FTBFS with gcc-4.7
diff --git a/debian/patches/fix_gcc-4.7.patch b/debian/patches/fix_gcc-4.7.patch
new file mode 100644
index 0000000..b12c2b8
--- /dev/null
+++ b/debian/patches/fix_gcc-4.7.patch
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with gcc-4.7
+Author: Anton Gladky <gladky.anton at gmail.com>
+Last-Update: 2012-05-10
+
+--- a/src/foreign/tcpip/socket.cpp
++++ b/src/foreign/tcpip/socket.cpp
+@@ -25,6 +25,7 @@
+ #include <netdb.h>
+ #include <errno.h>
+ #include <fcntl.h>
++ #include <unistd.h>
+ #else
+ #ifdef ERROR
+ #undef ERROR
diff --git a/debian/patches/series b/debian/patches/series
index 3d2446d..ccbf286 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_manpage_output.patch
fix_format_not_a_string.patch
drop_eulerspiral.patch
fix_headers_of_scripts.patch
+fix_gcc-4.7.patch
--
SUMO packaging. Simulation of Urban MObility.
More information about the debian-science-commits
mailing list