pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/spidermonkey185



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Jan  6 16:06:16 UTC 2026

Modified Files:
        pkgsrc/lang/spidermonkey185: Makefile distinfo
        pkgsrc/lang/spidermonkey185/patches: patch-configure

Log Message:
lang/spidermonkey185: Fix GCC 14 build


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/spidermonkey185/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/spidermonkey185/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/spidermonkey185/patches/patch-configure

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

Modified files:

Index: pkgsrc/lang/spidermonkey185/Makefile
diff -u pkgsrc/lang/spidermonkey185/Makefile:1.15 pkgsrc/lang/spidermonkey185/Makefile:1.16
--- pkgsrc/lang/spidermonkey185/Makefile:1.15   Mon Aug 14 05:24:46 2023
+++ pkgsrc/lang/spidermonkey185/Makefile        Tue Jan  6 16:06:16 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2023/08/14 05:24:46 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2026/01/06 16:06:16 ryoon Exp $
 #
 
 DISTNAME=      js185-1.0.0
@@ -60,6 +60,9 @@ PLIST_SUBST+= ARCH=${MACHINE_ARCH}
 
 TEST_TARGET=           check
 
+post-patch:
+       ${CHMOD} +x ${WRKSRC}/build/hcpp
+
 # o Install js interpreter
 # o Install the binaries and headers with a proper version suffix
 # o Adjust headers permissions

Index: pkgsrc/lang/spidermonkey185/distinfo
diff -u pkgsrc/lang/spidermonkey185/distinfo:1.8 pkgsrc/lang/spidermonkey185/distinfo:1.9
--- pkgsrc/lang/spidermonkey185/distinfo:1.8    Tue Oct 26 10:51:56 2021
+++ pkgsrc/lang/spidermonkey185/distinfo        Tue Jan  6 16:06:16 2026
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:51:56 nia Exp $
+$NetBSD: distinfo,v 1.9 2026/01/06 16:06:16 ryoon Exp $
 
 BLAKE2s (js185-1.0.0.tar.gz) = 46b57fb118dd75620f5ffdce8dec3a70bbe8067f544be55284b6631c82d2e13a
 SHA512 (js185-1.0.0.tar.gz) = 2af7122a7c7007fd7b6668776fe1222515a810b3e43bbf0f76b8f94e1ef406ffd3fb5ccec393021b00274c05b38a77235bc8d6886994c56762fcaf0aa7cf6718
 Size (js185-1.0.0.tar.gz) = 6164605 bytes
-SHA1 (patch-configure) = 77366fff7e8b766b5691d0432b8740d4c8c362a6
+SHA1 (patch-configure) = 0675714a152fc6dd5b7b3033f1c76b9d1a0927d1
 SHA1 (patch-jsatom.cpp) = 4156e97b72461af88aa68394ef439d63a4c081dc
 SHA1 (patch-jscell.h) = e2c90041b9b526d1f07e4905d0c684afe96992a9
 SHA1 (patch-jscntxt.cpp) = 7d41c587affa51f23bfff48b118d61ec6e3b87c1

Index: pkgsrc/lang/spidermonkey185/patches/patch-configure
diff -u pkgsrc/lang/spidermonkey185/patches/patch-configure:1.1 pkgsrc/lang/spidermonkey185/patches/patch-configure:1.2
--- pkgsrc/lang/spidermonkey185/patches/patch-configure:1.1     Wed Nov 16 13:13:44 2016
+++ pkgsrc/lang/spidermonkey185/patches/patch-configure Tue Jan  6 16:06:16 2026
@@ -1,10 +1,27 @@
-$NetBSD: patch-configure,v 1.1 2016/11/16 13:13:44 fhajny Exp $
+$NetBSD: patch-configure,v 1.2 2026/01/06 16:06:16 ryoon Exp $
 
 * Improve compatibility
+* Define return type for functions to fix GCC 14.
 
 --- configure.orig     2011-03-31 19:08:36.000000000 +0000
 +++ configure
-@@ -3234,7 +3234,7 @@ fi
+@@ -1617,6 +1617,7 @@ cat > conftest.$ac_ext << EOF
+ #line 1618 "configure"
+ #include "confdefs.h"
+ 
++int
+ main(){return(0);}
+ EOF
+ if { (eval echo configure:1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -2262,6 +2263,7 @@ cat > conftest.$ac_ext << EOF
+ #line 2263 "configure"
+ #include "confdefs.h"
+ 
++int
+ main(){return(0);}
+ EOF
+ if { (eval echo configure:2268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -3234,7 +3236,7 @@ fi
  
  echo "$ac_t""$ac_cv_have_std__Throw" 1>&6
  
@@ -13,7 +30,16 @@ $NetBSD: patch-configure,v 1.1 2016/11/1
              echo $ac_n "checking for |class __declspec(dllimport) exception| bug""... $ac_c" 1>&6
  echo "configure:3240: checking for |class __declspec(dllimport) exception| bug" >&5
  if eval "test \"`echo '$''{'ac_cv_have_dllimport_exception_bug'+set}'`\" = set"; then
-@@ -8093,6 +8093,12 @@ EOF
+@@ -3471,7 +3473,7 @@ set dummy $CC; ac_cc="`echo $2 |
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+-  echo 'foo(){}' > conftest.c
++  echo 'int foo(){}' > conftest.c
+ # Make sure it works both with $CC and with simple cc.
+ # We do the test twice because some compilers refuse to overwrite an
+ # existing .o file with -o, though they will create one.
+@@ -8093,6 +8095,12 @@ EOF
  EOF
  
      ;;
@@ -26,3 +52,19 @@ $NetBSD: patch-configure,v 1.1 2016/11/1
  *-gnu*)
      cat >> confdefs.h <<\EOF
  #define AVMPLUS_UNIX 1
+@@ -11047,6 +11055,7 @@ else
+ #line 11048 "configure"
+ #include "confdefs.h"
+ 
++int
+ main()
+ {
+   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
+@@ -13592,6 +13601,7 @@ else
+ #line 13593 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
++int
+ main()
+ {
+   FILE *f=fopen("conftestval", "w");



Home | Main Index | Thread Index | Old Index