Control: fixed -1 http-parser/2.1-2.1
Control: close -1

Closing by hand, as I missed the ":" when closing in d/changelog


2016-11-01 19:09 Helmut Grohne:
Source: http-parser
Version: 2.1-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

http-parser fails to cross build from source, because it uses the build
architecture compiler (which is make's default). To cross build one needs
to pass triplet-prefixed compilers into make. Thankfully, recent
debhelper learned to do just that, so replacing the explicit make
invocations with dh_auto_build makes cross builds succeed. Please
consider applying the attached patch.

Helmut

diff --minimal -Nru http-parser-2.1/debian/changelog 
http-parser-2.1/debian/changelog
--- http-parser-2.1/debian/changelog    2013-09-24 00:29:13.000000000 +0200
+++ http-parser-2.1/debian/changelog    2016-11-01 19:03:36.000000000 +0100
@@ -1,3 +1,10 @@
+http-parser (2.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross flags. (Closes #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 01 Nov 2016 19:03:22 +0100
+
http-parser (2.1-2) unstable; urgency=low

  * Team upload.
diff --minimal -Nru http-parser-2.1/debian/rules http-parser-2.1/debian/rules
--- http-parser-2.1/debian/rules        2013-09-23 23:59:46.000000000 +0200
+++ http-parser-2.1/debian/rules        2016-11-01 19:03:20.000000000 +0100
@@ -11,8 +11,8 @@
        dh $@

override_dh_auto_build:
-       make package
-       make library
+       dh_auto_build -- package
+       dh_auto_build -- library

override_dh_makeshlibs:
        dh_makeshlibs -V 'libhttp-parser2.1 (>=2.1)'


--
Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>

Reply via email to