[med-svn] [gubbins] 01/02: Add -lsubunit explicitly to enable building tests

Andreas Tille tille at debian.org
Wed Nov 25 11:13:17 UTC 2015


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

tille pushed a commit to branch master
in repository gubbins.

commit ae3ec051ed3f70eec6a810efcc84b069a8ca9047
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 25 12:07:18 2015 +0100

    Add -lsubunit explicitly to enable building tests
---
 debian/patches/add_missing_lib_for_check.patch | 12 ++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/add_missing_lib_for_check.patch b/debian/patches/add_missing_lib_for_check.patch
new file mode 100644
index 0000000..949ab4c
--- /dev/null
+++ b/debian/patches/add_missing_lib_for_check.patch
@@ -0,0 +1,12 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 19 Nov 2015 10:45:48 +0100
+Description: Current gcc needs explict -lsubunit to find this library
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -32,4 +32,4 @@ run_all_tests_SOURCES = \
+ 	../tests/helper_methods.c \
+ 	../tests/run_all_tests.c
+ run_all_tests_CFLAGS = -I../tests $(PTHREAD_CFLAGS)
+-run_all_tests_LDADD = -lcheck libgubbins.la -lz -lm $(PTHREAD_LDFLAGS) -lrt
++run_all_tests_LDADD = -lcheck libgubbins.la -lz -lm $(PTHREAD_LDFLAGS) -lrt -lsubunit
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..34d0b1c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add_missing_lib_for_check.patch

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



More information about the debian-med-commit mailing list