aboutsummaryrefslogtreecommitdiff
path: root/lang/bwbasic/files
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-01-25 06:51:55 +0000
committerWen Heping <wen@FreeBSD.org>2010-01-25 06:51:55 +0000
commit7361d876b6b8910b4f36a8497204038c0a62a6f6 (patch)
tree4d9fa50643910e99119e9be05a7eaedeeccb296c /lang/bwbasic/files
parentee637ae8a9c1f5373cb52304dbd61d003493f3f1 (diff)
Notes
Diffstat (limited to 'lang/bwbasic/files')
-rw-r--r--lang/bwbasic/files/patch-bwbasic.c27
-rw-r--r--lang/bwbasic/files/patch-bwbasic.h19
2 files changed, 19 insertions, 27 deletions
diff --git a/lang/bwbasic/files/patch-bwbasic.c b/lang/bwbasic/files/patch-bwbasic.c
deleted file mode 100644
index d7cbf7d7d657..000000000000
--- a/lang/bwbasic/files/patch-bwbasic.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- bwbasic.c.orig Mon Jun 3 17:28:28 2002
-+++ bwbasic.c Mon Jun 3 17:33:08 2002
-@@ -32,6 +32,7 @@
- /* NOTE: Modifications marked "JBV" were made by Jon B. Volkoff, */
- /* 11/1995 (eidetics@cerf.net). */
- /*---------------------------------------------------------------*/
-+/* Modifications marked (GAW) were made by Garrett Wollman 2002-06-03 */
-
- #include <stdio.h>
- #include <ctype.h>
-@@ -51,7 +52,7 @@
- char *bwb_ebuf; /* error buffer */
- static char *read_line;
- int bwb_trace = FALSE;
--FILE *errfdevice = stderr; /* output device for error messages */
-+FILE *errfdevice /* = stderr (GAW) */; /* output device for error messages */
-
- #if HAVE_LONGJUMP
- jmp_buf mark;
-@@ -133,6 +134,7 @@
- static char end_buf[] = "\0";
- #endif
-
-+ errfdevice = stderr; /* XXX will just get overwritten below? (GAW)*/
- #if INTENSIVE_DEBUG
- prn_xprintf( stderr, "Memory Allocation Statistics:\n" );
- prn_xprintf( stderr, "----------------------------\n" );
diff --git a/lang/bwbasic/files/patch-bwbasic.h b/lang/bwbasic/files/patch-bwbasic.h
new file mode 100644
index 000000000000..2b01fe3ede54
--- /dev/null
+++ b/lang/bwbasic/files/patch-bwbasic.h
@@ -0,0 +1,19 @@
+--- bwbasic.h.orig 2010-01-25 10:25:35.000000000 +0800
++++ bwbasic.h 2010-01-25 10:27:15.000000000 +0800
+@@ -111,10 +111,16 @@
+ ***************************************************************/
+
+ #ifdef __STDC__
++#ifndef HAVE_RAISE
+ #define HAVE_RAISE TRUE
++#endif
++#ifndef HAVE_STRING
+ #define HAVE_STRING TRUE
++#endif
++#ifndef HAVE_STDLIB
+ #define HAVE_STDLIB TRUE
+ #endif
++#endif
+
+ #ifdef __STDC__
+ #define HAVE_SIGNAL TRUE