Package: encfs Version: 1.5.2-1
Hi! encfs FTBFS with newer gcc versions (In ubuntu we have gcc4.4) Attached is a patch which fixes the issue. As you are not using gcc_fixes patch currently I made a new one. Cheers, Stefan
diff -u encfs-1.5.2/debian/patches/series encfs-1.5.2/debian/patches/series --- encfs-1.5.2/debian/patches/series +++ encfs-1.5.2/debian/patches/series @@ -1,4 +1,5 @@ #autoreconf +gcc4.4_fix fix_bashisms #gcc_fixes #link_as_needed only in patch2: unchanged: --- encfs-1.5.2.orig/debian/patches/gcc4.4_fix +++ encfs-1.5.2/debian/patches/gcc4.4_fix @@ -0,0 +1,13 @@ +Index: encfs-1.5.2/encfs/NameIO.cpp +=================================================================== +--- encfs-1.5.2.orig/encfs/NameIO.cpp 2009-09-12 23:25:14.968555890 +0200 ++++ encfs-1.5.2/encfs/NameIO.cpp 2009-09-12 23:25:30.576536972 +0200 +@@ -190,7 +190,7 @@ + } else + { + bool isDotFile = (*path == '.'); +- char *next = strchr( path, '/' ); ++ const char *next = strchr( path, '/' ); + int len = next ? next - path : strlen( path ); + + // at this point we know that len > 0