diff options
author | rillig <rillig> | 2005-03-16 20:44:17 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-03-16 20:44:17 +0000 |
commit | d07009dc85bf860a1add2a99d7e51e84d69488a3 (patch) | |
tree | 41c431ec95360367c2b6c0f511b95a9a744e1503 /games/xmris | |
parent | bf3705aff7ed8f935bf1bf026a3772ac2221cfab (diff) | |
download | pkgsrc-d07009dc85bf860a1add2a99d7e51e84d69488a3.tar.gz |
Assume that sys_errlist and sys_nerr are predeclared on Linux. Fixes
pr#29496. Approved by jlam.
Diffstat (limited to 'games/xmris')
-rw-r--r-- | games/xmris/distinfo | 4 | ||||
-rw-r--r-- | games/xmris/patches/patch-ab | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/games/xmris/distinfo b/games/xmris/distinfo index 97fbea2d00c..bae07b2bb95 100644 --- a/games/xmris/distinfo +++ b/games/xmris/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 23:12:04 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/03/16 20:44:17 rillig Exp $ SHA1 (xmris.4.04.tgz) = 793f7088ac86ec17ca02962ae08ef9fe91c96423 RMD160 (xmris.4.04.tgz) = 7051be17265f2be0e0ec16b0b8233c8243a1f46a Size (xmris.4.04.tgz) = 268308 bytes SHA1 (patch-aa) = d46671d89b62fb4bcdc568f5320e367c979f50ee -SHA1 (patch-ab) = 94e8e0a60f5b0de286d3366fdc5b41cb649472f5 +SHA1 (patch-ab) = 6c75333128fbc4e7d03b4a9d93fe642a00f8bd88 diff --git a/games/xmris/patches/patch-ab b/games/xmris/patches/patch-ab index f21de88f862..b2acfd50674 100644 --- a/games/xmris/patches/patch-ab +++ b/games/xmris/patches/patch-ab @@ -1,11 +1,15 @@ -$NetBSD: patch-ab,v 1.3 2004/02/29 13:45:48 jdc Exp $ +$NetBSD: patch-ab,v 1.4 2005/03/16 20:44:17 rillig Exp $ ---- all.c.orig 1995-12-22 12:05:56.000000000 +0000 -+++ all.c 2004-02-29 13:17:51.000000000 +0000 -@@ -639,4 +639,6 @@ +--- all.c.orig Fri Dec 22 13:05:56 1995 ++++ all.c Wed Mar 16 21:30:19 2005 +@@ -637,8 +637,10 @@ FUNCARG((stream), + * returns the error string, or NULL + */ { -+#ifndef __NetBSD__ ++#if !defined(__NetBSD__) && !defined(__linux__) extern int sys_nerr; extern char *sys_errlist[]; +#endif + int error; + |