[natus] really fix SpiderMonkey

Nathaniel McCallum npmccallum at fedoraproject.org
Thu Dec 23 19:57:19 UTC 2010


commit d878492aeb826e59d69f6b347da78f297e30aaf2
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date:   Thu Dec 23 14:57:09 2010 -0500

    really fix SpiderMonkey

 natus.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/natus.spec b/natus.spec
index a50c460..f9c4754 100644
--- a/natus.spec
+++ b/natus.spec
@@ -7,7 +7,7 @@
 
 Name:           natus
 Version:        0.1.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A robust JavaScript shell built on the Natus meta-engine
 
 Group:          Development/Languages
@@ -107,7 +107,7 @@ Natus JavaScript module for Python
 sed -i 's|>= 2.0|>= 2|' configure
 
 # Fix deprecated symbols, already fixed upstream
-sed -i 's|JS_GetStringBytes|JS_EncodeString|' natus/engines/SpiderMonkey.cc
+sed -i 's|JS_GetStringBytes(|JS_EncodeString(ctx, |' natus/engines/SpiderMonkey.cc
 
 %configure
 make
@@ -170,6 +170,9 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/%{name}.so
 
 %changelog
+* Thu Dec 23 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1.3-5
+- Really fix SpiderMonkey this time
+
 * Thu Dec 23 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1.3-4
 - Rename natus-libs -> libnatus, natus-libs-devel -> libnatus-devel
 - Apply upstream fix for deprecated symbol in SpiderMonkey


More information about the scm-commits mailing list