xchat: fix gtk build problems

This commit is contained in:
Simone Rota 2008-11-23 17:38:31 +01:00
parent ae2b109d1d
commit 615ba45e94
3 changed files with 17 additions and 2 deletions

View File

@ -1,2 +1,3 @@
eb68b6261bf6740cb5f223627eb8f384 xc286-smallfixes.diff
1f2670865d43a23a9abc596dde999aca xchat-2.8.6.tar.bz2
f3fe00982c0bec93152ed0b32438ef87 xchat-gtk2.patch

View File

@ -5,13 +5,15 @@
name=xchat
version=2.8.6
release=1
release=2
source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.bz2 \
http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff)
http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff \
$name-gtk2.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/xc286-smallfixes.diff
patch -p1 -i $SRC/$name-gtk2.patch
./configure --prefix=/usr \
--enable-openssl \
--enable-perl \

12
xchat/xchat-gtk2.patch Normal file
View File

@ -0,0 +1,12 @@
--- xchat-2.8.6/src/fe-gtk/xtext.h.orig 2008-02-24
05:48:02.000000000 +0100
+++ xchat-2.8.6/src/fe-gtk/xtext.h 2008-09-06
02:18:39.000000000 +0200
@@ -270,6 +270,6 @@
xtext_buffer *gtk_xtext_buffer_new (GtkXText *xtext);
void gtk_xtext_buffer_free (xtext_buffer *buf);
void gtk_xtext_buffer_show (GtkXText *xtext, xtext_buffer *buf, int render);
-GtkType gtk_xtext_get_type (void);
+GType gtk_xtext_get_type (void);
#endif