Control: tags 832013 + patch
In https://bugs.debian.org/832013, Mattia Rizzolo wrote:
> A quick workaround would be to disable the reproducible/fixdebugpath
> buildflags with
> export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixdebugpath
>
> A possibly more proper fix would be to use a different separator than /,
> like : or #.
here's a simple patch for the latter fix.
--dkg
diff --git a/debian/rules b/debian/rules
index c6e859b..8ac2f49 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,9 @@
override_dh_auto_configure:
qmake-qt4
# did not found a better way to push hardening flags into Makefile
- sed -i -e "s/CFLAGS *= .*/& $(CFLAGS)/" \
- -e "s/CXXFLAGS *= .*/& $(CXXFLAGS)/" \
- -e "s/LFLAGS *= .*/& $(LDFLAGS)/" Makefile
+ sed -i -e "s#CFLAGS *= .*#& $(CFLAGS)#" \
+ -e "s#CXXFLAGS *= .*#& $(CXXFLAGS)#" \
+ -e "s#LFLAGS *= .*#& $(LDFLAGS)#" Makefile
override_dh_clean:
$(RM) moc_*