Source: vdr-plugin-mp3 Version: 0.10.2-24 Tags: patch User: [email protected] Usertags: ftcbfs
vdr-plugin-mp3 fails to cross build from source, because debian/rules uses the build architecture pkg-config. The attached patch makes it use the host architecture pkg-config to make vdr-plugin-mp3 cross buildable. Please consider applying it. Helmut
diff --minimal -Nru vdr-plugin-mp3-0.10.2/debian/changelog vdr-plugin-mp3-0.10.2/debian/changelog --- vdr-plugin-mp3-0.10.2/debian/changelog 2019-07-19 20:14:33.000000000 +0200 +++ vdr-plugin-mp3-0.10.2/debian/changelog 2019-07-27 15:16:13.000000000 +0200 @@ -1,3 +1,10 @@ +vdr-plugin-mp3 (0.10.2-24.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use the host architecture pkg-config. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 27 Jul 2019 15:16:13 +0200 + vdr-plugin-mp3 (0.10.2-24) unstable; urgency=medium * Build-depend on vdr-dev >= 2.4.1 diff --minimal -Nru vdr-plugin-mp3-0.10.2/debian/rules vdr-plugin-mp3-0.10.2/debian/rules --- vdr-plugin-mp3-0.10.2/debian/rules 2019-07-19 20:14:33.000000000 +0200 +++ vdr-plugin-mp3-0.10.2/debian/rules 2019-07-27 15:16:12.000000000 +0200 @@ -4,7 +4,9 @@ #export DH_VERBOSE=1 MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale -CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags) $(LDFLAGS) +-include /usr/share/dpkg/buildtools.mk +PKG_CONFIG ?= pkg-config +CXXFLAGS += $(shell $(PKG_CONFIG) vdr --variable=cxxflags) $(LDFLAGS) %: dh $@ --with vdrplugin
_______________________________________________ pkg-vdr-dvb-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel
