Source: gtkgl2
Version: 2.0.1-2.2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gtkgl2 fails to cross build from source, because it configures for the
build architecture. The easiest way to pass the relevant --host flag is
letting dh_auto_configure do it. After doing so, gtkgl2 cross builds
successfully. Please consider applying the attached patch.

Helmut
diff -u gtkgl2-2.0.1/debian/changelog gtkgl2-2.0.1/debian/changelog
--- gtkgl2-2.0.1/debian/changelog
+++ gtkgl2-2.0.1/debian/changelog
@@ -1,3 +1,11 @@
+gtkgl2 (2.0.1-2.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes:
+    #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 06 Apr 2018 19:33:19 +0200
+
 gtkgl2 (2.0.1-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u gtkgl2-2.0.1/debian/rules gtkgl2-2.0.1/debian/rules
--- gtkgl2-2.0.1/debian/rules
+++ gtkgl2-2.0.1/debian/rules
@@ -7,7 +7,7 @@
 build-stamp:
        dh_testdir
        dh_autoreconf
-       ./configure --prefix=/usr --with-lib-GL
+       dh_auto_configure -- --with-lib-GL
        $(MAKE) LIBS+=-lX11
        touch $@
 

Reply via email to