patches/xchat-01-gettext.diff
author laca_
Thu, 27 Jul 2006 20:32:02 +0000
changeset 1 60fdac847787
child 99 d150c04a806d
permissions -rw-r--r--
initial import

--- xchat-2.6.1/configure.in-orig	2006-01-26 18:27:40.758485000 -0800
+++ xchat-2.6.1/configure.in	2006-01-26 18:26:48.928474000 -0800
@@ -11,7 +11,13 @@ AM_DISABLE_STATIC
 AM_PROG_LIBTOOL
 
 ALL_LINGUAS="de el es fi fr gl hu ja ko nl pa sq sr sv vi zh_TW"
-AM_GNU_GETTEXT
+AM_GLIB_GNU_GETTEXT
+USE_INCLUDED_LIBINTL=no
+AC_SUBST(USE_INCLUDED_LIBINTL)
+BUILD_INCLUDED_LIBINTL=no
+AC_SUBST(BUILD_INCLUDED_LIBINTL)
+GETTEXT_PACKAGE=$PACKAGE
+AC_SUBST(GETTEXT_PACKAGE)
 
 dnl displaced from acconfig.h
 AH_VERBATIM([OLD_PERL],[#undef OLD_PERL])
@@ -297,7 +301,7 @@ if test "$python" = yes; then
                         PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'`
                         PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'`
                         if test -f $PY_INC/Python.h; then
-                                PY_LIBS="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
+                                PY_LIBS="-L$PY_LIB/config -lpython$PY_VER -lpthread"
                                 PY_CFLAGS="-I$PY_INC"
                                 AC_MSG_RESULT(ok)
                         else
--- xchat-2.6.2/plugins/dbus/Makefile.am.orig	2006-05-08 17:23:47.327109000 +0100
+++ xchat-2.6.2/plugins/dbus/Makefile.am	2006-05-08 17:25:28.749172000 +0100
@@ -20,11 +20,11 @@
 
 bin_PROGRAMS = xchat-remote
 xchat_remote_SOURCES = xchat-remote.c 
-xchat_remote_LDADD = $(DBUS_LIBS) $(GLIB_LIBS)
+xchat_remote_LDADD = $(DBUS_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
 
 noinst_PROGRAMS = example
 example_SOURCES = example.c 
-example_LDADD = $(DBUS_LIBS) $(GLIB_LIBS)
+example_LDADD = $(DBUS_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
 
 INCLUDES =					\
 	$(COMMON_CFLAGS)			\