From 710dae5edba72af703e237b8a5d9d8f031a13722 Mon Sep 17 00:00:00 2001
From: joerg <joerg@pkgsrc.org>
Date: Wed, 6 Dec 2006 16:27:51 +0000
Subject: Use tools framework for bash and fix a build breakage on DragonFly.

---
 graphics/kipi-plugins/Makefile         |  5 ++---
 graphics/kipi-plugins/distinfo         |  3 ++-
 graphics/kipi-plugins/patches/patch-ae | 15 +++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)
 create mode 100644 graphics/kipi-plugins/patches/patch-ae

(limited to 'graphics/kipi-plugins')

diff --git a/graphics/kipi-plugins/Makefile b/graphics/kipi-plugins/Makefile
index 2edf00da113..e1c3ec274fb 100644
--- a/graphics/kipi-plugins/Makefile
+++ b/graphics/kipi-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/10/06 20:14:03 markd Exp $
+# $NetBSD: Makefile,v 1.22 2006/12/06 16:27:51 joerg Exp $
 
 DISTNAME=	kipi-plugins-0.1.2
 CATEGORIES=	graphics
@@ -10,10 +10,9 @@ HOMEPAGE=	http://extragear.kde.org/apps/kipi/
 COMMENT=	Kipi (KDE Image Plugin Interface) plugins
 
 DEPENDS+=	dcraw-[0-9]*:../../graphics/dcraw
-DEPENDS+=	bash-[0-9]*:../../shells/bash2
 
 USE_DIRS+=		xdg-1.1
-USE_TOOLS+=		gmake pkg-config msgfmt
+USE_TOOLS+=		gmake pkg-config msgfmt bash:run
 USE_LANGUAGES=		c c++
 GNU_CONFIGURE=		YES
 USE_LIBTOOL=		YES
diff --git a/graphics/kipi-plugins/distinfo b/graphics/kipi-plugins/distinfo
index 9dc918b34e7..497134e627c 100644
--- a/graphics/kipi-plugins/distinfo
+++ b/graphics/kipi-plugins/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/10/19 07:47:18 markd Exp $
+$NetBSD: distinfo,v 1.8 2006/12/06 16:27:51 joerg Exp $
 
 SHA1 (kipi-plugins-0.1.2.tar.bz2) = 1ce7b12539b52cdf08398f54dfcb489374df423b
 RMD160 (kipi-plugins-0.1.2.tar.bz2) = 47e6b7893f0aad5fcecdee69780502f65aef90ce
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 0829cd94dda1a04c37f2d6247b01d2f0297e56f3
 SHA1 (patch-ab) = 04247df6cf1670b288e3dd74cafcb807f400796d
 SHA1 (patch-ac) = 11476b32a09ac39c9739c7bba0019a443ab23641
 SHA1 (patch-ad) = 3fe6499f641b197a42551049aa9d1e4ad1f4827b
+SHA1 (patch-ae) = a0d122e2fe08fa26d627b5f43765eb00c84bde67
diff --git a/graphics/kipi-plugins/patches/patch-ae b/graphics/kipi-plugins/patches/patch-ae
new file mode 100644
index 00000000000..d22d1fa8016
--- /dev/null
+++ b/graphics/kipi-plugins/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2006/12/06 16:27:51 joerg Exp $
+
+--- kipi-plugins/jpeglossless/utils.cpp.orig	2006-12-06 15:50:27.000000000 +0000
++++ kipi-plugins/jpeglossless/utils.cpp
+@@ -23,9 +23,9 @@
+ // C Ansi includes.
+ extern "C" 
+ {
++#include <sys/types.h>
+ #include <utime.h>
+ #include <unistd.h>
+-#include <sys/types.h>
+ #include <sys/stat.h>
+ }
+ 
-- 
cgit v1.2.3