From 67a85ba51729156556bc33265838253d69ab6e51 Mon Sep 17 00:00:00 2001 From: darcy Date: Wed, 9 Aug 2006 17:13:58 +0000 Subject: Fix include file so that it doesn't conflict with code. Variable 'nib' that was declared external is only used in one place and is declared static in that file (quill0p.c). --- graphics/xart/Makefile | 4 ++-- graphics/xart/distinfo | 3 ++- graphics/xart/patches/patch-ak | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 graphics/xart/patches/patch-ak (limited to 'graphics') diff --git a/graphics/xart/Makefile b/graphics/xart/Makefile index 9a502633171..89aac710a3e 100644 --- a/graphics/xart/Makefile +++ b/graphics/xart/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.40 2006/04/19 17:04:31 wiz Exp $ +# $NetBSD: Makefile,v 1.41 2006/08/09 17:13:58 darcy Exp $ # DISTNAME= xart19980415 PKGNAME= xart-19980415 -PKGREVISION= 9 +PKGREVISION= 10 CATEGORIES= graphics x11 MASTER_SITES= http://linux01.gwdg.de/~rhohen/linux/ EXTRACT_SUFX= .tgz diff --git a/graphics/xart/distinfo b/graphics/xart/distinfo index f2e9e02c6b8..4f8aac690eb 100644 --- a/graphics/xart/distinfo +++ b/graphics/xart/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2006/04/19 17:04:31 wiz Exp $ +$NetBSD: distinfo,v 1.12 2006/08/09 17:13:58 darcy Exp $ SHA1 (xart19980415.tgz) = d4445392e33a5dcf5ae951babac82394e7cdd65c RMD160 (xart19980415.tgz) = 99077c23a798d8c0026bd53450052b1a8cf6ff6f @@ -13,3 +13,4 @@ SHA1 (patch-ag) = c764ddf68af02eda1475778e6c1774d751e68a92 SHA1 (patch-ah) = f888c5167cd8a6111e2064d586ff50984320b210 SHA1 (patch-ai) = 349170a16199734f35dc56de12e77dd289db412b SHA1 (patch-aj) = 7139b114301de5becf1449bd2b346223b205a908 +SHA1 (patch-ak) = a7778776ec8251a51477f3548f28ed30a1ef9770 diff --git a/graphics/xart/patches/patch-ak b/graphics/xart/patches/patch-ak new file mode 100644 index 00000000000..6f5fa5b2ba6 --- /dev/null +++ b/graphics/xart/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2006/08/09 17:13:58 darcy Exp $ + +--- xpaint.h.orig 1998-04-13 00:27:17.000000000 -0400 ++++ xpaint.h +@@ -45,8 +45,6 @@ + #define NULL 0 + #endif /* AIXV3 */ + +-extern int nib; +- + extern struct Global_s { + struct { + void *image; -- cgit v1.2.3