aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-10-22 17:36:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-10-22 17:36:11 +0000
commite50bf70b85fbd6d86875f61cca7f9743c20f2d4c (patch)
tree76382dc054eb86eb1c67f82bbfb6b1b1e54617ec /graphics/gimp
parent0d4b10325cbce2b64358ec21d95920a251232d5f (diff)
downloadports-e50bf70b85fbd6d86875f61cca7f9743c20f2d4c.tar.gz
ports-e50bf70b85fbd6d86875f61cca7f9743c20f2d4c.zip
- Fix a startup crash for anyone running non-latin-1 locale
Approved by: portmgr (marcus) Obtained from: GIMP authors
Notes
Notes: svn path=/head/; revision=175486
Diffstat (limited to 'graphics/gimp')
-rw-r--r--graphics/gimp/Makefile2
-rw-r--r--graphics/gimp/files/patch-plug-ins.c19
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile
index 87d72307e68c..4a0434535bcd 100644
--- a/graphics/gimp/Makefile
+++ b/graphics/gimp/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/files/patch-plug-ins.c b/graphics/gimp/files/patch-plug-ins.c
new file mode 100644
index 000000000000..f7650f0e0529
--- /dev/null
+++ b/graphics/gimp/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 */