Bug 242728 - lang/smlnj: Update to 110.96, 64-bit support on amd64
Summary: lang/smlnj: Update to 110.96, 64-bit support on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2019-12-19 15:50 UTC by Johannes 5
Modified: 2020-06-16 23:06 UTC (History)
1 user (show)

See Also:
joemann: maintainer-feedback+


Attachments
Update lang/smlnj to 110.96 (39.40 KB, patch)
2019-12-19 15:50 UTC, Johannes 5
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes 5 2019-12-19 15:50:14 UTC
Created attachment 210067 [details]
Update lang/smlnj to 110.96

The attached patch to lang/smlnj should be identical to

	<ftp://offshore.free.de/pub/patch/smlnj.patch.20191214>
	MD5 (smlnj.patch.20191214) = 77943b89edea74955bbbaa0fcd512d27

and does the following:

- Update to SML/NJ 110.96, upstream changelog: [1].
- Build the 64-bit version of SML/NJ on amd64.
  - Pass flags to CC/AS/LD such that the toolchain of
    the FreeBSD base system can build the runtime as
    a shared object (required for heap2exec). Thus
  - LLD_UNSAFE/binutils is no longer needed.
- ml-nlffigen is not yet supported in the 64-bit version.
- Users of the Basis Library function Date.toTime should
  build the port with the [x] RECOMPILE option in order to
  make use of the fix contained in
  files/do-patch-base_system_Basis_Implementation_date.sml
  (upstream bug #239, [2,3]).

Output from poudriere testport on amd64 and i386 is available: [4].

Thanks for considering this PR!
[x] MERRY_CHRISTMAS
Johannes

[1] <http://www.smlnj.org/dist/working/110.96/HISTORY.html>
[2] <https://smlnj-gforge.cs.uchicago.edu/tracker/index.php?func=detail&aid=239&group_id=33&atid=215>
[3] <http://smlnj-gforge.cs.uchicago.edu/scm/viewvc.php/sml/trunk/system/Basis/Implementation/date.sml?root=smlnj&r1=5400&r2=6066>
[4] <http://mesh-j-3.free.de/poudriere/smlnj/110.96/>
Comment 1 Automation User 2019-12-19 16:06:44 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/104404965
Comment 2 commit-hook freebsd_committer 2020-06-16 23:05:23 UTC
A commit references this bug:

Author: lwhsu
Date: Tue Jun 16 23:04:41 UTC 2020
New revision: 539386
URL: https://svnweb.freebsd.org/changeset/ports/539386

Log:
  - Update to 110.96

  PR:		242728
  Submitted by:	Johannes 5 <joemann@beefree.free.de> (maintainer)

Changes:
  head/lang/smlnj/Makefile
  head/lang/smlnj/distinfo
  head/lang/smlnj/files/do-patch-asdl_config_check__smlnj__heap__suffix.m4
  head/lang/smlnj/files/do-patch-asdl_configure
  head/lang/smlnj/files/do-patch-asdl_src_asdlgen_Makefile.in
  head/lang/smlnj/files/do-patch-base_runtime_include_ml-unixdep.h
  head/lang/smlnj/files/do-patch-base_runtime_objs_makefile
  head/lang/smlnj/files/do-patch-base_runtime_objs_mk.amd64-freebsd
  head/lang/smlnj/files/do-patch-base_runtime_objs_mk.x86-freebsd
  head/lang/smlnj/files/do-patch-base_system_Basis_Implementation_date.sml
  head/lang/smlnj/files/do-patch-eXene_lib_protocol_xreply.sml
  head/lang/smlnj/files/do-patch-eXene_lib_protocol_xrequest.sml
  head/lang/smlnj/files/do-patch-eXene_lib_protocol_xsendevt.sml
  head/lang/smlnj/files/patch-config___arch-n-opsys
  head/lang/smlnj/files/patch-config___heap2exec
  head/lang/smlnj/files/patch-config_install.sh
  head/lang/smlnj/files/patch-config_unpack
  head/lang/smlnj/pkg-plist
Comment 3 Li-Wen Hsu freebsd_committer 2020-06-16 23:06:01 UTC
Committed, sorry that it takes so long!

BTW, will these local patches be upstreamed?