head	1.2;
access;
symbols
	pkgsrc-2026Q3:1.2.0.2
	pkgsrc-2026Q3-base:1.2
	pkgsrc-2026Q2:1.1.0.28
	pkgsrc-2026Q2-base:1.1
	pkgsrc-2026Q1:1.1.0.26
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.24
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.22
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.20
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.18
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.16
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.14
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.12
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.10
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.8
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.6
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.4
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.2
	pkgsrc-2023Q1-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2026.07.21.14.03.28;	author ryoon;	state Exp;
branches;
next	1.1;
commitid	1EWQzJfT3NyYJwOG;

1.1
date	2023.02.25.17.58.39;	author ryoon;	state Exp;
branches;
next	;
commitid	Phe72LzlNzEQXVeE;


desc
@@


1.2
log
@lang/smlnj: Update to 110.99.9 and make pkglint happier

* Remove unused things.
* Use modern variables.
* Honor LDLFAGS to use RELRO flags during linking

Changelog:
Version 110.99.9

Summary

This release fixes a number of bugs and enables running on macOS 26 (Tahoe).

Details

Runtime System

  * Ported various fixes from the development repository.

SML/NJ Library

  * Added a number of operations to the MONO_HASH_SET interface to make it more
    compatible with the ORD_SET interface.

  * Added LEB128 module, which implements packed encoding and decoding of
    integer and word types using the Little Endian Base 128 encoding.

  * moved the JSON structure from the JSON Library to the Util Library. This
    change was made to allow code to produce/consume JSON values without
    depending on the JSON library.

Bugs

Here is a list of the issues that are fixed (or closed) with this release. We
include the original bug numbers for bugs that were reported using the gforge
bug tracker.

Issue                           Description                             Gforge
                                                                         Bug
356   Problem with Real.fromString evaluating non-whole number strings n.a.
      on 32-bit systems

360   Incorrect values returned by Real.fromString on strings with     n.a.
      many digits

362   Real.fromString on negative inf/infinity returns positive        n.a.
      infinity

363   "default word size" in the documentation for Util/Random         n.a.

366   SockUtil.recvVec behaviour does not match documentation          n.a.

367   Compile error on Fedora 40 64-bit                                n.a.

370   Int32 operations do not properly raise Overflow                  n.a.

372   Int32.toString can generate an Overflow exception                n.a.

  * Merged fix for the inverse power-of-five table from the development branch
    (see Pull Request #306).

  * Merged fix for the IntBinarySet structure from the development branch (see
    Pull Request #308 and Issue #310).

  * Merged fix for development repository Issue #319 (Nondeterministic import
    order).

  * Merged fix for development repository Pull Request #322 (Fix heap export
    inconsistency caused by pair arena offsets).

  * Merged fix for development repository Pull Request #323 (Fix memory leaks
    in the runtime system).

  * Merged fix for development repository Pull Request #325 (setPosOut should
    return an outstream).
@
text
@$NetBSD: patch-src_runtime_objs_mk.amd64-netbsd,v 1.1 2023/02/25 17:58:39 ryoon Exp $

--- src/runtime/objs/mk.amd64-netbsd.orig	2026-07-21 09:11:56.913209296 +0000
+++ src/runtime/objs/mk.amd64-netbsd
@@@@ -0,0 +1,32 @@@@
+# mk.amd64-netbsd
+#
+# makefile for "NetBSD" on the amd64 architecture
+#
+
+SHELL =		/bin/sh
+
+MAKE =		make
+AS =		as --64
+CC =		cc -std=gnu99
+CFLAGS =	@@CFLAGS@@ -m64
+CPP =		cc -x assembler-with-cpp -E -P
+XOBJS =
+XLIBS =		../c-libs/dl/libunix-dynload.a
+LDFLAGS =	@@LDFLAGS@@
+LD_LIBS =	-lm -ldl
+#CHECK_HEAP =	check-heap.o
+XDEFS =
+BASE_DEFS =
+DEFS =		$(XDEFS) $(BASE_DEFS) -DARCH_AMD64 -DSIZE_64 \
+		-DOPSYS_UNIX -DOPSYS_NETBSD -D_GNU_SOURCE -DGNU_ASSEMBLER -DDLOPEN \
+		-DINDIRECT_CFUNC
+TARGET =	AMD64
+VERSION =	v-amd64-netbsd
+RUNTIME =	run.amd64-netbsd
+RUNTIME_SO =	run.amd64-netbsd.so
+RUNTIME_A =	run.amd64-netbsd.a
+
+all:
+	($(MAKE) CHECK_HEAP=$(CHECK_HEAP) RUNTIME="$(RUNTIME)" VERSION="$(VERSION)" AS="$(AS)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" LDFLAGS="$(LDFLAGS)" $(RUNTIME))
+#	($(MAKE) RUNTIME="$(RUNTIME_SO)" VERSION="$(VERSION)" AS="$(AS)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" LDFLAGS="-shared" $(RUNTIME_SO))
+#	($(MAKE) RUNTIME_A="$(RUNTIME_A)" VERSION="$(VERSION)" AS="$(AS)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" LDFLAGS="" $(RUNTIME_A))
@


1.1
log
@smlnj: Update to 110.99.3

* CHangelog is too long, it includes adding amd64 support.
@
text
@d1 1
a1 1
$NetBSD$
d3 1
a3 1
--- src/runtime/objs/mk.amd64-netbsd.orig	2023-01-29 17:15:22.872383666 +0000
d5 1
a5 1
@@@@ -0,0 +1,31 @@@@
d20 1
d35 1
a35 1
+	($(MAKE) CHECK_HEAP=$(CHECK_HEAP) RUNTIME="$(RUNTIME)" VERSION="$(VERSION)" AS="$(AS)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
@

