aboutsummaryrefslogtreecommitdiff
path: root/net/wireshark/files
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
parent201929fc559eed268c4898e29d03988359317bd4 (diff)
Notes
Diffstat (limited to 'net/wireshark/files')
-rw-r--r--net/wireshark/files/patch-aa25
-rw-r--r--net/wireshark/files/patch-ab13
2 files changed, 38 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);
+ }
diff --git a/net/wireshark/files/patch-ab b/net/wireshark/files/patch-ab
new file mode 100644
index 000000000000..a92c130ac9cf
--- /dev/null
+++ b/net/wireshark/files/patch-ab
@@ -0,0 +1,13 @@
+--- gtk/main.h.orig Sat Apr 22 20:17:29 2000
++++ gtk/main.h Sat Apr 22 20:17:42 2000
+@@ -38,8 +38,8 @@
+ #define MONO_MEDIUM_FONT "-*-lucida console-medium-*-*-*-*-100-*-*-*-*-*-*"
+ #define MONO_BOLD_FONT "-*-lucida console-bold-*-*-*-*-100-*-*-*-*-*-*"
+ #else
+-#define MONO_MEDIUM_FONT "-*-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-iso8859-1"
+-#define MONO_BOLD_FONT "-*-lucidatypewriter-bold-r-normal-*-*-120-*-*-*-*-iso8859-1"
++#define MONO_MEDIUM_FONT "-*-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-iso8859-1,*"
++#define MONO_BOLD_FONT "-*-lucidatypewriter-bold-r-normal-*-*-120-*-*-*-*-iso8859-1,*"
+ #endif
+ #define RC_FILE PF_DIR "/gtkrc"
+ #define DEF_WIDTH 750