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

Schilyware fix



As i386.ports and various people have pointed out, ports based on code
from Joerg Schilling are currently broken.

The underlying problem is that <ctype.h> now defines EOF which clashes
with this assumption:

#ifdef  EOF     /* stdio.h has been included */

Working around this in libschily is easy enough, but I'm uncertain
whether EOF appearing in ctype.h is a good idea.

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Index: cdrdao/patches/patch-scsilib_libschily_getargs_c
===================================================================
RCS file: cdrdao/patches/patch-scsilib_libschily_getargs_c
diff -N cdrdao/patches/patch-scsilib_libschily_getargs_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ cdrdao/patches/patch-scsilib_libschily_getargs_c	20 Dec 2002 15:37:45 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- scsilib/libschily/getargs.c.orig	Fri Dec 20 15:47:05 2002
++++ scsilib/libschily/getargs.c	Fri Dec 20 15:47:19 2002
+@@ -40,6 +40,7 @@ static	char sccsid[] =
+ #include <utypes.h>
+ #include <getargs.h>
+ #include <ctype.h>
++#include <stdio.h>
+ #include <vadefs.h>
+ #include <strdefs.h>
+ #include <schily.h>
Index: cdrtools/patches/patch-lib_getargs_c
===================================================================
RCS file: cdrtools/patches/patch-lib_getargs_c
diff -N cdrtools/patches/patch-lib_getargs_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ cdrtools/patches/patch-lib_getargs_c	20 Dec 2002 15:37:45 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- lib/getargs.c.orig	Fri Dec 20 16:00:47 2002
++++ lib/getargs.c	Fri Dec 20 16:01:07 2002
+@@ -40,6 +40,7 @@ static	char sccsid[] =
+ #include <utypes.h>
+ #include <getargs.h>
+ #include <ctype.h>
++#include <stdio.h>
+ #include <vadefs.h>
+ #include <strdefs.h>
+ #include <schily.h>
Index: sdd/patches/patch-lib_getargs_c
===================================================================
RCS file: sdd/patches/patch-lib_getargs_c
diff -N sdd/patches/patch-lib_getargs_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sdd/patches/patch-lib_getargs_c	20 Dec 2002 15:37:45 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- lib/getargs.c.orig	Fri Dec 20 15:25:36 2002
++++ lib/getargs.c	Fri Dec 20 15:26:04 2002
+@@ -40,6 +40,7 @@ static	char sccsid[] =
+ #include <utypes.h>
+ #include <getargs.h>
+ #include <ctype.h>
++#include <stdio.h>
+ #include <vadefs.h>
+ #include <strdefs.h>
+ #include <schily.h>
Index: star/patches/patch-lib_getargs_c
===================================================================
RCS file: star/patches/patch-lib_getargs_c
diff -N star/patches/patch-lib_getargs_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ star/patches/patch-lib_getargs_c	20 Dec 2002 15:37:45 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- lib/getargs.c.orig	Fri Dec 20 14:50:43 2002
++++ lib/getargs.c	Fri Dec 20 14:51:09 2002
+@@ -40,6 +40,7 @@ static	char sccsid[] =
+ #include <utypes.h>
+ #include <getargs.h>
+ #include <ctype.h>
++#include <stdio.h>
+ #include <vadefs.h>
+ #include <strdefs.h>
+ #include <schily.h>

Visit your host, monkey.org