diff -u abiword-2.6.8/debian/changelog abiword-2.6.8/debian/changelog --- abiword-2.6.8/debian/changelog +++ abiword-2.6.8/debian/changelog @@ -1,3 +1,10 @@ +abiword (2.6.8-5ubuntu2) karmic; urgency=low + + * Fix FTBFS with gcc 4.4 (LP: #429099) + - Add debian/patches/05_ftbfs_gcc44.diff + + -- Felix Geyer Mon, 14 Sep 2009 00:08:54 +0200 + abiword (2.6.8-5ubuntu1) karmic; urgency=low * Merge from debian/unstable, remaining changes: (LP: #376268) diff -u abiword-2.6.8/debian/patches/series abiword-2.6.8/debian/patches/series --- abiword-2.6.8/debian/patches/series +++ abiword-2.6.8/debian/patches/series @@ -4,0 +5 @@ +05_ftbfs_gcc44.diff only in patch2: unchanged: --- abiword-2.6.8.orig/debian/patches/05_ftbfs_gcc44.diff +++ abiword-2.6.8/debian/patches/05_ftbfs_gcc44.diff @@ -0,0 +1,11 @@ +--- abiword-2.6.8/../abiword-plugins-2.6.8/tools/abicommand/xp/AbiCommand.cpp 2007-10-11 22:05:55.000000000 +0200 ++++ abiword-2.6.8/../abiword-plugins-2.6.8/tools/abicommand/xp/AbiCommand.cpp 2009-09-14 00:03:31.000000000 +0200 +@@ -551,7 +551,7 @@ + UT_UTF8String *pCom1 = + const_cast < UT_UTF8String * >(static_cast < const UT_UTF8String * >(pToks->getNthItem (1))); + printf(" Filename %s \n",pCom1->utf8_str()); +- char *suffix = rindex (pCom1->utf8_str (), '.'); ++ const char *suffix = rindex (pCom1->utf8_str (), '.'); + + if (suffix != NULL) + {