aboutsummaryrefslogtreecommitdiff
path: root/lang/sr/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-10 16:51:20 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-10 16:51:20 +0000
commit1ac71ba2f3e47afc18cbd23814ce1bab4a087428 (patch)
tree882774a674c8a1cb0c4330c9613cbdcbb339b69b /lang/sr/files
parent845e4667161876551f7b427ace0ec45706d902ef (diff)
Notes
Diffstat (limited to 'lang/sr/files')
-rw-r--r--lang/sr/files/patch-lexed::sr.yy.c18
-rw-r--r--lang/sr/files/patch-lexed::srlatex.yy.c18
-rw-r--r--lang/sr/files/patch-lexed::srtex.yy.c18
-rw-r--r--lang/sr/files/patch-rts::socket.c12
4 files changed, 66 insertions, 0 deletions
diff --git a/lang/sr/files/patch-lexed::sr.yy.c b/lang/sr/files/patch-lexed::sr.yy.c
new file mode 100644
index 000000000000..0c50a44b4c3b
--- /dev/null
+++ b/lang/sr/files/patch-lexed::sr.yy.c
@@ -0,0 +1,18 @@
+--- lexed/sr.yy.c.orig Tue Jun 10 20:20:57 2003
++++ lexed/sr.yy.c Tue Jun 10 20:21:33 2003
+@@ -1,4 +1,5 @@
+-# include "stdio.h"
++# include <stdio.h>
++# include <unistd.h>
+ # define U(x) ((x)&0377)
+ # define NLSTATE yyprevious=YYNEWLINE
+ # define BEGIN yybgin = yysvec + 1 +
+@@ -17,7 +18,7 @@
+ int yymorfg;
+ extern char *yysptr, yysbuf[];
+ int yytchar;
+-FILE *yyin ={stdin}, *yyout ={stdout};
++FILE *yyin ={STDIN_FILENO}, *yyout ={STDOUT_FILENO};
+ extern int yylineno;
+ struct yysvf {
+ struct yywork *yystoff;
diff --git a/lang/sr/files/patch-lexed::srlatex.yy.c b/lang/sr/files/patch-lexed::srlatex.yy.c
new file mode 100644
index 000000000000..993bf2eb2f0e
--- /dev/null
+++ b/lang/sr/files/patch-lexed::srlatex.yy.c
@@ -0,0 +1,18 @@
+--- lexed/srlatex.yy.c.orig Tue Jun 10 20:21:01 2003
++++ lexed/srlatex.yy.c Tue Jun 10 20:22:22 2003
+@@ -1,4 +1,5 @@
+-# include "stdio.h"
++# include <stdio.h>
++# include <unistd.h>
+ # define U(x) ((x)&0377)
+ # define NLSTATE yyprevious=YYNEWLINE
+ # define BEGIN yybgin = yysvec + 1 +
+@@ -17,7 +18,7 @@
+ int yymorfg;
+ extern char *yysptr, yysbuf[];
+ int yytchar;
+-FILE *yyin ={stdin}, *yyout ={stdout};
++FILE *yyin ={STDIN_FILENO}, *yyout ={STDOUT_FILENO};
+ extern int yylineno;
+ struct yysvf {
+ struct yywork *yystoff;
diff --git a/lang/sr/files/patch-lexed::srtex.yy.c b/lang/sr/files/patch-lexed::srtex.yy.c
new file mode 100644
index 000000000000..ada806b2aafb
--- /dev/null
+++ b/lang/sr/files/patch-lexed::srtex.yy.c
@@ -0,0 +1,18 @@
+--- lexed/srtex.yy.c.orig Tue Jun 10 20:21:05 2003
++++ lexed/srtex.yy.c Tue Jun 10 20:22:54 2003
+@@ -1,4 +1,5 @@
+-# include "stdio.h"
++# include <stdio.h>
++# include <unistd.h>
+ # define U(x) ((x)&0377)
+ # define NLSTATE yyprevious=YYNEWLINE
+ # define BEGIN yybgin = yysvec + 1 +
+@@ -17,7 +18,7 @@
+ int yymorfg;
+ extern char *yysptr, yysbuf[];
+ int yytchar;
+-FILE *yyin ={stdin}, *yyout ={stdout};
++FILE *yyin ={STDIN_FILENO}, *yyout ={STDOUT_FILENO};
+ extern int yylineno;
+ struct yysvf {
+ struct yywork *yystoff;
diff --git a/lang/sr/files/patch-rts::socket.c b/lang/sr/files/patch-rts::socket.c
new file mode 100644
index 000000000000..21e82b50ef57
--- /dev/null
+++ b/lang/sr/files/patch-rts::socket.c
@@ -0,0 +1,12 @@
+--- rts/socket.c.orig Tue Jun 10 20:36:37 2003
++++ rts/socket.c Tue Jun 10 20:36:53 2003
+@@ -482,7 +482,9 @@
+ char *message;
+ {
+ char s1[100], s2[100];
++/*
+ extern int sys_nerr;
++*/
+
+ #if !defined(__NetBSD__) && !defined(__FreeBSD__)
+ extern char *sys_errlist[];