diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-25 13:10:45 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-25 13:10:45 +0000 |
commit | 692c8bf4276e81a613851bdfed9209da9cee8f03 (patch) | |
tree | 21c6383cb806f9285013341e89e97a764fe8702e /dev-java/freemarker/files | |
parent | layman-1.0.6 in response to bug #141691 (diff) | |
download | gentoo-2-692c8bf4276e81a613851bdfed9209da9cee8f03.tar.gz gentoo-2-692c8bf4276e81a613851bdfed9209da9cee8f03.tar.bz2 gentoo-2-692c8bf4276e81a613851bdfed9209da9cee8f03.zip |
Version bump.
(Portage version: 2.1.1_pre3-r4)
Diffstat (limited to 'dev-java/freemarker/files')
-rw-r--r-- | dev-java/freemarker/files/digest-freemarker-2.3.8 | 3 | ||||
-rw-r--r-- | dev-java/freemarker/files/freemarker-2.3.8-gentoo.patch | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-java/freemarker/files/digest-freemarker-2.3.8 b/dev-java/freemarker/files/digest-freemarker-2.3.8 new file mode 100644 index 000000000000..67019364a4ae --- /dev/null +++ b/dev-java/freemarker/files/digest-freemarker-2.3.8 @@ -0,0 +1,3 @@ +MD5 1acd8d406245a5345960025f7ce9b109 freemarker-2.3.8.tar.gz 2012911 +RMD160 9638b9296fd1369d3c20dab6b4445c901a4c26a9 freemarker-2.3.8.tar.gz 2012911 +SHA256 cf0507fbe4901946e1842c1b63ac95e4b8ed59c0ea27b4398e207428f07633bf freemarker-2.3.8.tar.gz 2012911 diff --git a/dev-java/freemarker/files/freemarker-2.3.8-gentoo.patch b/dev-java/freemarker/files/freemarker-2.3.8-gentoo.patch new file mode 100644 index 000000000000..21a6345724df --- /dev/null +++ b/dev-java/freemarker/files/freemarker-2.3.8-gentoo.patch @@ -0,0 +1,15 @@ +diff -Nru freemarker-2.3.8.vanilla/src/freemarker/ext/rhino/RhinoFunctionModel.java freemarker-2.3.8/src/freemarker/ext/rhino/RhinoFunctionModel.java +--- freemarker-2.3.8.vanilla/src/freemarker/ext/rhino/RhinoFunctionModel.java 2006-07-25 14:38:15.000000000 +0200 ++++ freemarker-2.3.8/src/freemarker/ext/rhino/RhinoFunctionModel.java 2006-07-25 14:39:20.000000000 +0200 +@@ -37,7 +37,11 @@ + for (int i = 0; i < args.length; i++) {
+ args[i] = wrapper.unwrap((TemplateModel)args[i], Scriptable.class);
+ }
++ try {
+ return wrapper.wrap(((Function)getScriptable()).call(cx,
+ ScriptableObject.getTopLevelScope(fnThis), fnThis, args));
++ } catch (Exception e) {
++ throw new TemplateModelException(e.getMessage());
++ }
+ }
+ }
|