[Debian-med-packaging] Bug#632150: tabix: package not building as needed.

David dpshorten at gmail.com
Wed Jun 29 21:56:46 UTC 2011


Package: tabix
Version: 0.2.5-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmp9kUZNp
In Ubuntu, the attached patch was applied to achieve the following:


  * Reordered libs in Makefile to build with ld --as-needed (LP: #803202)


Thanks for considering the patch.



-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty'), (500, 'maverick-backports')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-8-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== added directory '.pc'
=== added file '.pc/applied-patches'
--- .pc/applied-patches	1970-01-01 00:00:00 +0000
+++ .pc/applied-patches	2011-06-29 21:35:06 +0000
@@ -0,0 +1,2 @@
+ld-as-needed.patch
+ld-as-needed.patch

=== modified file 'Makefile'
--- Makefile	2011-04-12 17:15:33 +0000
+++ Makefile	2011-06-29 21:35:35 +0000
@@ -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

=== modified file 'debian/changelog'

=== added directory 'debian/patches'
=== added file 'debian/patches/ld-as-needed.patch'
--- debian/patches/ld-as-needed.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/ld-as-needed.patch	2011-06-29 21:49:30 +0000
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/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

=== added file 'debian/patches/series'
--- debian/patches/series	1970-01-01 00:00:00 +0000
+++ debian/patches/series	2011-06-29 21:35:06 +0000
@@ -0,0 +1 @@
+ld-as-needed.patch



More information about the Debian-med-packaging mailing list