From edb6306340d81f659067df9ce4b3f72ed1efb3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 2 Jan 2017 21:56:13 +0100 Subject: [PATCH] liblxqt: fix cross --- srcpkgs/liblxqt/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/liblxqt/template b/srcpkgs/liblxqt/template index 3efeaf31f32..0ecd4de8a1a 100644 --- a/srcpkgs/liblxqt/template +++ b/srcpkgs/liblxqt/template @@ -13,6 +13,11 @@ homepage="http://lxqt.org/" distfiles="https://github.com/lxde/liblxqt/releases/download/${version}/liblxqt-${version}.tar.xz" checksum=487dc42ceb611f53024c531d5550bd0d4fe8cbfe3dbf3711faba5db6ee6d415d +post_configure() { + # Replace -isystem with -I to avoid "#include_next " file not found + find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \; +} + liblxqt-devel_package() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"