[med-svn] [SCM] filo branch, master, updated. d0b93741815e616684cd7d82719020e0ff5af062

Charles Plessy plessy at debian.org
Tue Feb 8 10:55:24 UTC 2011


The following commit has been merged in the master branch:
commit 0e7e1d9081b5fc944b4872fff446805882b373af
Author: Charles Plessy <plessy at debian.org>
Date:   Tue Feb 8 19:55:27 2011 +0900

     # Patch to build with recent GCC.

diff --git a/debian/control b/debian/control
index 654bbba..22d855a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: filo
 Section: unknown
 Priority: optional
 Maintainer: Charles Plessy <plessy at debian.org>
-Build-Depends: debhelper (>= 8), git, zlib1g-dev
+Build-Depends: debhelper (>= 8), git, quilt, zlib1g-dev
 Standards-Version: 3.9.1
 Homepage: https://github.com/arq5x/filo
 #Vcs-Git: git://git.debian.org/debian-med/filo.git
diff --git a/debian/patches/build-with-recent-gcc.patch b/debian/patches/build-with-recent-gcc.patch
new file mode 100644
index 0000000..828f5d4
--- /dev/null
+++ b/debian/patches/build-with-recent-gcc.patch
@@ -0,0 +1,19 @@
+diff --git a/src/shuffle/shuffle.cpp b/src/shuffle/shuffle.cpp
+index b50b1b5..161341a 100755
+--- a/src/shuffle/shuffle.cpp
++++ b/src/shuffle/shuffle.cpp
+@@ -1,3 +1,4 @@
++#include <cstring> 
+ #include <iostream>
+ #include <fstream>
+ #include <vector>
+diff --git a/src/stats/stats.cpp b/src/stats/stats.cpp
+index dc7e448..4dbfb96 100755
+--- a/src/stats/stats.cpp
++++ b/src/stats/stats.cpp
+@@ -1,3 +1,5 @@
++#include <cstring> 
++#include <limits.h>
+ #include <iostream>
+ #include <fstream>
+ #include <iomanip>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f3466f3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build-with-recent-gcc.patch
diff --git a/debian/rules b/debian/rules
index 4067ba0..00a57e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ 
+	dh $@ --with-quilt

-- 
useful FILe and stream Operations



More information about the debian-med-commit mailing list