summaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-24 21:09:15 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-24 21:09:15 +0800
commitf5af50e56865974800d17eef5da1a01d2697d5e9 (patch)
tree64dfaa497f1a090a7d71b81b449c383008c2a0c0 /comms
parente0b8a889fb9fae8421d291e3b1ccc27e80afde6d (diff)
downloadmarcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.tar
marcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.tar.gz
marcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.tar.bz2
marcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.tar.lz
marcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.tar.xz
marcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.tar.zst
marcuscom-ports-f5af50e56865974800d17eef5da1a01d2697d5e9.zip
Fix build with new gtk
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9862 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'comms')
-rw-r--r--comms/tilp2/Makefile3
-rw-r--r--comms/tilp2/files/patch-src_filesel.c10
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/tilp2/Makefile b/comms/tilp2/Makefile
index ac19995b2..654dff01d 100644
--- a/comms/tilp2/Makefile
+++ b/comms/tilp2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tilp2
PORTVERSION= 1.07
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tilp
@@ -34,7 +35,7 @@ PLIST_SUB= NLS="@comment "
.endif
CONFIGURE_ARGS+= --without-kde
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -UGTK_DISABLE_DEPRECATED" \
LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
MAN1= tilp.1
diff --git a/comms/tilp2/files/patch-src_filesel.c b/comms/tilp2/files/patch-src_filesel.c
new file mode 100644
index 000000000..e2875849d
--- /dev/null
+++ b/comms/tilp2/files/patch-src_filesel.c
@@ -0,0 +1,10 @@
+--- src/filesel.c.orig 2007-10-24 09:06:41.542878494 -0400
++++ src/filesel.c 2007-10-24 09:06:56.125704803 -0400
+@@ -36,6 +36,7 @@
+ # include <config.h>
+ #endif /* */
+
++#undef GTK_DISABLE_DEPRECATED
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <gtk/gtk.h>