diff options
author | linimon <linimon@FreeBSD.org> | 2003-12-29 15:30:09 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2003-12-29 15:30:09 +0800 |
commit | 7000a07f051c198528adc1e9b2d379d009604430 (patch) | |
tree | c374e494bd107888121ca8c25ae92a3b24fe5e1d /comms/seyon | |
parent | f936c3d3b5d8ab3d4fbc5b64b8184f5c6399fe09 (diff) | |
download | freebsd-ports-gnome-7000a07f051c198528adc1e9b2d379d009604430.tar.gz freebsd-ports-gnome-7000a07f051c198528adc1e9b2d379d009604430.tar.zst freebsd-ports-gnome-7000a07f051c198528adc1e9b2d379d009604430.zip |
Fix build on 5.x.
PR: ports/60675
Submitted by: Samy Al Bahra <samy@kerneled.com>
Diffstat (limited to 'comms/seyon')
-rw-r--r-- | comms/seyon/Makefile | 8 | ||||
-rw-r--r-- | comms/seyon/files/patch-SeParse.y | 35 | ||||
-rw-r--r-- | comms/seyon/files/patch-SeScan.c | 13 |
3 files changed, 49 insertions, 7 deletions
diff --git a/comms/seyon/Makefile b/comms/seyon/Makefile index b7f943afba53..bcc2483f3a54 100644 --- a/comms/seyon/Makefile +++ b/comms/seyon/Makefile @@ -20,10 +20,4 @@ USE_IMAKE= yes MAN1= seyon.1 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile on FreeBSD ${OSVERSION} (missing header)" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/comms/seyon/files/patch-SeParse.y b/comms/seyon/files/patch-SeParse.y new file mode 100644 index 000000000000..da1683def60a --- /dev/null +++ b/comms/seyon/files/patch-SeParse.y @@ -0,0 +1,35 @@ +--- SeParse.y.orig Mon Dec 29 07:24:02 2003 ++++ SeParse.y Mon Dec 29 07:28:38 2003 +@@ -81,19 +81,19 @@ + { + char long_line[1000]; + +- char input_str[] = "This(is, a, real, funky); script(); +- Scripts(); Can(be); Multi(Line, \"Can't they?\"); +- Commas(are, no, longer, optional, inside, arglists); +- Scripts(); Can(); contain(\"tabs \\t and backspaces \\b\"); +- As(\"Well\\ as Quoted Strings\", and, '\"Quoted Strings inside +- quoted strings\"'); +- esc(can, appear, outside, strings, ^z, \\012\\015\\n); +- But(parenthesis, should, match); +- We(\"have a funny way of specifying \\012 chars and even)\"); +- backslashes( \" \\\\ \"); +- new(\"in this version are ^m and ^A ctr-escapes, as in ^S^Q\"); +- The(next, line, will, give, a, syntax, error, because, it, has, two, adj, functions, +- without, a, separating, semicolon); ++ char input_str[] = "This(is, a, real, funky); script();\n\ ++ Scripts(); Can(be); Multi(Line, \"Can't they?\");\n\ ++ Commas(are, no, longer, optional, inside, arglists);\n\ ++ Scripts(); Can(); contain(\"tabs \\t and backspaces \\b\");\n\ ++ As(\"Well\\ as Quoted Strings\", and, '\"Quoted Strings inside\n\ ++ quoted strings\"');\n\ ++ esc(can, appear, outside, strings, ^z, \\012\\015\\n);\n\ ++ But(parenthesis, should, match);\n\ ++ We(\"have a funny way of specifying \\012 chars and even)\"); \n\ ++ backslashes( \" \\\\ \");\n\ ++ new(\"in this version are ^m and ^A ctr-escapes, as in ^S^Q\");\n\ ++ The(next, line, will, give, a, syntax, error, because, it, has, two, adj, functions,\n\ ++ without, a, separating, semicolon);\n\ + End() script()"; + + printf("------ String to parse: \n%s\n\n---- Parsing begins:\n", input_str); diff --git a/comms/seyon/files/patch-SeScan.c b/comms/seyon/files/patch-SeScan.c new file mode 100644 index 000000000000..344286fcc8e8 --- /dev/null +++ b/comms/seyon/files/patch-SeScan.c @@ -0,0 +1,13 @@ +--- SeScan.c.orig Mon Dec 29 07:26:24 2003 ++++ SeScan.c Mon Dec 29 07:27:42 2003 +@@ -275,8 +275,8 @@ + #ifdef TEST + main() + { +- scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings +-\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"' ++ scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings\n\ ++\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"'\n\ + Not to forget ^S and ^q control ^ chars"); + + while (lGetWord() != 0); |