[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1100823: magicfilter FTCBFS: does not pass --host to configure



Source: magicfilter
Version: 1.2-68
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

magicfilter fails to cross build from source, because it does not pass
--host to configure. It still passes a cross compiler and that leaves
configure confused giving up. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru magicfilter-1.2/debian/changelog magicfilter-1.2/debian/changelog
--- magicfilter-1.2/debian/changelog	2024-07-27 11:03:02.000000000 +0200
+++ magicfilter-1.2/debian/changelog	2025-03-18 09:01:58.000000000 +0100
@@ -1,3 +1,10 @@
+magicfilter (1.2-68.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass --build/--host to configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 18 Mar 2025 09:01:58 +0100
+
 magicfilter (1.2-68) unstable; urgency=medium
 
   * debian/rules: use autoreconf (Closes: #1075248)
diff --minimal -Nru magicfilter-1.2/debian/rules magicfilter-1.2/debian/rules
--- magicfilter-1.2/debian/rules	2024-07-27 11:03:02.000000000 +0200
+++ magicfilter-1.2/debian/rules	2025-03-18 09:01:58.000000000 +0100
@@ -32,6 +32,8 @@
 	autoupdate
 	dh_autoreconf
 	GZIP=/bin/gzip BZIP2=/bin/bzip2 ./configure --prefix=/usr \
+	            --build=$(DEB_BUILD_GNU_TYPE) \
+		    --host=$(DEB_HOST_GNU_TYPE) \
 		    --infodir=/usr/share/info \
                     --mandir=/usr/share/man \
 		    --bindir=/usr/sbin

Reply to: