diff -Nru gorm.app-1.2.20/debian/changelog gorm.app-1.2.20/debian/changelog --- gorm.app-1.2.20/debian/changelog 2014-08-06 18:15:06.000000000 +0000 +++ gorm.app-1.2.20/debian/changelog 2014-11-01 20:25:58.000000000 +0000 @@ -1,3 +1,11 @@ +gorm.app (1.2.20-2) unstable; urgency=medium + + * debian/patches/fix-gorm-loading.patch: New; fixes a crash when loading + gorm files with ImageMagick-enabled gnustep-gui (Closes: #767066). + * debian/patches/series: Update. + + -- Yavor Doganov Sat, 01 Nov 2014 22:24:15 +0200 + gorm.app (1.2.20-1) unstable; urgency=medium * New upstream release: diff -Nru gorm.app-1.2.20/debian/patches/fix-gorm-loading.patch gorm.app-1.2.20/debian/patches/fix-gorm-loading.patch --- gorm.app-1.2.20/debian/patches/fix-gorm-loading.patch 1970-01-01 00:00:00.000000000 +0000 +++ gorm.app-1.2.20/debian/patches/fix-gorm-loading.patch 2014-11-01 20:22:10.000000000 +0000 @@ -0,0 +1,26 @@ +Description: Fix crash when loading gorm files exposed by GSImageMagickImageRep +Bug-Debian: https://bugs.debian.org/767066 +Bug: http://savannah.gnu.org/bugs/index.php?42782 +Origin: upstream, commit: r38136 +Last-Update: 2014-11-01 +--- + +--- gorm.app.orig/GormCore/GormWrapperLoader.m ++++ gorm.app/GormCore/GormWrapperLoader.m +@@ -77,6 +77,16 @@ + while((key = [enumerator nextObject]) != nil) + { + NSFileWrapper *fw = [fileWrappers objectForKey: key]; ++ ++ // ++ // Images with .info can be loaded, but we have a file ++ // called data.info which is metadata for Gorm. Don't load it. ++ // ++ if ( [key isEqualToString: @"data.info"] == YES ) ++ { ++ continue; ++ } ++ + if([fw isRegularFile]) + { + NSData *fileData = [fw regularFileContents]; diff -Nru gorm.app-1.2.20/debian/patches/series gorm.app-1.2.20/debian/patches/series --- gorm.app-1.2.20/debian/patches/series 2014-07-21 20:14:58.000000000 +0000 +++ gorm.app-1.2.20/debian/patches/series 2014-11-01 19:45:13.000000000 +0000 @@ -1,2 +1,3 @@ +fix-gorm-loading.patch texinfo-fixes.patch link-libs.patch