Source: vdr-plugin-femon
Version: 2.4.0-5
Tags: patch
User: [email protected]
Usertags: ftcbfs

vdr-plugin-femon fails to cross build from source, because it uses the
build architecture pkg-config and thus misses out on relevant compiler
flags. It has rather precise ideas on where to locate vdr.pc in order to
support being vendored even though Debian doesn't vendor it. As such,
changing the pkg-config invocation is probably not acceptable upstream.
Instead, I propose forcing the Debian location of the .pc file. I'm
attaching a patch for your convenience.

Helmut
diff --minimal -Nru vdr-plugin-femon-2.4.0/debian/changelog 
vdr-plugin-femon-2.4.0/debian/changelog
--- vdr-plugin-femon-2.4.0/debian/changelog     2022-01-12 09:21:10.000000000 
+0100
+++ vdr-plugin-femon-2.4.0/debian/changelog     2022-12-03 10:32:00.000000000 
+0100
@@ -1,3 +1,10 @@
+vdr-plugin-femon (2.4.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Force correct location of vdr.pc. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 03 Dec 2022 10:32:00 +0100
+
 vdr-plugin-femon (2.4.0-5) unstable; urgency=medium
 
   * Fix debian/watch
diff --minimal -Nru vdr-plugin-femon-2.4.0/debian/rules 
vdr-plugin-femon-2.4.0/debian/rules
--- vdr-plugin-femon-2.4.0/debian/rules 2022-01-12 09:21:10.000000000 +0100
+++ vdr-plugin-femon-2.4.0/debian/rules 2022-12-03 10:31:56.000000000 +0100
@@ -3,6 +3,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/architecture.mk
+export VDRDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
+
 %:
        dh $@ --with vdrplugin
 
_______________________________________________
pkg-vdr-dvb-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel

Reply via email to