Commit b4113299 authored by Yavor Doganov's avatar Yavor Doganov Committed by Eric Heintzmann

Import Debian patch 1.2.20-2

parent d8d0a7e0
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 <yavor@gnu.org> Sat, 01 Nov 2014 22:24:15 +0200
gorm.app (1.2.20-1) unstable; urgency=medium
* New upstream release:
......
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];
fix-gorm-loading.patch
texinfo-fixes.patch
link-libs.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment