pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/mozjs78



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Tue Dec 29 02:04:47 UTC 2020

Modified Files:
        pkgsrc/lang/mozjs78: distinfo
Added Files:
        pkgsrc/lang/mozjs78/patches: patch-js_src_jsapi-tests_moz.build

Log Message:
mozjs78: build fix: SunOS doesn't have open_memstream()


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/mozjs78/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/mozjs78/patches/patch-js_src_jsapi-tests_moz.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/mozjs78/distinfo
diff -u pkgsrc/lang/mozjs78/distinfo:1.7 pkgsrc/lang/mozjs78/distinfo:1.8
--- pkgsrc/lang/mozjs78/distinfo:1.7    Mon Dec 14 22:45:10 2020
+++ pkgsrc/lang/mozjs78/distinfo        Tue Dec 29 02:04:47 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2020/12/14 22:45:10 gutteridge Exp $
+$NetBSD: distinfo,v 1.8 2020/12/29 02:04:47 gutteridge Exp $
 
 SHA1 (mozjs78_78.4.0.orig.tar.xz) = b2c1c241f70310d545f8a3c05b9c8c11676e56a8
 RMD160 (mozjs78_78.4.0.orig.tar.xz) = cef93b6116eff9f04beeaf3dda0a42cd811d0b18
@@ -9,6 +9,7 @@ SHA1 (patch-build_moz.configure_toolchai
 SHA1 (patch-js_moz.configure) = f3d762b293761e359ac7c389059aa228949a6f0b
 SHA1 (patch-js_src_jit_AtomicOperations.h) = 19eba50673f8138bbb09c0eaca63923cadbadd26
 SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = 84d629df0e7963755aa38ff9a1e29d60ed3adb4c
+SHA1 (patch-js_src_jsapi-tests_moz.build) = 337c94d88bf5986136deeba1d45ccb933663a1a2
 SHA1 (patch-js_src_jsfriendapi.h) = f342a88182c1be0d3c0027c91ae94e1d4eac2542
 SHA1 (patch-js_src_tests_jstests.py) = f5387b5ee5f8f898e678494befbc00e21fbb7ebb
 SHA1 (patch-js_src_threading_posix_PosixThread.cpp) = f734abbd005d0353d4adfe865c215c2b86389bf6

Added files:

Index: pkgsrc/lang/mozjs78/patches/patch-js_src_jsapi-tests_moz.build
diff -u /dev/null pkgsrc/lang/mozjs78/patches/patch-js_src_jsapi-tests_moz.build:1.1
--- /dev/null   Tue Dec 29 02:04:47 2020
+++ pkgsrc/lang/mozjs78/patches/patch-js_src_jsapi-tests_moz.build      Tue Dec 29 02:04:47 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-js_src_jsapi-tests_moz.build,v 1.1 2020/12/29 02:04:47 gutteridge Exp $
+
+Fix SunOS build.
+
+--- js/src/jsapi-tests/moz.build.orig  2020-11-04 10:51:58.000000000 +0000
++++ js/src/jsapi-tests/moz.build
+@@ -164,8 +164,8 @@ if CONFIG['JS_BUILD_BINAST'] and CONFIG[
+         'testBinASTReader.cpp',
+     ]
+ 
+-if CONFIG['OS_ARCH'] not in ('WINNT', 'Darwin') and CONFIG['OS_TARGET'] != 'Android':
+-    # open_memstream() not available on Windows, macOS, or Android
++if CONFIG['OS_ARCH'] not in ('WINNT', 'Darwin', 'SunOS') and CONFIG['OS_TARGET'] != 'Android':
++    # open_memstream() not available on Windows, macOS, SunOS, or Android
+     UNIFIED_SOURCES += [
+         'testPrintError.cpp',
+     ]



Home | Main Index | Thread Index | Old Index