diff -Nru harvest-tools-1.3/debian/changelog harvest-tools-1.3/debian/changelog --- harvest-tools-1.3/debian/changelog 2018-11-26 06:48:51.000000000 +0000 +++ harvest-tools-1.3/debian/changelog 2018-12-27 23:52:21.000000000 +0000 @@ -1,3 +1,9 @@ +harvest-tools (1.3-3+rpi1) buster-staging; urgency=medium + + * Use c++14 rather than c++11 for compatibility with new capng. + + -- Peter Michael Green Thu, 27 Dec 2018 23:52:21 +0000 + harvest-tools (1.3-3) unstable; urgency=medium [ Jelmer Vernoo ] diff -Nru harvest-tools-1.3/debian/patches/series harvest-tools-1.3/debian/patches/series --- harvest-tools-1.3/debian/patches/series 2018-11-26 06:48:51.000000000 +0000 +++ harvest-tools-1.3/debian/patches/series 2018-12-27 23:52:21.000000000 +0000 @@ -3,3 +3,4 @@ hardening.patch remove_memwrap.patch parallel.patch +use-c++-14.patch diff -Nru harvest-tools-1.3/debian/patches/use-c++-14.patch harvest-tools-1.3/debian/patches/use-c++-14.patch --- harvest-tools-1.3/debian/patches/use-c++-14.patch 1970-01-01 00:00:00.000000000 +0000 +++ harvest-tools-1.3/debian/patches/use-c++-14.patch 2018-12-27 23:52:21.000000000 +0000 @@ -0,0 +1,39 @@ +Description: Use c++14 rather than c++11 for compatibility with new capng. +Author: Peter Michael Green + +--- +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: 2018-12-27 + +Index: harvest-tools-1.3/configure.ac +=================================================================== +--- harvest-tools-1.3.orig/configure.ac ++++ harvest-tools-1.3/configure.ac +@@ -29,7 +29,7 @@ then + AC_MSG_ERROR([Cap'n Proto compiler (capnp) not found.]) + fi + +-CPPFLAGS="-I$with_protobuf/include -I$with_capnp/include -std=c++11" ++CPPFLAGS="-I$with_protobuf/include -I$with_capnp/include -std=c++14" + + AC_CHECK_HEADER(google/protobuf/stubs/common.h, [result=1], [result=0]) + +Index: harvest-tools-1.3/Makefile.in +=================================================================== +--- harvest-tools-1.3.orig/Makefile.in ++++ harvest-tools-1.3/Makefile.in +@@ -1,4 +1,4 @@ +-CXXFLAGS += -std=c++11 -Isrc -I@protobuf@/include -I@capnp@/include ++CXXFLAGS += -std=c++14 -Isrc -I@protobuf@/include -I@capnp@/include + + UNAME_S=$(shell uname -s) +