Source: libtorrent-rasterbar
Severity: important
Tags: patch
Please enabled hardened build flags through dpkg-buildflags.
Patch attached.
Cheers,
Moritz
diff -aur libtorrent-rasterbar-0.15.9.harden/debian/rules libtorrent-rasterbar-0.15.9/debian/rules
--- libtorrent-rasterbar-0.15.9.harden/debian/rules 2011-12-21 13:09:19.000000000 +0100
+++ libtorrent-rasterbar-0.15.9/debian/rules 2012-01-19 21:37:40.000000000 +0100
@@ -20,7 +20,7 @@
dh_auto_configure --builddirectory build-py$* -- \
PYTHON=/usr/bin/python$* PYTHON_INSTALL_PARAMS="--root=$(CURDIR)/debian/tmp --install-layout=deb" \
--enable-python-binding --with-boost-python=boost_python-mt-py$(subst .,,$(subst -dbg,,$*)) \
- $(CONFIGURE_ARGS)
+ $(CONFIGURE_ARGS) $(shell dpkg-buildflags --export=configure)
mv build-py$*/bindings/python build/bindings/python$*
cp -r bindings/python/src build/bindings/python$*
Nur in libtorrent-rasterbar-0.15.9/debian: rules~.