diff options
author | Juergen Lock <nox@FreeBSD.org> | 2007-10-21 19:17:58 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2007-10-21 19:17:58 +0000 |
commit | a61bc5cd0eac6b2bf96076dbee79ca57fa444bfc (patch) | |
tree | e2aa058f79805aa8a6edeccbafde471872303514 /lang/ruby-js | |
parent | 9e3978507d6555beee7fa7cc7971254216a30048 (diff) | |
download | ports-a61bc5cd0eac6b2bf96076dbee79ca57fa444bfc.tar.gz ports-a61bc5cd0eac6b2bf96076dbee79ca57fa444bfc.zip |
Notes
Diffstat (limited to 'lang/ruby-js')
-rw-r--r-- | lang/ruby-js/Makefile | 8 | ||||
-rw-r--r-- | lang/ruby-js/files/patch-js.c | 14 |
2 files changed, 15 insertions, 7 deletions
diff --git a/lang/ruby-js/Makefile b/lang/ruby-js/Makefile index 7ce81ae2c255..4d4130f72f7b 100644 --- a/lang/ruby-js/Makefile +++ b/lang/ruby-js/Makefile @@ -43,10 +43,4 @@ post-install: .endfor .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/ruby-js/files/patch-js.c b/lang/ruby-js/files/patch-js.c new file mode 100644 index 000000000000..82ea74832e4c --- /dev/null +++ b/lang/ruby-js/files/patch-js.c @@ -0,0 +1,14 @@ +Index: js.c +@@ -112,9 +112,9 @@ + static VALUE + rb_js_eval(VALUE obj, VALUE code) + { +- JSInterpPtr interp; +- Data_Get_Struct(obj, JSInterpPtr, (void *) interp); +- return rb_js_evalcode(interp, code); ++ void *interp; ++ Data_Get_Struct(obj, JSInterpPtr, interp); ++ return rb_js_evalcode((JSInterpPtr) interp, code); + } + + void |