On 01/06/12 14:17, Sebastian Ramacher wrote:
> On 01/06/12 01:03, gregor herrmann wrote:
>> If you have the time to create a debdiff, great.
>> Otherwise I can also do it myself.
> 
> Here it is. LDFLAGS is exported now as well. Otherwise the maintainer's change
> from 1.61.0-5 is reverted, i.e the unneeded dependencies are back.

Sorry, that was the wrong patch. Here is the right one.

Cheers
-- 
Sebastian Ramacher
diff -Nru euler-1.61.0/debian/changelog euler-1.61.0/debian/changelog
--- euler-1.61.0/debian/changelog	2009-11-18 13:39:47.000000000 +0100
+++ euler-1.61.0/debian/changelog	2012-06-01 14:09:21.000000000 +0200
@@ -1,3 +1,16 @@
+euler (1.61.0-8.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf to regenerate ./configure. This fixes the FTBFS and
+    lintian's binary-or-shlib-defines-rpath. (Closes: #666337)
+    - debian/control: Build-Dep on dh-autoreconf instead of autotools-dev.
+    - debian/rules:
+      - Call dh with --with autoreconf and don't copy config.{guess,sub}
+        manually.
+      - Export LDFLAGS to not revert the maintainer's change in 1.61.0-5.
+
+ -- Sebastian Ramacher <s.ramac...@gmx.at>  Fri, 01 Jun 2012 13:48:31 +0200
+
 euler (1.61.0-8) unstable; urgency=low
 
   * Switched to source format "3.0 (quilt)".
diff -Nru euler-1.61.0/debian/control euler-1.61.0/debian/control
--- euler-1.61.0/debian/control	2009-11-18 13:39:47.000000000 +0100
+++ euler-1.61.0/debian/control	2012-05-31 19:32:06.000000000 +0200
@@ -2,7 +2,7 @@
 Section: math
 Priority: optional
 Maintainer: Frank S. Thomas <f...@debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, libgtk2.0-dev (>= 2.6.0)
+Build-Depends: debhelper (>= 7), dh-autoreconf, libgtk2.0-dev (>= 2.6.0)
 Standards-Version: 3.8.3
 Vcs-Git: git://git.debian.org/git/collab-maint/euler.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/euler.git
diff -Nru euler-1.61.0/debian/rules euler-1.61.0/debian/rules
--- euler-1.61.0/debian/rules	2009-11-18 13:39:47.000000000 +0100
+++ euler-1.61.0/debian/rules	2012-06-01 14:11:14.000000000 +0200
@@ -1,13 +1,6 @@
 #!/usr/bin/make -f
 
-LDFLAGS += -Wl,--as-needed
-
-build:
-	cp -f /usr/share/misc/config.guess .
-	cp -f /usr/share/misc/config.sub .
-	dh build
+export LDFLAGS += -Wl,--as-needed
 
 %:
-	dh $@
-
-.PHONY: build
+	dh $@ --with autoreconf

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to