summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-31 05:23:18 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-31 05:23:18 +0800
commiteb871f630c8431cb879356c3a087ba71b99a31a0 (patch)
treeb175d4c8b55e047a45eae2245084d8439ed756a5
parent09e73a1d556456c91a9e2881d468e24fbdf84570 (diff)
downloadmarcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.tar
marcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.tar.gz
marcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.tar.bz2
marcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.tar.lz
marcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.tar.xz
marcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.tar.zst
marcuscom-ports-eb871f630c8431cb879356c3a087ba71b99a31a0.zip
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9284 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-toolkits/gdl/Makefile4
-rw-r--r--x11-toolkits/gdl/files/patch-gdl_gdl-switcher.c10
-rw-r--r--x11-toolkits/guile-gnome/Makefile5
3 files changed, 16 insertions, 3 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);
diff --git a/x11-toolkits/guile-gnome/Makefile b/x11-toolkits/guile-gnome/Makefile
index 2a2ec9570..f78fedc54 100644
--- a/x11-toolkits/guile-gnome/Makefile
+++ b/x11-toolkits/guile-gnome/Makefile
@@ -3,7 +3,7 @@
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/x11-toolkits/guile-gnome/Makefile,v 1.1 2007/05/23 16:00:12 ahze Exp $
PORTNAME= guile-gnome
PORTVERSION= 0.20
@@ -27,6 +27,9 @@ CONFIGURE_ARGS= --with-bonobo --with-gtkhtml --without-gal \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+post-patch:
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig
+
pre-build:
@${TOUCH} -f ${WRKSRC}/guile-gnome/gtkhtml/*.c