summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches
diff options
context:
space:
mode:
authordrochner <drochner>2010-03-28 12:36:35 +0000
committerdrochner <drochner>2010-03-28 12:36:35 +0000
commitaf8319855925322e896b2f1a3a9fc035ac136a3b (patch)
treecf3a13868bda324e7238b5079067f6d2a182b9a5 /graphics/netpbm/patches
parentfe8f0e82a1329667eaab453dfbedcde50a7fd95c (diff)
downloadpkgsrc-af8319855925322e896b2f1a3a9fc035ac136a3b.tar.gz
use SIGPWR only #if defined, fixes build on DragonFly, from Rumko
per PR pkg/43068
Diffstat (limited to 'graphics/netpbm/patches')
-rw-r--r--graphics/netpbm/patches/patch-ec13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/netpbm/patches/patch-ec b/graphics/netpbm/patches/patch-ec
index 310f73e5752..c7a2b0870ee 100644
--- a/graphics/netpbm/patches/patch-ec
+++ b/graphics/netpbm/patches/patch-ec
@@ -1,8 +1,17 @@
-$NetBSD: patch-ec,v 1.1 2010/02/19 18:25:44 drochner Exp $
+$NetBSD: patch-ec,v 1.2 2010/03/28 12:36:35 drochner Exp $
--- lib/libsystem.c.orig 2009-12-29 20:46:34.000000000 +0000
+++ lib/libsystem.c
-@@ -223,8 +223,11 @@ signalName(unsigned int const signalClas
+@@ -216,15 +216,20 @@ signalName(unsigned int const signalClas
+ return "SIGWINCH";
+ case SIGIO:
+ return "SIGIO";
++#if defined(SIGPWR)
+ case SIGPWR:
+ return "SIGPWR";
++#endif
+ case SIGSYS:
+ return "SIGSYS";
default:
return "???";
}