Source: lv2
Version: 1.18.4-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

lv2 fails to cross build from source, because it does not pass cross
tools to waf. The easiest way of doing so - using dpkg's buildtools.mk -
makes lv2 cross buildable. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru lv2-1.18.4/debian/changelog lv2-1.18.4/debian/changelog
--- lv2-1.18.4/debian/changelog 2022-06-12 14:12:07.000000000 +0200
+++ lv2-1.18.4/debian/changelog 2022-09-30 21:04:21.000000000 +0200
@@ -1,3 +1,10 @@
+lv2 (1.18.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export build tools for waf. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 30 Sep 2022 21:04:21 +0200
+
 lv2 (1.18.4-1) unstable; urgency=medium
 
   * New upstream version 1.18.4
diff --minimal -Nru lv2-1.18.4/debian/rules lv2-1.18.4/debian/rules
--- lv2-1.18.4/debian/rules     2021-01-17 21:50:35.000000000 +0100
+++ lv2-1.18.4/debian/rules     2022-09-30 21:04:21.000000000 +0200
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+DPKG_EXPORT_BUILDTOOLS=1
 include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 

Reply via email to