On Tue, 07 Aug 2012 09:09:35 +0900, Nobuhiro Iwamatsu wrote:

> I created a patch which revise this bug.
> I attached. Please check and apply.

The attached patch seems to achieve the same and might be a bit
simpler.


Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Nick Drake: River Man
diff -Nru dynamips-0.2.7-0.2.8RC2/debian/changelog dynamips-0.2.7-0.2.8RC2/debian/changelog
--- dynamips-0.2.7-0.2.8RC2/debian/changelog	2010-09-11 01:12:46.000000000 +0200
+++ dynamips-0.2.7-0.2.8RC2/debian/changelog	2012-09-03 22:26:04.000000000 +0200
@@ -1,3 +1,12 @@
+dynamips (0.2.7-0.2.8RC2-5.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS with multiarch paths: cc: error: /usr/lib/libelf.a: No
+    such file or directory": add patch libelf.patch: just use "-lelf".
+    (Closes: #682412)
+
+ -- gregor herrmann <gre...@debian.org>  Mon, 03 Sep 2012 22:17:48 +0200
+
 dynamips (0.2.7-0.2.8RC2-5) unstable; urgency=low
 
   * [36efa51e] changed patch system from dpatch to quilt
diff -Nru dynamips-0.2.7-0.2.8RC2/debian/patches/libelf.patch dynamips-0.2.7-0.2.8RC2/debian/patches/libelf.patch
--- dynamips-0.2.7-0.2.8RC2/debian/patches/libelf.patch	1970-01-01 01:00:00.000000000 +0100
+++ dynamips-0.2.7-0.2.8RC2/debian/patches/libelf.patch	2012-09-03 22:25:36.000000000 +0200
@@ -0,0 +1,18 @@
+Description: libelf moved due to multiarch
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/682412
+Forwarded: no
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2012-09-03
+
+--- a/Makefile
++++ b/Makefile
+@@ -69,7 +69,7 @@
+    PTHREAD_LIBS?=-lpthread
+    PCAP_LIB=-lpcap
+    CFLAGS+=-I/usr/include -I. $(PTHREAD_CFLAGS)
+-   LIBS=-L/usr/lib -L. -ldl /usr/lib/libelf.a $(PTHREAD_LIBS)
++   LIBS=-L/usr/lib -L. -ldl -lelf $(PTHREAD_LIBS)
+    DESTDIR=/usr
+ else
+ ifeq ($(shell uname -s), Darwin)
diff -Nru dynamips-0.2.7-0.2.8RC2/debian/patches/series dynamips-0.2.7-0.2.8RC2/debian/patches/series
--- dynamips-0.2.7-0.2.8RC2/debian/patches/series	2010-09-11 01:14:38.000000000 +0200
+++ dynamips-0.2.7-0.2.8RC2/debian/patches/series	2012-09-03 22:18:56.000000000 +0200
@@ -8,3 +8,4 @@
 90_fix_Makefile_architectures.diff
 91_hppa_support.diff
 debian-changes-0.2.7-0.2.8RC2-5
+libelf.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to