[med-svn] [SCM] tabix branch, master, updated. debian/0.2.5-1-11-gf72a972

Andreas Tille tille at debian.org
Fri May 11 11:39:11 UTC 2012


The following commit has been merged in the master branch:
commit f72a972739c01e68926bda45266425b1c984f068
Author: Andreas Tille <tille at debian.org>
Date:   Fri May 11 13:35:43 2012 +0200

    Apply ld-as-needed.patch from Ubunto to enable --as-needed

diff --git a/debian/changelog b/debian/changelog
index 90118da..caa61b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tabix (0.2.5-3) UNRELEASED; urgency=low
+
+  * debian/patches/ld-as-needed.patch:  Enable building with --as-needed
+    (Thanks to David Shorten <dpshorten at gmail.com> for the patch)
+    Closes: #632150
+
+ -- Andreas Tille <tille at debian.org>  Fri, 11 May 2012 13:32:56 +0200
+
 tabix (0.2.5-2) unstable; urgency=low
 
   [ Charles Plessy ]
diff --git a/debian/patches/ld-as-needed.patch b/debian/patches/ld-as-needed.patch
new file mode 100644
index 0000000..89fa1ed
--- /dev/null
+++ b/debian/patches/ld-as-needed.patch
@@ -0,0 +1,16 @@
+Description: Reorder libraries to build with ld --as-needed
+Author: David Shorten <dpshorten at gmail.com>
+Bug-Ubuntu: http://bugs.launchpad.net/ubuntu/+source/tabix/+bug/803202
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632150
+Last-Update: 2011-06-30
+--- tabix.orig/Makefile
++++ tabix/Makefile
+@@ -38,7 +38,7 @@
+ 		$(AR) -cru $@ $(LOBJS)
+ 
+ tabix:lib $(AOBJS)
+-		$(CC) $(CFLAGS) -o $@ $(AOBJS) -lm $(LIBPATH) -lz -L. -ltabix
++		$(CC) $(CFLAGS) -o $@ $(AOBJS) -L. -ltabix -lm $(LIBPATH) -lz  
+ 
+ bgzip:bgzip.o bgzf.o knetfile.o
+ 		$(CC) $(CFLAGS) -o $@ bgzip.o bgzf.o knetfile.o -lz
diff --git a/debian/patches/series b/debian/patches/series
index 2effa73..32e9be1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 count-set-but-not-used.patch
 use-dpkg-buildflags.patch
+ld-as-needed.patch

-- 
Generic indexer for TAB-delimited genome position files.



More information about the debian-med-commit mailing list