- Fix a startup crash for anyone running non-latin-1 locale

Approved by:	portmgr (marcus)
Obtained from:	GIMP authors
This commit is contained in:
Pav Lucistnik 2006-10-22 17:36:11 +00:00
parent 0d4b10325c
commit e50bf70b85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175486
4 changed files with 40 additions and 2 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= gimp PORTNAME= gimp
PORTVERSION= 2.2.13 PORTVERSION= 2.2.13
PORTREVISION= 1 PORTREVISION= 2
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= graphics gnome CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \

View file

@ -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 */

View file

@ -7,7 +7,7 @@
PORTNAME= gimp PORTNAME= gimp
PORTVERSION= 2.2.13 PORTVERSION= 2.2.13
PORTREVISION= 1 PORTREVISION= 2
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= graphics gnome CATEGORIES= graphics gnome
MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \

View file

@ -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 */