aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-15 21:59:53 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-15 21:59:53 +0800
commit7a37b64e3f485bec84f5aa0324d086fc08ed2125 (patch)
treedf0dbf3e74248e812bd115a3492567bf461def59 /lang
parentd71181e9528221c7fb1928fe6b501c97f7e9f34a (diff)
downloadfreebsd-ports-gnome-7a37b64e3f485bec84f5aa0324d086fc08ed2125.tar.gz
freebsd-ports-gnome-7a37b64e3f485bec84f5aa0324d086fc08ed2125.tar.zst
freebsd-ports-gnome-7a37b64e3f485bec84f5aa0324d086fc08ed2125.zip
Fix building under -current
PR: 37940 Submitted by: obraun@informatik.unibw-muenchen.de
Diffstat (limited to 'lang')
-rw-r--r--lang/atlast/files/patch-atlast.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/atlast/files/patch-atlast.c b/lang/atlast/files/patch-atlast.c
new file mode 100644
index 000000000000..99263a80b8b3
--- /dev/null
+++ b/lang/atlast/files/patch-atlast.c
@@ -0,0 +1,24 @@
+--- atlast.c.orig Fri May 10 23:18:47 2002
++++ atlast.c Fri May 10 23:36:28 2002
+@@ -3243,14 +3243,17 @@
+ { static struct {
+ char *sfn;
+ FILE *sfd;
+- } stdfiles[] = {
+- {"STDIN", stdin},
+- {"STDOUT", stdout},
+- {"STDERR", stderr}
++ } stdfiles[] = {
++ {"STDIN", NULL},
++ {"STDOUT", NULL},
++ {"STDERR", NULL}
+ };
+ int i;
+ dictword *dw;
+
++ stdfiles[0].sfd = stdin;
++ stdfiles[1].sfd = stdout;
++ stdfiles[2].sfd = stderr;
+ for (i = 0; i < ELEMENTS(stdfiles); i++) {
+ if ((dw = atl_vardef(stdfiles[i].sfn,
+ 2 * sizeof(stackitem))) != NULL) {