diff -Nru liborigin2-20110117/debian/changelog liborigin2-20110117/debian/changelog --- liborigin2-20110117/debian/changelog 2015-08-24 01:57:24.000000000 +0200 +++ liborigin2-20110117/debian/changelog 2016-08-07 14:42:14.000000000 +0200 @@ -1,3 +1,10 @@ +liborigin2 (2:20110117-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with gcc-6. (Closes: #811837) + + -- Anton Gladky Sun, 07 Aug 2016 14:41:45 +0200 + liborigin2 (2:20110117-1.1) unstable; urgency=medium * Non-maintainer upload (See #791151) diff -Nru liborigin2-20110117/debian/patches/10_fix-gcc-6_FTBFS.patch liborigin2-20110117/debian/patches/10_fix-gcc-6_FTBFS.patch --- liborigin2-20110117/debian/patches/10_fix-gcc-6_FTBFS.patch 1970-01-01 01:00:00.000000000 +0100 +++ liborigin2-20110117/debian/patches/10_fix-gcc-6_FTBFS.patch 2015-08-24 01:49:45.000000000 +0200 @@ -0,0 +1,27 @@ +Description: Fix FTBFS with gcc-6 +Author: Anton Gladky +Bug-Debian: https://bugs.debian.org/811837 +Last-Update: 2016-08-07 + +--- liborigin2-20110117.orig/OriginFile.h ++++ liborigin2-20110117/OriginFile.h +@@ -69,7 +69,7 @@ public: + + private: + unsigned int fileVersion, buildVersion; +- auto_ptr parser; ++ shared_ptr parser; + }; + + #endif // ORIGIN_FILE_H +--- liborigin2-20110117.orig/logging.hpp ++++ liborigin2-20110117/logging.hpp +@@ -347,7 +347,7 @@ namespace boost { + sink(std::ostream *s, level_t max_log_level = 1) + { + if (s) +- if (*s == std::cout || *s == std::cerr || *s == std::clog) ++ if (s == &std::cout || s == &std::cerr || s == &std::clog) + m_output_stream.reset(s, null_deleter()); + else + m_output_stream.reset(s); diff -Nru liborigin2-20110117/debian/patches/series liborigin2-20110117/debian/patches/series --- liborigin2-20110117/debian/patches/series 2010-12-13 18:59:05.000000000 +0100 +++ liborigin2-20110117/debian/patches/series 2015-08-24 01:49:45.000000000 +0200 @@ -1 +1,2 @@ 01_makefile.diff +10_fix-gcc-6_FTBFS.patch