diff -Nru python-escript-5.0/debian/changelog python-escript-5.0/debian/changelog --- python-escript-5.0/debian/changelog 2017-07-03 20:02:53.000000000 +0000 +++ python-escript-5.0/debian/changelog 2017-11-02 11:29:48.000000000 +0000 @@ -1,3 +1,10 @@ +python-escript (5.0-4+rpi1) buster-staging; urgency=medium + + * Disable Werror. (Closes: 878496) + * Fix clean target. + + -- Peter Michael Green Thu, 02 Nov 2017 11:29:48 +0000 + python-escript (5.0-4) unstable; urgency=medium [ Joel Fenwick ] diff -Nru python-escript-5.0/debian/patches/disable-werror python-escript-5.0/debian/patches/disable-werror --- python-escript-5.0/debian/patches/disable-werror 1970-01-01 00:00:00.000000000 +0000 +++ python-escript-5.0/debian/patches/disable-werror 2017-11-02 11:29:39.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Disable Werror +Author: Peter Michael Green +Bug-Debian: https://bugs.debian.org/878496 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2017-11-02 + +--- python-escript-5.0.orig/scons/templates/sid_options.py ++++ python-escript-5.0/scons/templates/sid_options.py +@@ -63,6 +63,9 @@ boost_libs = [p2name[3:-3]] + boost_py2_libs = [p2name[3:-3]] + boost_py3_libs = [p3name[3:-3]] + ++# Disable Werror ++werror = False ++ + from site_init import getdebbuildflags + # Now we add the debian build flags + debstuff = getdebbuildflags() diff -Nru python-escript-5.0/debian/patches/series python-escript-5.0/debian/patches/series --- python-escript-5.0/debian/patches/series 2017-01-05 21:34:39.000000000 +0000 +++ python-escript-5.0/debian/patches/series 2017-11-02 11:22:19.000000000 +0000 @@ -2,3 +2,4 @@ rootintar fixopenmpiconf fixFTBFS.patch +disable-werror diff -Nru python-escript-5.0/debian/rules python-escript-5.0/debian/rules --- python-escript-5.0/debian/rules 2017-07-03 20:02:18.000000000 +0000 +++ python-escript-5.0/debian/rules 2017-11-02 11:29:48.000000000 +0000 @@ -48,6 +48,8 @@ rm -rf $(CURDIR)/debian/tmp/* rm -f debian/files rm -f debian/substvars + rm -f site_scons/*.pyc + rm -f *test.sh dh_clean override_dh_installchangelogs: