summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2008-04-14 18:45:51 +0000
committergdt <gdt@pkgsrc.org>2008-04-14 18:45:51 +0000
commitb0ca9009320c211475907f58f943c4eb093b734d (patch)
treeb2c0553e37d047ad9c8143e2cd3f184318ea5c16 /www
parent3d19e172ff3248a66653d2136b95b77f1be0e9e4 (diff)
downloadpkgsrc-b0ca9009320c211475907f58f943c4eb093b734d.tar.gz
Don't define preprocessor symbols to avoid deprecated features; some
of the dependencies are too new and this uses symbols that are now deprecated. Based on similar fix to gtkhtl314.
Diffstat (limited to 'www')
-rw-r--r--www/gtkhtml38/Makefile4
-rw-r--r--www/gtkhtml38/distinfo3
-rw-r--r--www/gtkhtml38/patches/patch-aa17
3 files changed, 21 insertions, 3 deletions
diff --git a/www/gtkhtml38/Makefile b/www/gtkhtml38/Makefile
index 7a7bdbd190d..8e2da9e67fa 100644
--- a/www/gtkhtml38/Makefile
+++ b/www/gtkhtml38/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2008/03/06 14:53:55 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2008/04/14 18:45:51 gdt Exp $
#
DISTNAME= gtkhtml-3.12.3
PKGNAME= ${DISTNAME:S/gtkhtml/gtkhtml38/}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkhtml/3.12/}
EXTRACT_SUFX= .tar.bz2
diff --git a/www/gtkhtml38/distinfo b/www/gtkhtml38/distinfo
index 4a5df7866fb..d635fc482bd 100644
--- a/www/gtkhtml38/distinfo
+++ b/www/gtkhtml38/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2007/04/17 06:29:42 wiz Exp $
+$NetBSD: distinfo,v 1.11 2008/04/14 18:45:51 gdt Exp $
SHA1 (gtkhtml-3.12.3.tar.bz2) = 8bdbd9365bdaa482821c5acf6369535e63e31836
RMD160 (gtkhtml-3.12.3.tar.bz2) = bb138582275ddd43e8fa45d62b841e3bc63fb8fd
Size (gtkhtml-3.12.3.tar.bz2) = 1284704 bytes
+SHA1 (patch-aa) = c6aaf5d30d13061318fe1b7792ce271cb5a68eb3
diff --git a/www/gtkhtml38/patches/patch-aa b/www/gtkhtml38/patches/patch-aa
new file mode 100644
index 00000000000..6962d1351f0
--- /dev/null
+++ b/www/gtkhtml38/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2008/04/14 18:45:51 gdt Exp $
+
+When disabling deprecated options, symbols are undefined, apparently
+because some of our other packages are now too new.
+
+--- src/Makefile.in.orig 2007-01-29 10:12:49.000000000 -0500
++++ src/Makefile.in
+@@ -378,9 +378,6 @@ INCLUDES = \
+ -DG_LOG_DOMAIN=\"gtkhtml\"
+
+ AM_CFLAGS = \
+- -DGDK_DISABLE_DEPRECATED=1 \
+- -DG_DISABLE_DEPRECATED=1 \
+- -DGNOME_DISABLE_DEPRECATED=1 \
+ -DPREFIX=\""$(prefix)"\" \
+ -DLIBDIR=\""$(datadir)"\" \
+ -DDATADIR=\""$(datadir)"\" \