[med-svn] [king-probe] 04/06: Fix Makefile dependancy issue

Malihe Asemani mali-guest at moszumanska.debian.org
Mon Aug 10 05:51:14 UTC 2015


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

mali-guest pushed a commit to branch master
in repository king-probe.

commit dbca7cc3e60f43c1b322ca3be4514c4e4bbe5ef1
Author: Malihe Asemani <ml.asemani at gmail.com>
Date:   Sun Aug 9 06:11:19 2015 +0000

    Fix Makefile dependancy issue
---
 Makefile.linux                       |  6 ++++--
 debian/patches/fix_build_issue.patch | 30 ++++++++++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/Makefile.linux b/Makefile.linux
index e6a740e..f1d8da8 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -2,7 +2,7 @@ MACHINEFLAGS =
 CFLAGS = $(MACHINEFLAGS)
 LFLAGS = -lm $(MACHINEFLAGS)
 OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \
-	 parse.o atomprops.o stdconntable.o autobondrot.o
+	 parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o
 
 .c.o:
 	cc -c $*.c $(CFLAGS)
@@ -30,9 +30,11 @@ parse.o:	./parse.h	./utility.h	parse.c
 probe.o:	./abin.h	./atomprops.h	./autobondrot.h	./dots.h	./geom3d.h \
 		./parse.h	./probe.h	./readPDBrecs.h	./select.h \
 		./stdconntable.h	./utility.h	probe.c
-readPDBrecs.o:	./geom3d.h	./readPDBrecs.h	./utility.h	readPDBrecs.c
+readPDBrecs.o:	./geom3d.h	./readPDBrecs.h	./utility.h	./hybrid_36_c.h readPDBrecs.c
 select.o:	./abin.h	./atomprops.h	./geom3d.h	./parse.h	./select.h \
 		./stdconntable.h	./utility.h	select.c
 stdconntable.o:	./stdconntable.h	stdconntable.c
 utility.o:	utility.c
+
+hybrid_36_c.o: ./hybrid_36_c.h hybrid_36_c.c
 # DO NOT DELETE THIS 2nd LINE -- make depend uses it
diff --git a/debian/patches/fix_build_issue.patch b/debian/patches/fix_build_issue.patch
new file mode 100644
index 0000000..f3b265c
--- /dev/null
+++ b/debian/patches/fix_build_issue.patch
@@ -0,0 +1,30 @@
+Description: Adding hybrid_36_c.o as a linked Object
+Author: Malihe Asemani <ml.asemani at gmail.com>
+Last-Update: Sat Aug  8 07:28:44 UTC 2015
+Origin: upstream, http://kinemage.biochem.duke.edu/software/probe.php
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- probe.orig/Makefile.linux
++++ probe/Makefile.linux
+@@ -2,7 +2,7 @@
+ CFLAGS = $(MACHINEFLAGS)
+ LFLAGS = -lm $(MACHINEFLAGS)
+ OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \
+-	 parse.o atomprops.o stdconntable.o autobondrot.o
++	 parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o
+ 
+ .c.o:
+ 	cc -c $*.c $(CFLAGS)
+@@ -30,9 +30,11 @@
+ probe.o:	./abin.h	./atomprops.h	./autobondrot.h	./dots.h	./geom3d.h \
+ 		./parse.h	./probe.h	./readPDBrecs.h	./select.h \
+ 		./stdconntable.h	./utility.h	probe.c
+-readPDBrecs.o:	./geom3d.h	./readPDBrecs.h	./utility.h	readPDBrecs.c
++readPDBrecs.o:	./geom3d.h	./readPDBrecs.h	./utility.h	./hybrid_36_c.h readPDBrecs.c
+ select.o:	./abin.h	./atomprops.h	./geom3d.h	./parse.h	./select.h \
+ 		./stdconntable.h	./utility.h	select.c
+ stdconntable.o:	./stdconntable.h	stdconntable.c
+ utility.o:	utility.c
++
++hybrid_36_c.o: ./hybrid_36_c.h hybrid_36_c.c
+ # DO NOT DELETE THIS 2nd LINE -- make depend uses it
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cc1eda2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_build_issue.patch

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



More information about the debian-med-commit mailing list