summaryrefslogtreecommitdiff
path: root/lang/yabasic/files
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2014-04-11 16:02:32 +0000
committerWen Heping <wen@FreeBSD.org>2014-04-11 16:02:32 +0000
commitf29fb96a313e3e204568109b50e86c5e017f604c (patch)
treed5aecb36ba3542c7eaa2ef7ce49c857f431922b9 /lang/yabasic/files
parentSupport stage (diff)
- Update to 2.767
Notes
Notes: svn path=/head/; revision=350995
Diffstat (limited to 'lang/yabasic/files')
-rw-r--r--lang/yabasic/files/patch-graphic.c29
-rw-r--r--lang/yabasic/files/patch-main.c11
2 files changed, 0 insertions, 40 deletions
diff --git a/lang/yabasic/files/patch-graphic.c b/lang/yabasic/files/patch-graphic.c
deleted file mode 100644
index 3352cd364e8f..000000000000
--- a/lang/yabasic/files/patch-graphic.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- graphic.c.orig 2011-09-28 10:01:08.000000000 +0800
-+++ graphic.c 2011-09-28 10:01:57.000000000 +0800
-@@ -748,7 +748,7 @@ grafinit (void)
- &visualinfo))
- {
- error (ERROR, "Could not get any TrueColor visual");
-- return;
-+ return FALSE;
- }
-
- /* convert color masks in more convenient values */
-@@ -790,7 +790,7 @@ grafinit (void)
- sprintf (string, "Could not find foreground color '%s'\n",
- background);
- error (ERROR, string);
-- return;
-+ return FALSE;
- }
- forepixel =
- rgb_to_pixel (best_match.red >> 8, best_match.green >> 8,
-@@ -806,7 +806,7 @@ grafinit (void)
- sprintf (string, "Could not find background color '%s'\n",
- background);
- error (ERROR, string);
-- return;
-+ return FALSE;
- }
- backpixel =
- rgb_to_pixel (best_match.red >> 8, best_match.green >> 8,
diff --git a/lang/yabasic/files/patch-main.c b/lang/yabasic/files/patch-main.c
deleted file mode 100644
index eaf7224bf4ab..000000000000
--- a/lang/yabasic/files/patch-main.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- main.c.orig 2011-09-28 10:00:33.000000000 +0800
-+++ main.c 2011-09-28 10:00:52.000000000 +0800
-@@ -2400,7 +2400,7 @@ find_interpreter (char *name) /* find in
- if (try[to - from - 1] != '/')
- strcat (try, "/");
- strcat (try, name);
-- if (f = fopen (try, "r"))
-+ if ((f = fopen (try, "r")))
- {
- fclose (f);
- return try;