summaryrefslogtreecommitdiff
path: root/net/wireshark/files/patch-aa
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2000-04-22 21:19:39 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2000-04-22 21:19:39 +0000
commit19caf44942b71d7e3f6e5c3acb71b395cef5b13b (patch)
tree0fb38afc0822077e4a14e4199bfa13d5e0558337 /net/wireshark/files/patch-aa
parentUpdate xmovie port. (diff)
Add a patch for I18N, and correct pkg/PLIST.
Notes
Notes: svn path=/head/; revision=27894
Diffstat (limited to 'net/wireshark/files/patch-aa')
-rw-r--r--net/wireshark/files/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/wireshark/files/patch-aa b/net/wireshark/files/patch-aa
new file mode 100644
index 000000000000..9fc3924a3c78
--- /dev/null
+++ b/net/wireshark/files/patch-aa
@@ -0,0 +1,25 @@
+--- gtk/main.c.orig Wed Apr 5 10:17:53 2000
++++ gtk/main.c Sat Apr 22 20:33:00 2000
+@@ -1161,6 +1161,7 @@
+
+ /* Let GTK get its args */
+ gtk_init (&argc, &argv);
++ gtk_set_locale ();
+
+ prefs = read_prefs(&pf_path);
+ if (pf_path != NULL) {
+@@ -1440,12 +1441,12 @@
+ sprintf(rc_file, "%s/%s", get_home_dir(), RC_FILE);
+ gtk_rc_parse(rc_file);
+
+- if ((m_r_font = gdk_font_load(medium_font)) == NULL) {
++ if ((m_r_font = gdk_fontset_load(medium_font)) == NULL) {
+ fprintf(stderr, "ethereal: Error font %s not found (use -m option)\n", medium_font);
+ exit(1);
+ }
+
+- if ((m_b_font = gdk_font_load(bold_font)) == NULL) {
++ if ((m_b_font = gdk_fontset_load(bold_font)) == NULL) {
+ fprintf(stderr, "ethereal: Error font %s not found (use -b option)\n", bold_font);
+ exit(1);
+ }