From 0730155c1008d2737e37caf24a27860158e171f1 Mon Sep 17 00:00:00 2001 From: couderc Date: Sat, 2 Aug 2003 14:36:50 +0000 Subject: [PATCH] add patch from main stream, bump PKGNAME --- net/xchat/Makefile | 3 ++- net/xchat/patches/patch-src_fe-gtk_xtext_c | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 net/xchat/patches/patch-src_fe-gtk_xtext_c diff --git a/net/xchat/Makefile b/net/xchat/Makefile index c256f81fd04..4a60696f98a 100644 --- a/net/xchat/Makefile +++ b/net/xchat/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.44 2003/05/26 11:30:05 couderc Exp $ +# $OpenBSD: Makefile,v 1.45 2003/08/02 14:36:50 couderc Exp $ # $FreeBSD: Makefile,v 1.12 1999/06/08 23:41:54 steve Exp $ COMMENT= "X-Chat is an X11 IRC client" @@ -6,6 +6,7 @@ COMMENT= "X-Chat is an X11 IRC client" MAJOR= 1.8 VERSION= ${MAJOR}.11 DISTNAME= xchat-${VERSION} +PKGNAME= ${DISTNAME}p1 CATEGORIES= net x11 MASTER_SITES= http://xchat.org/files/source/${MAJOR}/ \ diff --git a/net/xchat/patches/patch-src_fe-gtk_xtext_c b/net/xchat/patches/patch-src_fe-gtk_xtext_c new file mode 100644 index 00000000000..84cfc8d5128 --- /dev/null +++ b/net/xchat/patches/patch-src_fe-gtk_xtext_c @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_fe-gtk_xtext_c,v 1.1 2003/08/02 14:36:50 couderc Exp $ +--- src/fe-gtk/xtext.c.orig 2003-08-02 16:06:15.000000000 +0200 ++++ src/fe-gtk/xtext.c 2003-08-02 16:07:47.000000000 +0200 +@@ -505,7 +505,11 @@ gtk_xtext_size_allocate (GtkWidget * wid + int height_only = FALSE; + + if (allocation->width == widget->allocation.width) ++ { ++ if (allocation->height == widget->allocation.height) ++ return; + height_only = TRUE; ++ } + + widget->allocation = *allocation; + if (GTK_WIDGET_REALIZED (widget))