pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/chezscheme



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu May  2 13:22:34 UTC 2024

Modified Files:
        pkgsrc/lang/chezscheme: Makefile distinfo
Added Files:
        pkgsrc/lang/chezscheme/patches: patch-c_self-exe.c

Log Message:
lang/chezscheme: Update to 10.0.0

Release notes are too long to paste here:
https://cisco.github.io/ChezScheme/release_notes/v10.0/release_notes.html


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/chezscheme/Makefile \
    pkgsrc/lang/chezscheme/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/chezscheme/patches/patch-c_self-exe.c

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

Modified files:

Index: pkgsrc/lang/chezscheme/Makefile
diff -u pkgsrc/lang/chezscheme/Makefile:1.1 pkgsrc/lang/chezscheme/Makefile:1.2
--- pkgsrc/lang/chezscheme/Makefile:1.1 Mon Nov  6 17:15:57 2023
+++ pkgsrc/lang/chezscheme/Makefile     Thu May  2 13:22:34 2024
@@ -1,28 +1,22 @@
-# $NetBSD: Makefile,v 1.1 2023/11/06 17:15:57 pho Exp $
+# $NetBSD: Makefile,v 1.2 2024/05/02 13:22:34 pho Exp $
 
-# NOTE: The latest stable release, 9.6.4 at the moment, is a version
-# released before merging Racket fork back to the main repository. We
-# really need to use the git HEAD at the moment because it is far more
-# portable than 9.6.4. Switch the package to stable when v10 is released.
-CHEZ_VERSION=  9.9.9alpha2023.11.03
-
-DISTNAME=              chezscheme-${CHEZ_VERSION}
+DISTNAME=              chezscheme-10.0.0
 CATEGORIES=            lang
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=cisco/}
 GITHUB_PROJECT=                ChezScheme
-GITHUB_TAG=            92c697d7d3c930367c268e2e4fb229fe3ee3f39c
+GITHUB_TAG=            v${PKGVERSION_NOREV}
 GITHUB_SUBMODULES+=    lz4 lz4 d44371841a2f1728a3f36839fd4b7e872d0927d3 lz4
 GITHUB_SUBMODULES+=    nanopass nanopass-framework-scheme 68990d02573faa555ee42919d5809de03f1268a0 nanopass
 GITHUB_SUBMODULES+=    dybvig stex 5e4f0ca67bac448e19a24c09f12fc16d24cd6b6d stex
-GITHUB_SUBMODULES+=    madler zlib 09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851 zlib
-GITHUB_SUBMODULES+=    racket zuo 493e9cd08147add01bba9247f36759f095b87678 zuo
+GITHUB_SUBMODULES+=    madler zlib 51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf zlib
+GITHUB_SUBMODULES+=    racket zuo ebdc0451c39c70ce88b3b6ab9ba2b8e389ec519a zuo
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://cisco.github.io/ChezScheme/
 COMMENT=       Cisco implementation of the Scheme programming language
 LICENSE=       apache-2.0
 
-WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 
 USE_TOOLS+=    gmake
 HAS_CONFIGURE= yes
Index: pkgsrc/lang/chezscheme/distinfo
diff -u pkgsrc/lang/chezscheme/distinfo:1.1 pkgsrc/lang/chezscheme/distinfo:1.2
--- pkgsrc/lang/chezscheme/distinfo:1.1 Mon Nov  6 17:15:57 2023
+++ pkgsrc/lang/chezscheme/distinfo     Thu May  2 13:22:34 2024
@@ -1,20 +1,21 @@
-$NetBSD: distinfo,v 1.1 2023/11/06 17:15:57 pho Exp $
+$NetBSD: distinfo,v 1.2 2024/05/02 13:22:34 pho Exp $
 
