diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /lang/sr/files/patch-lexed__srlatex.yy.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'lang/sr/files/patch-lexed__srlatex.yy.c')
-rw-r--r-- | lang/sr/files/patch-lexed__srlatex.yy.c | 18 |
1 files changed, 18 insertions, 0 deletions
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; |