diff options
author | drochner <drochner> | 2010-03-28 12:36:35 +0000 |
---|---|---|
committer | drochner <drochner> | 2010-03-28 12:36:35 +0000 |
commit | af8319855925322e896b2f1a3a9fc035ac136a3b (patch) | |
tree | cf3a13868bda324e7238b5079067f6d2a182b9a5 /graphics/netpbm/patches | |
parent | fe8f0e82a1329667eaab453dfbedcde50a7fd95c (diff) | |
download | pkgsrc-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-ec | 13 |
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 "???"; } |