[SCM] Packaging for LIGGGHTS, an Open Source Discrete Element Method Particle Simulation Software. branch, master, updated. upstream/1.5.2-58-g69fa171

Anton Gladky gladky.anton at gmail.com
Wed May 23 20:45:22 UTC 2012


The following commit has been merged in the master branch:
commit cbfc470b594fc8e39ac96213e68f36db5e1bc7f4
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Wed May 23 22:44:02 2012 +0200

    Fix FTBFS due to gcc-4.7 (missing header).

diff --git a/debian/patches/fix_gcc4.7_ftbfs.patch b/debian/patches/fix_gcc4.7_ftbfs.patch
new file mode 100644
index 0000000..1442034
--- /dev/null
+++ b/debian/patches/fix_gcc4.7_ftbfs.patch
@@ -0,0 +1,14 @@
+Description: Fix FTBFS due to gcc-4.7 (missing header)
+Author: Anton Gladky <gladky.anton at gmail.com>
+Last-Update: 2012-05-23
+
+--- a/src/cfd_datacoupling_file.cpp
++++ b/src/cfd_datacoupling_file.cpp
+@@ -36,6 +36,7 @@
+ #include "cfd_datacoupling_file.h"
+ #include <iostream>
+ #include <fstream>
++#include <unistd.h>
+ 
+ using namespace LAMMPS_NS;
+ using namespace std;
diff --git a/debian/patches/series b/debian/patches/series
index 6e0e536..4106eab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ add_interpretator_name_to_the_examples.patches
 enable_default_compile_flags.patch
 fix_format_not_a_string.patch
 enable_jpeg.patch
+fix_gcc4.7_ftbfs.patch

-- 
Packaging for LIGGGHTS, an Open Source Discrete Element Method Particle Simulation Software.



More information about the debian-science-commits mailing list