summaryrefslogtreecommitdiff
path: root/graphics/gimp-app
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-30 22:42:23 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-30 22:42:23 +0000
commitbfba2c4f69b2eaca186e16e19c215f0b38763e54 (patch)
tree17db4931d2b97f9c250398253a950d31cfb6ae1b /graphics/gimp-app
parentComplete repo copy to polish/openoffice. (diff)
Fix a bug where gimp would crash on startup on -CURRENT because a translated
pointer was being free'd accidentally. Reported by: Fritz Heinrichmeyer <Fritz.Heinrichmeyer@fernuni-hagen.de> Pav Lucistnik <pav@oook.cz>
Notes
Notes: svn path=/head/; revision=88111
Diffstat (limited to 'graphics/gimp-app')
-rw-r--r--graphics/gimp-app/Makefile1
-rw-r--r--graphics/gimp-app/files/patch-app_widgets_gimpitemfactory.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index 3f0d7c69d26f..be54deefa3fd 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gimp
PORTVERSION= 1.3.19
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
diff --git a/graphics/gimp-app/files/patch-app_widgets_gimpitemfactory.c b/graphics/gimp-app/files/patch-app_widgets_gimpitemfactory.c
new file mode 100644
index 000000000000..09f3680dd9fb
--- /dev/null
+++ b/graphics/gimp-app/files/patch-app_widgets_gimpitemfactory.c
@@ -0,0 +1,11 @@
+--- app/widgets/gimpitemfactory.c.orig Sat Aug 30 16:19:07 2003
++++ app/widgets/gimpitemfactory.c Sat Aug 30 18:36:59 2003
+@@ -1036,7 +1036,7 @@
+ }
+ else
+ {
+- translation = dgettext (domain, full_path);
++ translation = g_strdup (dgettext (domain, full_path));
+ }
+
+ if (strncmp (item_factory->path, translation,