diff options
Diffstat (limited to 'x11-toolkits/gdl')
-rw-r--r-- | x11-toolkits/gdl/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/gdl/files/patch-gdl_gdl-switcher.c | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/x11-toolkits/gdl/Makefile b/x11-toolkits/gdl/Makefile index 869072933..ff01afa8a 100644 --- a/x11-toolkits/gdl/Makefile +++ b/x11-toolkits/gdl/Makefile @@ -3,12 +3,12 @@ # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gdl/Makefile,v 1.12 2007/05/30 19:36:05 mezz Exp $ +# $MCom: ports/x11-toolkits/gdl/Makefile,v 1.13 2007/06/29 23:21:50 mezz Exp $ # PORTNAME= gdl PORTVERSION= 0.7.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} diff --git a/x11-toolkits/gdl/files/patch-gdl_gdl-switcher.c b/x11-toolkits/gdl/files/patch-gdl_gdl-switcher.c new file mode 100644 index 000000000..53f0d747c --- /dev/null +++ b/x11-toolkits/gdl/files/patch-gdl_gdl-switcher.c @@ -0,0 +1,10 @@ +--- gdl/gdl-switcher.c.orig Tue Jul 10 00:35:38 2007 ++++ gdl/gdl-switcher.c Tue Jul 10 00:34:14 2007 +@@ -285,6 +285,7 @@ layout_buttons (GdlSwitcher *switcher) + } + + rows_count = num_btns / btns_per_row; ++ rows_count += (num_btns % btns_per_row == 0) ? 0 : 1; + + /* Assign buttons to rows */ + rows = g_new0 (GSList *, rows_count); |