pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/gtkhtml38 Don't define preprocessor symbols to avo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74e632a01019
branches:  trunk
changeset: 541062:74e632a01019
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Apr 14 18:45:51 2008 +0000

description:
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:

 www/gtkhtml38/Makefile         |   4 ++--
 www/gtkhtml38/distinfo         |   3 ++-
 www/gtkhtml38/patches/patch-aa |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r e92ed94ffb25 -r 74e632a01019 www/gtkhtml38/Makefile
--- a/www/gtkhtml38/Makefile    Mon Apr 14 18:13:19 2008 +0000
+++ b/www/gtkhtml38/Makefile    Mon Apr 14 18:45:51 2008 +0000
@@ -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 -r e92ed94ffb25 -r 74e632a01019 www/gtkhtml38/distinfo
--- a/www/gtkhtml38/distinfo    Mon Apr 14 18:13:19 2008 +0000
+++ b/www/gtkhtml38/distinfo    Mon Apr 14 18:45:51 2008 +0000
@@ -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 -r e92ed94ffb25 -r 74e632a01019 www/gtkhtml38/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gtkhtml38/patches/patch-aa    Mon Apr 14 18:45:51 2008 +0000
@@ -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)"\"                      \



Home | Main Index | Thread Index | Old Index