Fix build. Including <gtk/gtkclist.h> directly causes a circular include

dependency: gtkclist.h depends on gtk.h depends on gtkctree.h depends on
gtkclist.h -> boom. Simply including <gtk/gtk.h> works, though.
OK maintainer, and also tested on amd64 by Jonathan Armani, thanks!
This commit is contained in:
stsp 2009-01-25 00:29:03 +00:00
parent 1185081c52
commit 8b03888204
2 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2009/01/11 22:59:42 landry Exp $
# $OpenBSD: Makefile,v 1.9 2009/01/25 00:29:03 stsp Exp $
COMMENT= SVG vector drawing application
DISTNAME= inkscape-0.46
PKGNAME= ${DISTNAME}p6
PKGNAME= ${DISTNAME}p7
CATEGORIES= graphics
MAINTAINER= Benoit Chesneau <benoitc@metavers.net>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_widgets_sp-xmlview-attr-list_h,v 1.1 2009/01/25 00:29:03 stsp Exp $
--- src/widgets/sp-xmlview-attr-list.h.orig Sat Jan 24 12:24:43 2009
+++ src/widgets/sp-xmlview-attr-list.h Sat Jan 24 12:26:02 2009
@@ -13,7 +13,7 @@
*/
#include <stdio.h>
-#include <gtk/gtkclist.h>
+#include <gtk/gtk.h>
#include "../xml/repr.h"
#include <glib.h>