summaryrefslogtreecommitdiffstats
path: root/graphics/gimpshop/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-08-30 22:42:23 +0000
committermarcus <marcus@FreeBSD.org>2003-08-30 22:42:23 +0000
commitb40eb044f87247fd1fba0e669e27b023abc75104 (patch)
tree083120aa9d10b6b4eddbb8dd70d998abe647c9aa /graphics/gimpshop/files
parent107c052b7de2fb3425cee8571dcc3fa5915ba3fd (diff)
downloadFreeBSD-ports-b40eb044f87247fd1fba0e669e27b023abc75104.zip
FreeBSD-ports-b40eb044f87247fd1fba0e669e27b023abc75104.tar.gz
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>
Diffstat (limited to 'graphics/gimpshop/files')
-rw-r--r--graphics/gimpshop/files/patch-app_widgets_gimpitemfactory.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/gimpshop/files/patch-app_widgets_gimpitemfactory.c b/graphics/gimpshop/files/patch-app_widgets_gimpitemfactory.c
new file mode 100644
index 0000000..09f3680
--- /dev/null
+++ b/graphics/gimpshop/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,
OpenPOWER on IntegriCloud