-BLAKE2s (chezscheme-9.9.9alpha2023.11.03-92c697d7d3c930367c268e2e4fb229fe3ee3f39c.tar.gz) = 9a1d440737219128e1cfeb11f9cc9d5ddab14d78bc4ff44ee49f66e8a3c8a6b7
-SHA512 (chezscheme-9.9.9alpha2023.11.03-92c697d7d3c930367c268e2e4fb229fe3ee3f39c.tar.gz) = 
7411fedc5ba17d4eaaf543fcd24e1785a8e3e1f7325e1c5bc32ef63777b3ae4cc613c1ab315fed2dc9aed24e891800587b37b8846407328acaab44fb1618ee13
-Size (chezscheme-9.9.9alpha2023.11.03-92c697d7d3c930367c268e2e4fb229fe3ee3f39c.tar.gz) = 6267532 bytes
+BLAKE2s (chezscheme-10.0.0.tar.gz) = afbfc3f246ba79b266b63d3c921d01d93f174e666a0d00b9016445eac070709c
+SHA512 (chezscheme-10.0.0.tar.gz) = 0efece61e2b820b8e06e5dd6bf25e14de9915f8bfea1f98d1f28a356913047d4f11ea687bb57383c62701bcb2251a911da862246154144b14c80488d9b8973de
+Size (chezscheme-10.0.0.tar.gz) = 6351350 bytes
 BLAKE2s (dybvig-stex-5e4f0ca67bac448e19a24c09f12fc16d24cd6b6d.tar.gz) = 036e06281ac4f5bffea7bfedaaeb185d3cc91f96c62c8a04f93de979557c63a9
 SHA512 (dybvig-stex-5e4f0ca67bac448e19a24c09f12fc16d24cd6b6d.tar.gz) = fd3cf91eb0584ee21eab6be00e38dc3dca559546646e711be6e2c2d254390e5e6e454f06f851df2de314c4304d8a8d44cffe0b4160c3858e0cb200f91c62e813
 Size (dybvig-stex-5e4f0ca67bac448e19a24c09f12fc16d24cd6b6d.tar.gz) = 211114 bytes
 BLAKE2s (lz4-lz4-d44371841a2f1728a3f36839fd4b7e872d0927d3.tar.gz) = 8a5d4c14d2e1194fbb4ecc9e3475c6d2f0faac6a1ee1d50a2c806ca18556c4f0
 SHA512 (lz4-lz4-d44371841a2f1728a3f36839fd4b7e872d0927d3.tar.gz) = 68446060c4296297225174e5d2df647372e9ad97ab1798e0923599144023f6e9a4d314f886f84bbf9cc1928486fe6738a0f08174dd7d16109b00b50b56fe18bc
 Size (lz4-lz4-d44371841a2f1728a3f36839fd4b7e872d0927d3.tar.gz) = 321362 bytes
-BLAKE2s (madler-zlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.gz) = 64d88f739163ab886f6d9a4dc42cac0bfd02a0ef8025ed5559411bc3e0974fc0
-SHA512 (madler-zlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.gz) = ef371d3f059db30416d10a4648faf3c2da7c59aca8384a2a91f5e837ddc6f54cf06ef11283f5679b12a9b1a6ed09453efd609434f406acbbdc4a1e0d3210733b
-Size (madler-zlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.gz) = 1554074 bytes
+BLAKE2s (madler-zlib-51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf.tar.gz) = 499d8a49dc07b8657671b4e789aed8a81b2e94fef334b58a8e3f3892f4d2e9fa
+SHA512 (madler-zlib-51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf.tar.gz) = ef7e1c355e2077ff2c02b1489d4f03805dab32b8cac2086c397db0fd4bd7c29d8d7621a907451c447122c0f546d078b9a15a47d73e7aa581d3ce06df4543c289
+Size (madler-zlib-51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf.tar.gz) = 1572004 bytes
 BLAKE2s (nanopass-nanopass-framework-scheme-68990d02573faa555ee42919d5809de03f1268a0.tar.gz) = 091a0ec218a961434d8749938f0567cc56afb81d5c817b844602fe4baaaa4216
 SHA512 (nanopass-nanopass-framework-scheme-68990d02573faa555ee42919d5809de03f1268a0.tar.gz) = 
31ff11e7ea9c13c436899d3a495fd1ef448efc988007e270ddf5b039c3cd833c7264a4bc5bdb0492d2854bddadf31599b389b49ed0e11eb474df8922889fb1d0
 Size (nanopass-nanopass-framework-scheme-68990d02573faa555ee42919d5809de03f1268a0.tar.gz) = 437825 bytes
