aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-09-11 09:53:12 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-09-11 09:53:13 +0000
commit2ab38bd2ae48f0e166805f2c0e3b6f0260f5b81f (patch)
tree53615629d16d7d14d4256ab620f7978d50dd9874
parent499ab8b0fb64e68932aef876d4fc55d02dd0aa21 (diff)
downloadports-2ab38bd2ae48f0e166805f2c0e3b6f0260f5b81f.tar.gz
ports-2ab38bd2ae48f0e166805f2c0e3b6f0260f5b81f.zip
lang/mtasc: normalize patches to make adding new ones easier.
-rw-r--r--lang/mtasc/files/patch-extc_extc__stubs.c (renamed from lang/mtasc/files/patch-extc_extc_stubs.c)6
-rw-r--r--lang/mtasc/files/patch-mtasc_main.ml (renamed from lang/mtasc/files/patch-basepath)8
-rw-r--r--lang/mtasc/files/patch-mtasc_parser.ml12
3 files changed, 13 insertions, 13 deletions
diff --git a/lang/mtasc/files/patch-extc_extc_stubs.c b/lang/mtasc/files/patch-extc_extc__stubs.c
index f9411fe39ada..27f665ff2696 100644
--- a/lang/mtasc/files/patch-extc_extc_stubs.c
+++ b/lang/mtasc/files/patch-extc_extc__stubs.c
@@ -1,5 +1,5 @@
---- extc/extc_stubs.c.orig 2007-03-05 14:09:37.000000000 +0300
-+++ extc/extc_stubs.c 2009-04-11 12:57:23.000000000 +0400
+--- extc/extc_stubs.c.orig 2007-03-05 11:09:37 UTC
++++ extc/extc_stubs.c
@@ -32,6 +32,11 @@
# include <sys/syslimits.h>
# include <mach-o/dyld.h>
@@ -12,7 +12,7 @@
#define zval(z) ((z_streamp)(z))
-@@ -125,7 +130,26 @@
+@@ -125,7 +130,26 @@ CAMLprim value zlib_inflate_end(value zv) {
}
CAMLprim value executable_path(value u) {
diff --git a/lang/mtasc/files/patch-basepath b/lang/mtasc/files/patch-mtasc_main.ml
index 012583a41249..b9f81f6e2278 100644
--- a/lang/mtasc/files/patch-basepath
+++ b/lang/mtasc/files/patch-mtasc_main.ml
@@ -1,6 +1,6 @@
---- mtasc/main.ml.orig 2008-08-31 15:14:17.000000000 +0400
-+++ mtasc/main.ml 2009-04-11 12:38:50.000000000 +0400
-@@ -112,8 +112,8 @@
+--- mtasc/main.ml.orig 2008-08-31 11:14:17 UTC
++++ mtasc/main.ml
+@@ -112,8 +112,8 @@ let report ?(do_exit=true) (msg,p) etype printer =
if do_exit then exit 1
;;
try
@@ -11,7 +11,7 @@
let files = ref [] in
let time = Sys.time() in
Plugin.class_path := [base_path;"";"/"];
-@@ -132,8 +132,8 @@
+@@ -132,8 +132,8 @@ try
),": use precompiled mx package");
] @ !Plugin.options in
Arg.parse args_spec (fun file -> files := file :: !files) usage;
diff --git a/lang/mtasc/files/patch-mtasc_parser.ml b/lang/mtasc/files/patch-mtasc_parser.ml
index 2c504486ec20..649870d96dd6 100644
--- a/lang/mtasc/files/patch-mtasc_parser.ml
+++ b/lang/mtasc/files/patch-mtasc_parser.ml
@@ -1,6 +1,6 @@
---- mtasc/parser.ml.orig 2009-04-11 12:35:07.000000000 +0400
-+++ mtasc/parser.ml 2009-04-11 12:37:16.000000000 +0400
-@@ -166,8 +166,8 @@
+--- mtasc/parser.ml.orig 2007-02-04 13:56:04 UTC
++++ mtasc/parser.ml
+@@ -166,8 +166,8 @@ and parse_expr = parser
| [< '(Kwd For,p); '(POpen,_); c = parse_expr_opt; e = parse_for p c >] -> e
| [< '(Kwd If,p); cond = parse_eval; e = parse_expr_opt; e2 , p2 = parse_else (pos e) >] -> EIf (cond,wrap_var e,e2), punion p p2
| [< '(Kwd Return,p); v , p2 = parse_eval_option p; >] -> EReturn v , punion p p2
@@ -11,7 +11,7 @@
| [< '(Kwd While,p1); v = parse_eval; e = parse_expr_opt >] -> EWhile (v,wrap_var e,NormalWhile) , punion p1 (pos e)
| [< '(Kwd Do,p1); e = parse_expr; '(Kwd While,_); v = parse_eval; >] -> EWhile (v,wrap_var e,DoWhile) , punion p1 (pos v)
| [< '(Kwd Switch,p1); v = parse_eval; '(BrOpen,_); el, p2 = parse_switch false >] -> ESwitch (v,el) , punion p1 p2
-@@ -278,7 +278,7 @@
+@@ -278,7 +278,7 @@ and parse_else p = parser
and parse_expr_opt = parser
| [< e = parse_expr >] -> e
@@ -20,7 +20,7 @@
and parse_for p c = parser
| [< '(Kwd In,_); v = parse_eval; '(PClose,p2); e = parse_expr_opt >] -> EForIn(c,v,wrap_var e) , punion p p2
-@@ -324,7 +324,7 @@
+@@ -324,7 +324,7 @@ and parse_switch_clause = parser
and parse_block callb sp = parser
| [< e = callb; el,p = parse_block callb sp >] -> e :: el , p
| [< '(Next,_); el = parse_block callb sp >] -> el
@@ -29,7 +29,7 @@
| [< '(Eof,_) >] -> error Unclosed_parenthesis sp
and parse_expr_list p = parser
-@@ -351,7 +351,7 @@
+@@ -351,7 +351,7 @@ and parse_class_path2 name = parser
and parse_import = parser
| [< '(Const (Ident name),_); p = parse_import2 name >] -> p