diff -Nru xye-0.12.2+dfsg/debian/changelog xye-0.12.2+dfsg/debian/changelog --- xye-0.12.2+dfsg/debian/changelog 2013-12-23 06:59:27.000000000 +0100 +++ xye-0.12.2+dfsg/debian/changelog 2014-12-03 14:01:37.000000000 +0100 @@ -1,3 +1,12 @@ +xye (0.12.2+dfsg-3) unstable; urgency=medium + + * Add patch to fix double separators in folders resulting in filenames + that makes savegames of earlier versions appear as for different + levels than they really are (Closes: #771702) + * Add override for lintian error regarding embedded tinyxml + + -- Andreas Rönnquist Tue, 02 Dec 2014 09:29:51 +0100 + xye (0.12.2+dfsg-2) unstable; urgency=low * Fix patch which didn't use the redeclared variable 'i' in all correct diff -Nru xye-0.12.2+dfsg/debian/patches/fix_double_separators_in_folder.patch xye-0.12.2+dfsg/debian/patches/fix_double_separators_in_folder.patch --- xye-0.12.2+dfsg/debian/patches/fix_double_separators_in_folder.patch 1970-01-01 01:00:00.000000000 +0100 +++ xye-0.12.2+dfsg/debian/patches/fix_double_separators_in_folder.patch 2014-12-02 09:45:57.000000000 +0100 @@ -0,0 +1,18 @@ +Author: Andreas Rönnquist +Description: Fix double separators in folder + Fixes resulting filenames containing double separators, which + causes old savegames to appear as if they are for different + levels than they really are. +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -95,6 +95,10 @@ + i--; + } + ++ if (options::Dir[options::Dir.length()-1]=='/') { ++ options::Dir = options::Dir.substr(0, options::Dir.length()-1); ++ } ++ + cout << "Will look on "<