-BLAKE2s (racket-zuo-493e9cd08147add01bba9247f36759f095b87678.tar.gz) = 5838403e5f12664ef17073915ba52bbfe461618fddfb63493048144d7b30ef39
-SHA512 (racket-zuo-493e9cd08147add01bba9247f36759f095b87678.tar.gz) = 3f84d154fa36ef336e62aacb6453e9de9541b4359b88a31e45d0876861a6ae3dcb90c5681513118b1e5fdd2576d8ca1b08517c0dc43dd35ca92c2416d26ae782
-Size (racket-zuo-493e9cd08147add01bba9247f36759f095b87678.tar.gz) = 205920 bytes
+BLAKE2s (racket-zuo-ebdc0451c39c70ce88b3b6ab9ba2b8e389ec519a.tar.gz) = e8589ff64ecfc88b5b014c92f215c932f681f8dfd8b5e7f683ca18f8abbe79ef
+SHA512 (racket-zuo-ebdc0451c39c70ce88b3b6ab9ba2b8e389ec519a.tar.gz) = 08e6814c6cd3c78005e2b6d0530ecce665b5fb07b10609e9645e4fd72cc8fde01e72d6065ed41daf734788f4bd44cee741c73d93fc2fa26226089606cd824483
+Size (racket-zuo-ebdc0451c39c70ce88b3b6ab9ba2b8e389ec519a.tar.gz) = 206251 bytes
+SHA1 (patch-c_self-exe.c) = ac4b3860a21507130f3fd21a4feff0f1be5fb8b6

Added files:

Index: pkgsrc/lang/chezscheme/patches/patch-c_self-exe.c
diff -u /dev/null pkgsrc/lang/chezscheme/patches/patch-c_self-exe.c:1.1
--- /dev/null   Thu May  2 13:22:34 2024
+++ pkgsrc/lang/chezscheme/patches/patch-c_self-exe.c   Thu May  2 13:22:34 2024
@@ -0,0 +1,47 @@
+$NetBSD: patch-c_self-exe.c,v 1.1 2024/05/02 13:22:34 pho Exp $
+
+/proc/curproc/file is not a symlink on NetBSD. Use sysctl instead.
+
+TODO: Upstream this
+
+--- c/self-exe.c.orig  2024-05-02 12:42:04.735939925 +0000
++++ c/self-exe.c
+@@ -187,6 +187,29 @@ static char *get_self_path_platform() {
+ }
+ #endif
+ 
++#if defined(__NetBSD__)
++#include <limits.h>
++#include <sys/param.h>
++#include <sys/sysctl.h>
++#include <sys/types.h>
++#define HAVE_GET_SELF_PATH_PLATFORM
++static char *get_self_path_platform() {
++  const int mib[4] = {
++    CTL_KERN,
++    KERN_PROC_ARGS,
++    -1, /* current process */
++    KERN_PROC_PATHNAME
++  };
++  size_t path_len = PATH_MAX;
++  char path[path_len];
++  if (sysctl(mib, sizeof(mib) / sizeof(int), path, &path_len, NULL, 0) == 0) {
++    path[path_len] = '\0';
++    return copy_string(path);
++  }
++  return NULL;
++}
++#endif
++
+ #if defined(__sun__) && defined(__svr4__)
+ #define HAVE_GET_SELF_PATH_PLATFORM
+ static char *get_self_path_platform() {
+@@ -203,7 +226,7 @@ static char *get_self_path_platform() {
+ static char *get_self_path_platform() { return copy_string("/proc/self/exe"); }
+ #endif
+ 
+-#if defined(__NetBSD__) || defined(__minix) || defined(__DragonFly__) ||       \
++#if defined(__minix) || defined(__DragonFly__) ||       \
+     defined(__FreeBSD_kernel__) || defined(_AIX)
+ #define HAVE_GET_SELF_PATH_PLATFORM
+ static char *get_self_path_platform() { return copy_string("/proc/curproc/file"); }



Home | Main Index | Thread Index | Old Index