diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-06 11:47:33 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-06 11:47:33 +0000 |
commit | dcf03d591c518dbcbbb5a85eaca76e2863c0d1be (patch) | |
tree | 588f34018fe1e36cf89c40e0a83ce0697d84e945 /dev-java/freemarker/files | |
parent | Added license for dev-java/freemarker (diff) | |
download | gentoo-2-dcf03d591c518dbcbbb5a85eaca76e2863c0d1be.tar.gz gentoo-2-dcf03d591c518dbcbbb5a85eaca76e2863c0d1be.tar.bz2 gentoo-2-dcf03d591c518dbcbbb5a85eaca76e2863c0d1be.zip |
Initial version.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-java/freemarker/files')
-rw-r--r-- | dev-java/freemarker/files/digest-freemarker-2.3.6 | 3 | ||||
-rw-r--r-- | dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-java/freemarker/files/digest-freemarker-2.3.6 b/dev-java/freemarker/files/digest-freemarker-2.3.6 new file mode 100644 index 000000000000..119d2b3cff62 --- /dev/null +++ b/dev-java/freemarker/files/digest-freemarker-2.3.6 @@ -0,0 +1,3 @@ +MD5 86b65f283d5c57322cdd794f306a08d3 freemarker-2.3.6.tar.gz 1986196 +RMD160 0916693e765c08c3db2522822f754f70ff980b94 freemarker-2.3.6.tar.gz 1986196 +SHA256 a2055455d0909a929bd6284af8e939ebe7bfad43c51ea2df4da6f8f89e8819a1 freemarker-2.3.6.tar.gz 1986196 diff --git a/dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch b/dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch new file mode 100644 index 000000000000..4270d49100b5 --- /dev/null +++ b/dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch @@ -0,0 +1,17 @@ +diff -Nru freemarker-2.3.6.vanilla/src/freemarker/ext/rhino/RhinoFunctionModel.java freemarker-2.3.6/src/freemarker/ext/rhino/RhinoFunctionModel.java +--- freemarker-2.3.6.vanilla/src/freemarker/ext/rhino/RhinoFunctionModel.java 2006-05-13 11:30:05.000000000 +0200 ++++ freemarker-2.3.6/src/freemarker/ext/rhino/RhinoFunctionModel.java 2006-05-13 11:31:16.000000000 +0200 +@@ -37,7 +37,11 @@ + for (int i = 0; i < args.length; i++) {
+ args[i] = wrapper.unwrap((TemplateModel)args[i], Scriptable.class);
+ }
+- return wrapper.wrap(((Function)getScriptable()).call(cx,
+- ScriptableObject.getTopLevelScope(fnThis), fnThis, args));
++ try {
++ return wrapper.wrap(((Function)getScriptable()).call(cx,
++ ScriptableObject.getTopLevelScope(fnThis), fnThis, args));
++ } catch (Exception e) {
++ throw new TemplateModelException(e.getMessage());
++ }
+ }
+ }
|