From 92209052b81c4efdbc58c5782ad113dae8722f07 Mon Sep 17 00:00:00 2001
From: "Vanilla I. Shu" <vanilla@FreeBSD.org>
Date: Sat, 25 Mar 2000 14:37:39 +0000
Subject: Add a patch for I18N (change gdk_font_load to gdk_fontset_load)

---
 net-im/ayttm/files/patch-aa | 12 ++++++++----
 net-im/ayttm/files/patch-ac | 21 +++++++++++++++++++++
 2 files changed, 29 insertions(+), 4 deletions(-)
 create mode 100644 net-im/ayttm/files/patch-ac

(limited to 'net-im')

diff --git a/net-im/ayttm/files/patch-aa b/net-im/ayttm/files/patch-aa
index 22a0c44a1626..6948215ac140 100644
--- a/net-im/ayttm/files/patch-aa
+++ b/net-im/ayttm/files/patch-aa
@@ -1,6 +1,6 @@
---- configure.orig	Wed Mar  1 23:41:56 2000
-+++ configure	Wed Mar  1 23:42:08 2000
-@@ -2348,7 +2348,7 @@
+--- configure.orig	Tue Feb  1 07:51:56 2000
++++ configure	Sat Mar 25 21:24:22 2000
+@@ -2348,10 +2348,10 @@
  CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include" 
  
  EB_CFLAGS="$CFLAGS -I../"
@@ -8,4 +8,8 @@
 +EB_LIBS="$LIBS -L../libicq -licq -L../libmsn -lmsn -L../libyahoo -lyahoo -L../libproxy -lproxy -L../libtoc -ltoc -pthread"
  EB_LDADD="$LDADD"
  
- EB_CFLAGS="$EB_CFLAGS -D_REENTRANT -Wall -g "
+-EB_CFLAGS="$EB_CFLAGS -D_REENTRANT -Wall -g "
++EB_CFLAGS="$EB_CFLAGS -D_REENTRANT -Wall"
+ # Check whether --with-esd-prefix or --without-esd-prefix was given.
+ if test "${with_esd_prefix+set}" = set; then
+   withval="$with_esd_prefix"
diff --git a/net-im/ayttm/files/patch-ac b/net-im/ayttm/files/patch-ac
new file mode 100644
index 000000000000..5a48648aa813
--- /dev/null
+++ b/net-im/ayttm/files/patch-ac
@@ -0,0 +1,21 @@
+--- src/gtkhtml.c.orig	Sat Mar 25 21:24:55 2000
++++ src/gtkhtml.c	Sat Mar 25 21:23:28 2000
+@@ -494,7 +494,7 @@
+ {
+ 	char buf[256];
+ 	g_snprintf(buf, sizeof(buf), fmt, font_sizes[size]);
+-	return gdk_font_load(buf);
++	return gdk_fontset_load(buf);
+ }
+ 
+ 
+--- src/main.c.orig	Sat Mar 25 21:33:08 2000
++++ src/main.c	Sat Mar 25 21:32:11 2000
+@@ -123,6 +123,7 @@
+ 
+ #endif
+    	gtk_init(&argc, &argv);
++	gtk_set_locale ();
+ 	g_snprintf(buff, 1024, "%s/.everybuddy",getenv("HOME"));
+ 	services_init();
+ 		
-- 
cgit v1.2.3