aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-10-23 01:36:11 +0800
committerpav <pav@FreeBSD.org>2006-10-23 01:36:11 +0800
commit5037bd119272d1504816b3149d71f80aff175553 (patch)
treea8560b6c962597ae4e580617ec8e1e44c4dee471 /graphics/gimp-app
parent2adac507c9f4dd767aacfece6b71432e98483842 (diff)
downloadfreebsd-ports-gnome-5037bd119272d1504816b3149d71f80aff175553.tar.gz
freebsd-ports-gnome-5037bd119272d1504816b3149d71f80aff175553.tar.zst
freebsd-ports-gnome-5037bd119272d1504816b3149d71f80aff175553.zip
- Fix a startup crash for anyone running non-latin-1 locale
Approved by: portmgr (marcus) Obtained from: GIMP authors
Diffstat (limited to 'graphics/gimp-app')
-rw-r--r--graphics/gimp-app/Makefile2
-rw-r--r--graphics/gimp-app/files/patch-plug-ins.c19
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index 87d72307e68c..4a0434535bcd 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gimp
PORTVERSION= 2.2.13
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
diff --git a/graphics/gimp-app/files/patch-plug-ins.c b/graphics/gimp-app/files/patch-plug-ins.c
new file mode 100644
index 000000000000..f7650f0e0529
--- /dev/null
+++ b/graphics/gimp-app/files/patch-plug-ins.c
@@ -0,0 +1,19 @@
+--- app/plug-in/plug-ins.c.orig Wed Nov 17 15:51:50 2004
++++ app/plug-in/plug-ins.c Sun Oct 22 18:58:36 2006
+@@ -317,6 +317,8 @@
+
+ if (! gimp->no_interface)
+ {
++ gimp_menus_init (gimp, gimp->plug_in_defs, STD_PLUGINS_DOMAIN);
++
+ gimp->load_procs = g_slist_sort_with_data (gimp->load_procs,
+ plug_ins_file_proc_compare,
+ gimp);
+@@ -324,7 +326,6 @@
+ plug_ins_file_proc_compare,
+ gimp);
+
+- gimp_menus_init (gimp, gimp->plug_in_defs, STD_PLUGINS_DOMAIN);
+ }
+
+ /* build list of automatically started extensions */