Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 09:18:26 +0800 (CST)
From:      Kang-min Liu <gugod@gafe.ath.cx>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35325: gtk_set_locale patch for ports/x11-fonts/gfe
Message-ID:  <20020226011826.163D37149@x20.gugod.org>

next in thread | raw e-mail | index | archive | help
	Note: There was a bad value `non-cirtical' for the field `>Severity:'.
	It was set to the default value of `serious'.


>Number:         35325
>Category:       ports
>Synopsis:       gtk_set_locale patch for ports/x11-fonts/gfe
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 17:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kang-min Liu
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
csie.ntu
>Environment:
System: FreeBSD x20.gugod.org 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Mon Feb 25 17:36:56 CST 2002 root@x20.gugod.org:/usr/obj/usr/src/sys/X20.current i386
>Description:
	gfe itself doesn't issue gtk_set_locale() while startup.
	so that it fail to display local message in some dialog box.
>How-To-Repeat:
>Fix:
	Apply this patch to ports.

diff -ruN gfe.orig/files/patch-src:main.c gfe/files/patch-src:main.c
--- gfe.orig/files/patch-src:main.c     Thu Jan  1 08:00:00 1970
+++ gfe/files/patch-src:main.c  Tue Feb 26 09:12:45 2002
@@ -0,0 +1,11 @@
+diff -ruN src.dist/main.c src/main.c
+--- src.dist/main.c    Tue Feb 26 09:11:19 2002
++++ src/main.c Tue Feb 26 09:11:47 2002
+@@ -37,6 +37,7 @@
+   int i;
+ 
+   /* process gtk/X switches */
++  gtk_set_locale();
+   gtk_init(&argc, &argv);
+ 
+   show_version = FALSE;
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020226011826.163D37149>