diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-01-13 07:21:04 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-01-13 07:21:04 +0000 |
commit | 9063f9304ce8598f71c59d404dda7fabd8cdc077 (patch) | |
tree | ac57f5ed25dbd047668d7b3028d2914c5ee6ec4c /net-mgmt/irrtoolset | |
parent | 3b027b7d05d5546056f679102f4d328e3e5f0b33 (diff) | |
download | ports-9063f9304ce8598f71c59d404dda7fabd8cdc077.tar.gz ports-9063f9304ce8598f71c59d404dda7fabd8cdc077.zip |
Update to 3.0.4
- Add LICENSE
- Use USES=localbase
- Use PORTDATA
- Sort PLIST
Changes: http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS
Differential Revision: https://reviews.FreeBSD.org/D9073
PR: 215840
Exp-run by: antoine
Notes
Notes:
svn path=/head/; revision=431345
Diffstat (limited to 'net-mgmt/irrtoolset')
-rw-r--r-- | net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l | 11 | ||||
-rw-r--r-- | net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y | 31 |
2 files changed, 42 insertions, 0 deletions
diff --git a/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l b/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l new file mode 100644 index 000000000000..e3409a5e00c2 --- /dev/null +++ b/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l @@ -0,0 +1,11 @@ +--- src/rpsl/rpsl.l.orig 2012-07-31 12:10:39 UTC ++++ src/rpsl/rpsl.l +@@ -713,7 +713,7 @@ void handle_object_error(const char *s, + current_object->errors += buffer; + } + +-void rpslerror(const char *, ...) { ++void rpslerror(void *, const char *, ...) { + if (current_attribute) { + current_attribute->errorLine = errorLine; + current_attribute->errorColon = errorColon - yyleng; diff --git a/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y b/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y new file mode 100644 index 000000000000..7fece1407165 --- /dev/null +++ b/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y @@ -0,0 +1,31 @@ +--- src/rpsl/rpsl.y.orig 2012-07-31 12:10:39 UTC ++++ src/rpsl/rpsl.y +@@ -75,7 +75,7 @@ extern void handle_object_error(const ch + extern void handle_warning(const char *, ...); + extern int yylex(); + char *token_name(int token_id); +-void rpslerror(const char *s, ...); ++void rpslerror(void *, const char *s, ...); + Attr *changeCurrentAttr(Attr *b); + void handleArgumentTypeError(char *attr, const char *method, int position, + const RPType *correctType, +@@ -83,7 +83,6 @@ void handleArgumentTypeError(char *attr, + const AttrMethod *searchMethod(const AttrRPAttr *rp_attr, const char *method, ItemList *args); + + /* argument to yyparse result of parsing should be stored here */ +-#define YYPARSE_PARAM object + #define yyschema schema + #define enable_yy_parser_debugging enable_rpsl_parser_debugging + +@@ -91,8 +90,9 @@ extern Object *current_object; + + %} + +-%name-prefix="rpsl" +-%output="rpsl.y.cc" ++%name-prefix "rpsl" ++%output "rpsl.y.cc" ++%parse-param {void *object} + + %expect 1 + |