diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-09-16 18:24:39 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-09-16 18:24:39 +0000 |
commit | d63ba47bd2624f25fb20d3f87b3871a282c7abd0 (patch) | |
tree | bbc7a47b1cabf3ff9ed20ab206e4d71d15357da3 /x11/libgnome/files | |
parent | 4387af4b6ef0e95e15d224b48a3325080abf1a9a (diff) | |
download | ports-d63ba47bd2624f25fb20d3f87b3871a282c7abd0.tar.gz ports-d63ba47bd2624f25fb20d3f87b3871a282c7abd0.zip |
Notes
Diffstat (limited to 'x11/libgnome/files')
-rw-r--r-- | x11/libgnome/files/patch-bl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/x11/libgnome/files/patch-bl b/x11/libgnome/files/patch-bl new file mode 100644 index 000000000000..a16b56bc3a8b --- /dev/null +++ b/x11/libgnome/files/patch-bl @@ -0,0 +1,35 @@ +--- libgnomeui/gnome-init.c.orig Sat May 6 10:30:31 2000 ++++ libgnomeui/gnome-init.c Tue Sep 12 11:34:20 2000 +@@ -200,32 +200,8 @@ + switch(reason) { + case POPT_CALLBACK_REASON_PRE: + { +- char *ctype, *old_ctype = NULL; +- gboolean ctype_set; +- + gnome_segv_setup (FALSE); +- ctype = setlocale (LC_CTYPE, NULL); +- +- if (!strcmp(ctype, "C")) { +- old_ctype = g_strdup (getenv ("LC_CTYPE")); +- putenv ("LC_CTYPE=en_US"); +- ctype_set = TRUE; +- } else +- ctype_set = FALSE; +- + gtk_set_locale (); +- +- if (ctype_set) { +- char *setme; +- +- if (old_ctype) { +- setme = g_strconcat ("LC_CTYPE=", old_ctype, NULL); +- g_free(old_ctype); +- } else +- setme = "LC_CTYPE"; +- +- putenv (setme); +- } + client = gnome_master_client(); + } + break; |