[med-svn] [r8s] 03/06: Needed patches to build the programm

Andreas Tille tille at debian.org
Tue Jun 23 16:02:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r8s.

commit bc35ec7f9fa13e630ddb888d07567a669458f19f
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jun 23 18:00:56 2015 +0200

    Needed patches to build the programm
---
 debian/patches/fix-gcc-problems.patch | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/fix-makefile.patch     | 15 +++++++++++++++
 debian/patches/series                 |  2 ++
 3 files changed, 51 insertions(+)

diff --git a/debian/patches/fix-gcc-problems.patch b/debian/patches/fix-gcc-problems.patch
new file mode 100644
index 0000000..aab0d60
--- /dev/null
+++ b/debian/patches/fix-gcc-problems.patch
@@ -0,0 +1,34 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 23 Jun 2015 17:51:02 +0200
+Description: Insert needed header files
+
+--- a/ReadNexusFile2.c
++++ b/ReadNexusFile2.c
+@@ -200,6 +200,7 @@ Find Hilmar Lapp's email, where he found
+ #include "relativeRates.h"
+ #include <math.h>
+ #include <ctype.h>
++#include <strings.h>
+ 
+ 
+ /*****  private functions ******/
+--- a/TreeUtils.c
++++ b/TreeUtils.c
+@@ -17,6 +17,7 @@
+ #include "DrawTree.h"
+ #include "structures.h"
+ #include <stdlib.h>
++#include <strings.h>
+ #include <math.h>
+ #include "TimeAlgorithms.h"
+ #include "moment.h"
+--- a/structures.c
++++ b/structures.c
+@@ -24,6 +24,7 @@ long 			findMatchStr(StrListPtr List, ch
+ #include "structures.h"
+ #include "MyUtilities.h"
+ #include "memory.h"
++#include <strings.h>
+ 
+ StackPtr newStack(int maxElements)
+ {
diff --git a/debian/patches/fix-makefile.patch b/debian/patches/fix-makefile.patch
new file mode 100644
index 0000000..0413ad1
--- /dev/null
+++ b/debian/patches/fix-makefile.patch
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 23 Jun 2015 17:51:02 +0200
+Description: Fix minimum piece of dramatically broken makefile
+
+--- a/makefile
++++ b/makefile
+@@ -73,7 +73,7 @@ main.o: /usr/include/stdio.h /usr/includ
+ main.o: /usr/include/string.h storeNexusFile.h nexus.h /usr/include/ctype.h
+ main.o: TreeUtils.h structures.h
+ memory.o: /usr/include/stdlib.h memory.h
+-memory.o: /usr/include/errno.h /usr/include/sys/errno.h
++memory.o: /usr/include/errno.h
+ nextToken2.o: nexus.h /usr/include/stdio.h /usr/include/string.h
+ nextToken2.o: /usr/include/stdlib.h
+ nextToken2.o: /usr/include/ctype.h TreeUtils.h structures.h MyUtilities.h
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8a893cd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+fix-gcc-problems.patch
+fix-makefile.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r8s.git



More information about the debian-med-commit mailing list