[qrouter] 01/01: Fixed FTBFS bug

Ruben Undheim rubund-guest at moszumanska.debian.org
Sat Oct 11 10:25:43 UTC 2014


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

rubund-guest pushed a commit to branch master
in repository qrouter.

commit fded6ae247e86abd151b3924d6f4c1d7ec4e99bb
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sat Oct 11 10:20:09 2014 +0000

    Fixed FTBFS bug
---
 debian/changelog                        |  7 +++++++
 debian/patches/04_build_with_fpic.patch | 19 +++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f39624c..806dce5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+qrouter (1.3.1-2) UNRELEASED; urgency=medium
+
+  * Fixes FTBFS on certain architectures (Closes: 764740) 
+  * New standards version 3.9.6
+
+ --  <ruben.undheim at gmail.com>  Sat, 11 Oct 2014 12:22:46 +0200
+
 qrouter (1.3.1-1) unstable; urgency=low
 
   * Initial release (Closes: #760629)
diff --git a/debian/patches/04_build_with_fpic.patch b/debian/patches/04_build_with_fpic.patch
new file mode 100644
index 0000000..1633da3
--- /dev/null
+++ b/debian/patches/04_build_with_fpic.patch
@@ -0,0 +1,19 @@
+Description: This patched makes sure that every source file is built with
+ -fPIC.
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+--- qrouter-1.3.1.orig/Makefile
++++ qrouter-1.3.1/Makefile
+@@ -123,4 +123,4 @@ veryclean:
+ 	$(RM) qrouter.sh
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INC_SPECS) -c $< -o $@
++	$(CC) $(CFLAGS) $(CPPFLAGS) $(SHLIB_CFLAGS) $(DEFS) $(INC_SPECS) -c $< -o $@
+--- qrouter-1.3.1.orig/Makefile.in
++++ qrouter-1.3.1/Makefile.in
+@@ -123,4 +123,4 @@ veryclean:
+ 	$(RM) qrouter.sh
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INC_SPECS) -c $< -o $@
++	$(CC) $(CFLAGS) $(CPPFLAGS) $(SHLIB_CFLAGS) $(DEFS) $(INC_SPECS) -c $< -o $@
diff --git a/debian/patches/series b/debian/patches/series
index b62fe4d..278b017 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_chmod_executable.patch
 02_use_tkcon_from_debian.patch
 03_remove_files.patch
+04_build_with_fpic.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qrouter.git



More information about the debian-science-commits mailing list