[arch-commits] Commit in spidermonkey/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Thu Oct 15 23:17:56 UTC 2009


    Date: Thursday, October 15, 2009 @ 19:17:56
  Author: andrea
Revision: 55902

upgpkg: spidermonkey 1.7.0-3
    FS#16673

Modified:
  spidermonkey/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-15 22:56:39 UTC (rev 55901)
+++ PKGBUILD	2009-10-15 23:17:56 UTC (rev 55902)
@@ -1,9 +1,9 @@
 # $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=spidermonkey
 pkgver=1.7.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Mozilla's C implementation of JavaScript."
 arch=("i686" "x86_64")
 url="http://www.mozilla.org/js/spidermonkey/"
@@ -12,8 +12,9 @@
 options=('!makeflags')
 source=("http://ftp.mozilla.org/pub/mozilla.org/js/js-$pkgver.tar.gz" \
 	"spidermonkey-1.7-threadsafe.patch" "spidermonkey-Makefile.patch")
-md5sums=('5571134c3863686b623ebe4e6b1f6fe6' 'b2ef9be017b6aa1857354b5223975a4f'\
-         '161d4c0f2c604d15cba29dab60b1f7a7')
+md5sums=('5571134c3863686b623ebe4e6b1f6fe6'
+	'b2ef9be017b6aa1857354b5223975a4f'
+	'161d4c0f2c604d15cba29dab60b1f7a7')
 
 build() {
   cd "$srcdir/js/src"
@@ -23,6 +24,8 @@
   [ "$CARCH" = "x86_64" ] && (sed -i -e "s:lib64:lib:g" config.mk || return 1)
   # patch Makefile for threadsafe support with native nspr
   patch -p2 -i "$srcdir/spidermonkey-1.7-threadsafe.patch" || return 1
+  # FS#16673
+  export CFLAGS="${CFLAGS} -DJS_C_STRINGS_ARE_UTF8"
   # build - threadsafe
   make -f Makefile.ref BUILD_OPT=1 JS_THREADSAFE=1 DIST="$pkgdir/usr" all export || return 1
 }




More information about the arch-commits mailing list