pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xmris/patches Make this work on NetBSD-current. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0246ab850cd8
branches:  trunk
changeset: 469814:0246ab850cd8
user:      jdc <jdc%pkgsrc.org@localhost>
date:      Sun Feb 29 13:45:48 2004 +0000

description:
Make this work on NetBSD-current.  Fixes:
  all.c:640: error: conflicting types for `sys_nerr'
  /usr/include/errno.h:53: error: previous declaration of `sys_nerr'

diffstat:

 games/xmris/patches/patch-ab |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r dabfdeab4048 -r 0246ab850cd8 games/xmris/patches/patch-ab
--- a/games/xmris/patches/patch-ab      Sun Feb 29 13:38:27 2004 +0000
+++ b/games/xmris/patches/patch-ab      Sun Feb 29 13:45:48 2004 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:45 agc Exp $
+$NetBSD: patch-ab,v 1.3 2004/02/29 13:45:48 jdc Exp $
 
---- all.c.orig Fri Jul 31 00:22:37 1998
-+++ all.c      Fri Jul 31 00:23:07 1998
-@@ -640,3 +640,5 @@
+--- 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 @@
+ {
++#ifndef __NetBSD__
    extern int sys_nerr;
-+#ifndef __NetBSD__
    extern char *sys_errlist[];
 +#endif
    



Home | Main Index | Thread Index | Old Index