diff options
author | wiz <wiz@pkgsrc.org> | 2012-05-03 06:06:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-05-03 06:06:12 +0000 |
commit | a50c558eeb9b2e326f45556cc664bfe18be85676 (patch) | |
tree | 6fdc701ff00749fa612e3c968b6c6de0eb2c9081 /x11 | |
parent | 29336ef62ab2b81a60b35b36e85681b982b51e1a (diff) | |
download | pkgsrc-a50c558eeb9b2e326f45556cc664bfe18be85676.tar.gz |
Fix build with glib-2.32. Set LICENSE while here.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtksourceview/Makefile | 4 | ||||
-rw-r--r-- | x11/gtksourceview/distinfo | 4 | ||||
-rw-r--r-- | x11/gtksourceview/patches/patch-gtksourceview_gtksourcelanguage.c | 16 | ||||
-rw-r--r-- | x11/gtksourceview/patches/patch-gtksourceview_gtksourceregex.h | 15 |
4 files changed, 36 insertions, 3 deletions
diff --git a/x11/gtksourceview/Makefile b/x11/gtksourceview/Makefile index 0dc8abe9db1..9449eb25a58 100644 --- a/x11/gtksourceview/Makefile +++ b/x11/gtksourceview/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.59 2012/03/03 00:11:54 wiz Exp $ +# $NetBSD: Makefile,v 1.60 2012/05/03 06:06:12 wiz Exp $ # DISTNAME= gtksourceview-1.8.5 -#PKGREVISION= 1 PKGREVISION= 11 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtksourceview/1.8/} @@ -11,6 +10,7 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gtksourceview.sourceforge.net/ COMMENT= Text widget that extends GTK2's GtkTextView widget +LICENSE= gnu-gpl-v2 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/x11/gtksourceview/distinfo b/x11/gtksourceview/distinfo index db91d272088..5e5875df9c9 100644 --- a/x11/gtksourceview/distinfo +++ b/x11/gtksourceview/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.22 2008/02/20 11:28:19 xtraeme Exp $ +$NetBSD: distinfo,v 1.23 2012/05/03 06:06:12 wiz Exp $ SHA1 (gtksourceview-1.8.5.tar.bz2) = 4e61b6cda043c44dc918edecd2bd9ccfc5438d2c RMD160 (gtksourceview-1.8.5.tar.bz2) = 978c59d5f99baeb5d8b9c3c14246ffc48ce150f8 Size (gtksourceview-1.8.5.tar.bz2) = 785000 bytes +SHA1 (patch-gtksourceview_gtksourcelanguage.c) = 02fb5c56c86b67a40994c73c6138394ae4377ec5 +SHA1 (patch-gtksourceview_gtksourceregex.h) = e85e0a9d6f65dc9343c772f91dfd6fdb024a824c diff --git a/x11/gtksourceview/patches/patch-gtksourceview_gtksourcelanguage.c b/x11/gtksourceview/patches/patch-gtksourceview_gtksourcelanguage.c new file mode 100644 index 00000000000..296d9d0555f --- /dev/null +++ b/x11/gtksourceview/patches/patch-gtksourceview_gtksourcelanguage.c @@ -0,0 +1,16 @@ +$NetBSD: patch-gtksourceview_gtksourcelanguage.c,v 1.1 2012/05/03 06:06:13 wiz Exp $ + +Adapt for glib-2.32. + +--- gtksourceview/gtksourcelanguage.c.orig 2007-01-03 15:40:28.000000000 +0000 ++++ gtksourceview/gtksourcelanguage.c +@@ -30,8 +30,7 @@ + + #include <libxml/xmlreader.h> + +-#include <glib/gstdio.h> +-#include <glib/gmappedfile.h> ++#include <glib.h> + + #include "gtksourceview-i18n.h" + diff --git a/x11/gtksourceview/patches/patch-gtksourceview_gtksourceregex.h b/x11/gtksourceview/patches/patch-gtksourceview_gtksourceregex.h new file mode 100644 index 00000000000..1fd394e6968 --- /dev/null +++ b/x11/gtksourceview/patches/patch-gtksourceview_gtksourceregex.h @@ -0,0 +1,15 @@ +$NetBSD: patch-gtksourceview_gtksourceregex.h,v 1.1 2012/05/03 06:06:13 wiz Exp $ + +Adapt for glib-2.32. + +--- gtksourceview/gtksourceregex.h.orig 2007-01-03 15:40:28.000000000 +0000 ++++ gtksourceview/gtksourceregex.h +@@ -20,7 +20,7 @@ + #ifndef __GTK_SOURCE_REGEX_H__ + #define __GTK_SOURCE_REGEX_H__ + +-#include <glib/gtypes.h> ++#include <glib.h> + + G_BEGIN_DECLS + |