Source: xine-ui
Version: 0.99.9-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

xine-ui fails to cross build from source, because debian/rules says so
and simply errors out. After removing the deliberate error, xine-ui
cross builds successfully for e.g. s390x. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru xine-ui-0.99.9/debian/changelog 
xine-ui-0.99.9/debian/changelog
--- xine-ui-0.99.9/debian/changelog     2017-01-22 04:12:02.000000000 +0100
+++ xine-ui-0.99.9/debian/changelog     2017-11-15 06:22:10.000000000 +0100
@@ -1,3 +1,10 @@
+xine-ui (0.99.9-1.4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Remove error saying that it doesn't cross. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 15 Nov 2017 06:22:10 +0100
+
 xine-ui (0.99.9-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru xine-ui-0.99.9/debian/rules xine-ui-0.99.9/debian/rules
--- xine-ui-0.99.9/debian/rules 2017-01-22 04:04:30.000000000 +0100
+++ xine-ui-0.99.9/debian/rules 2017-11-15 06:22:10.000000000 +0100
@@ -5,16 +5,13 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-  $(error cross compiling is not supported by xine)
-endif
-
 config.status:
        dh_testdir
        sh ./configure \
                --prefix=/usr --mandir=\$${prefix}/share/man \
                --with-aalib --enable-vdr-keys \
-               --build $(DEB_HOST_GNU_TYPE) || \
+               --build $(DEB_BUILD_GNU_TYPE) \
+               --host $(DEB_HOST_GNU_TYPE) || \
                (echo "=== config.log: ==="; cat config.log; false)
 
 build: build-arch build-indep

Reply via email to