summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-01 14:40:34 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-01 14:40:34 +0000
commit9384c3fbf7a1d2f638b379413a69f47772abc759 (patch)
tree2c3afc4a64988da16015c83da386d112d1981230
parent49fcd1b80fdc07be9df3a83ca4f8d3ffdcfcd229 (diff)
downloadpkgsrc-9384c3fbf7a1d2f638b379413a69f47772abc759.tar.gz
Don't declare sys_errlst, it is pulled in via errno. Fixes build
on NetBSD.
-rw-r--r--graphics/xart/distinfo4
-rw-r--r--graphics/xart/patches/patch-aj15
2 files changed, 12 insertions, 7 deletions
diff --git a/graphics/xart/distinfo b/graphics/xart/distinfo
index def4c297928..7f8f36982c1 100644
--- a/graphics/xart/distinfo
+++ b/graphics/xart/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2006/02/23 21:24:11 joerg Exp $
+$NetBSD: distinfo,v 1.10 2006/03/01 14:40:34 joerg Exp $
SHA1 (xart19980415.tgz) = d4445392e33a5dcf5ae951babac82394e7cdd65c
RMD160 (xart19980415.tgz) = 99077c23a798d8c0026bd53450052b1a8cf6ff6f
@@ -12,4 +12,4 @@ SHA1 (patch-af) = 6bf891c7532f257a18d3e2917353a36ca519221f
SHA1 (patch-ag) = c764ddf68af02eda1475778e6c1774d751e68a92
SHA1 (patch-ah) = f888c5167cd8a6111e2064d586ff50984320b210
SHA1 (patch-ai) = 349170a16199734f35dc56de12e77dd289db412b
-SHA1 (patch-aj) = 919c0c672781a07853322abdc53f93a6964f61a8
+SHA1 (patch-aj) = 7139b114301de5becf1449bd2b346223b205a908
diff --git a/graphics/xart/patches/patch-aj b/graphics/xart/patches/patch-aj
index 526a855dc06..9b401a5f6fd 100644
--- a/graphics/xart/patches/patch-aj
+++ b/graphics/xart/patches/patch-aj
@@ -1,4 +1,4 @@
-$NetBSD: patch-aj,v 1.1 2006/02/23 21:24:12 joerg Exp $
+$NetBSD: patch-aj,v 1.2 2006/03/01 14:40:34 joerg Exp $
--- rw/libpnmrw.c.orig 2006-02-23 21:15:15.000000000 +0000
+++ rw/libpnmrw.c
@@ -10,10 +10,15 @@ $NetBSD: patch-aj,v 1.1 2006/02/23 21:24:12 joerg Exp $
#include <stdio.h>
#include "libpnmrw.h"
-@@ -133,7 +134,6 @@ pm_perror(char *reason)
- #else
- extern char *sys_errlist[];
- #endif
+@@ -128,12 +129,6 @@ pm_freearray(char **its, int rows)
+ static void
+ pm_perror(char *reason)
+ {
+-#if defined(BSD4_4)
+- __const extern char *__const sys_errlist[];
+-#else
+- extern char *sys_errlist[];
+-#endif
- extern int errno;
char *e;