Hi,

Here's a debdiff which fixes this bug.
I've tested building in a chroot using gcc-6.

One might want to consider setting up a Git repository for this package :)

Cheers,
u.
diff -Nru ppl-1.1/debian/changelog ppl-1.1/debian/changelog
--- ppl-1.1/debian/changelog	2015-12-11 22:07:13.000000000 +0100
+++ ppl-1.1/debian/changelog	2016-07-01 12:22:22.000000000 +0200
@@ -1,3 +1,10 @@
+ppl (1:1.1-7.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply upstream patch to build with GCC6. Closes: #811825.
+
+ -- Ulrike Uhlig <u...@451f.org>  Fri, 01 Jul 2016 12:03:57 +0200
+
 ppl (1:1.1-7.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru ppl-1.1/debian/patches/build-with-gcc6 ppl-1.1/debian/patches/build-with-gcc6
--- ppl-1.1/debian/patches/build-with-gcc6	1970-01-01 01:00:00.000000000 +0100
+++ ppl-1.1/debian/patches/build-with-gcc6	2016-07-02 10:27:38.000000000 +0200
@@ -0,0 +1,16 @@
+Description: ppl should build from source when using gcc-6.
+Origin: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=fe5b8f435d431d9d64e0174c752aa856d1c61132
+Applied-Upstream: commit: fe5b8f435d431d9d64e0174c752aa856d1c61132
+Author: Patrik Pomelli <patrik.pome...@bugseng.com>
+
+--- a/demos/ppl_pips/ppl_pips.cc
++++ b/demos/ppl_pips/ppl_pips.cc
+@@ -538,7 +538,7 @@
+
+ void
+ set_input(const char* file_name) {
+-  if (input_stream_p && *input_stream_p != std::cin)
++  if (input_stream_p && (input_stream_p != &std::cin))
+     delete input_stream_p;
+
+   if (file_name) {
diff -Nru ppl-1.1/debian/patches/series ppl-1.1/debian/patches/series
--- ppl-1.1/debian/patches/series	2015-12-07 22:06:22.000000000 +0100
+++ ppl-1.1/debian/patches/series	2016-07-01 12:47:25.000000000 +0200
@@ -1,4 +1,4 @@
-# empty
+build-with-gcc6
 latex-header.diff
 link-tests-with-libmpq.diff
 doxygen-update.diff

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to