Hi ports --

Attached is a diff for lang/nim, bringing it to its latest version.
The Changelog is here:
https://nim-lang.org/blog/2017/05/17/version-0170-released.html

Note that I only tested this on amd64 as I don't have access to an i386 machine. Testing there would be appreciated.

Take maintainer.

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/nim/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile	9 Jan 2017 10:32:33 -0000	1.6
+++ Makefile	7 Jun 2017 15:52:46 -0000
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS =	i386 amd64
 
 COMMENT =		statically typed, imperative programming language
 
-VERSION =		0.16.0
+VERSION =		0.17.0
 DISTNAME =		nim-${VERSION}
 EXTRACT_SUFX =		.tar.xz
 
@@ -13,6 +13,7 @@ CATEGORIES =		lang
 HOMEPAGE =		http://nim-lang.org/
 MASTER_SITES =		http://nim-lang.org/download/ \
 			http://download.tuxfamily.org/jod/lang/nim/
+MAINTAINER =		Brian Callahan <bcal...@devio.us>
 
 # MIT
 PERMIT_PACKAGE_CDROM =	Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/nim/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo	9 Jan 2017 10:32:33 -0000	1.4
+++ distinfo	7 Jun 2017 15:52:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (nim-0.16.0.tar.xz) = nhmYI75Hy6VeYt1pgvAs8KrXMvNpeZ/sQqTYwiZcUWc=
-SIZE (nim-0.16.0.tar.xz) = 2907076
+SHA256 (nim-0.17.0.tar.xz) = NuGN2ThPbGfm0BmbhxtD53SgrzBTJpgYTW9anMmseps=
+SIZE (nim-0.17.0.tar.xz) = 25079320
Index: patches/patch-compiler_extccomp_nim
===================================================================
RCS file: /cvs/ports/lang/nim/patches/patch-compiler_extccomp_nim,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-compiler_extccomp_nim
--- patches/patch-compiler_extccomp_nim	9 Jan 2017 10:32:33 -0000	1.3
+++ patches/patch-compiler_extccomp_nim	7 Jun 2017 15:52:46 -0000
@@ -1,12 +1,13 @@
 $OpenBSD: patch-compiler_extccomp_nim,v 1.3 2017/01/09 10:32:33 juanfra Exp $
---- compiler/extccomp.nim.orig	Sun Jan  8 21:33:43 2017
-+++ compiler/extccomp.nim	Mon Jan  9 02:22:00 2017
+Index: compiler/extccomp.nim
+--- compiler/extccomp.nim.orig
++++ compiler/extccomp.nim
 @@ -21,7 +21,7 @@ import
  type
    TSystemCC* = enum
      ccNone, ccGcc, ccLLVM_Gcc, ccCLang, ccLcc, ccBcc, ccDmc, ccWcc, ccVcc,
--    ccTcc, ccPcc, ccUcc, ccIcl, asmFasm
-+    ccTcc, ccPcc, ccUcc, ccIcl, asmFasm, ccEGcc
+-    ccTcc, ccPcc, ccUcc, ccIcl
++    ccTcc, ccPcc, ccUcc, ccIcl, ccEGcc
    TInfoCCProp* = enum         # properties of the C compiler:
      hasSwitchRange,           # CC allows ranges in switch statements (GNU C)
      hasComputedGoto,          # CC has computed goto (GNU C extension)
@@ -21,26 +22,27 @@ $OpenBSD: patch-compiler_extccomp_nim,v 
      compilerExe: "gcc",
      cppCompiler: "g++",
      compileTmpl: "-c $options $include -o $objfile $file",
-@@ -90,6 +90,13 @@ compiler gcc:
+@@ -90,6 +90,14 @@ compiler gcc:
      props: {hasSwitchRange, hasComputedGoto, hasCpp, hasGcGuard, hasGnuAsm,
              hasAttribute})
  
++# OpenBSD ports GCC
 +compiler egcc:
-+    result = gcc()
++  result = gcc()
 +
-+    result.name = "egcc"
-+    result.compilerExe = "egcc"
-+    result.cppCompiler = "eg++"
++  result.name = "egcc"
++  result.compilerExe = "egcc"
++  result.cppCompiler = "eg++"
 +
  # LLVM Frontend for GCC/G++
  compiler llvmGcc:
    result = gcc() # Uses settings from GCC
-@@ -359,7 +366,8 @@ const
+@@ -333,7 +341,8 @@ const
+     tcc(),
      pcc(),
      ucc(),
-     icl(),
--    fasm()]
-+    fasm(),
+-    icl()]
++    icl(),
 +    egcc()]
  
    hExt* = ".h"
Index: patches/patch-koch_nim
===================================================================
RCS file: /cvs/ports/lang/nim/patches/patch-koch_nim,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-koch_nim
--- patches/patch-koch_nim	9 Jan 2017 10:32:33 -0000	1.2
+++ patches/patch-koch_nim	7 Jun 2017 15:52:46 -0000
@@ -1,7 +1,8 @@
 $OpenBSD: patch-koch_nim,v 1.2 2017/01/09 10:32:33 juanfra Exp $
---- koch.nim.orig	Sun Jan  8 21:33:42 2017
-+++ koch.nim	Mon Jan  9 03:15:50 2017
-@@ -393,7 +393,7 @@ proc tests(args: string) =
+Index: koch.nim
+--- koch.nim.orig
++++ koch.nim
+@@ -450,7 +450,7 @@ proc tests(args: string) =
    nimexec "cc --taintMode:on tests/testament/tester"
    # Since tests take a long time (on my machine), and we want to defy Murhpys
    # law - lets make sure the compiler really is freshly compiled!
Index: patches/patch-tests_testament_tester_nim
===================================================================
RCS file: /cvs/ports/lang/nim/patches/patch-tests_testament_tester_nim,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-tests_testament_tester_nim
--- patches/patch-tests_testament_tester_nim	9 Jan 2017 10:32:33 -0000	1.3
+++ patches/patch-tests_testament_tester_nim	7 Jun 2017 15:52:46 -0000
@@ -7,8 +7,9 @@ nim cc --taintMode:on tests/testament/te
 FAILURE
 Error 1 in . (Makefile:42 'do-test')"
 
---- tests/testament/tester.nim.orig	Sun Jan  8 21:33:43 2017
-+++ tests/testament/tester.nim	Mon Jan  9 02:33:36 2017
+Index: tests/testament/tester.nim
+--- tests/testament/tester.nim.orig
++++ tests/testament/tester.nim
 @@ -12,7 +12,7 @@
  import
    parseutils, strutils, pegs, os, osproc, streams, parsecfg, json,
@@ -18,7 +19,7 @@ Error 1 in . (Makefile:42 'do-test')"
  
  const
    resultsFile = "testresults.html"
-@@ -326,7 +326,7 @@ proc testSpec(r: var TResults, test: TTest) =
+@@ -325,7 +325,7 @@ proc testSpec(r: var TResults, test: TTest) =
        r.addResult(test, expected.outp, "executable not found", reExeNotFound)
        return
  
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/nim/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST	9 Jan 2017 10:32:33 -0000	1.3
+++ pkg/PLIST	7 Jun 2017 15:52:46 -0000
@@ -4,12 +4,9 @@
 @bin bin/nim
 lib/nim/
 lib/nim/arch/
-lib/nim/arch/arch.nim
-lib/nim/arch/i386.asm
-lib/nim/arch/ms_amd64.asm
-lib/nim/arch/ms_i386.asm
-lib/nim/arch/unix_amd64.asm
-lib/nim/arch/unix_i386.asm
+lib/nim/arch/x86/
+lib/nim/arch/x86/amd64.S
+lib/nim/arch/x86/i386.S
 lib/nim/core/
 lib/nim/core/locks.nim
 lib/nim/core/macros.nim
@@ -27,6 +24,9 @@ lib/nim/deprecated/pure/ftpclient.nim
 lib/nim/deprecated/pure/parseurl.nim
 lib/nim/deprecated/pure/rawsockets.nim
 lib/nim/deprecated/pure/sockets.nim
+lib/nim/genode_cpp/
+lib/nim/genode_cpp/syslocks.h
+lib/nim/genode_cpp/threads.h
 lib/nim/impure/
 lib/nim/impure/db_mysql.nim
 lib/nim/impure/db_odbc.nim
@@ -44,6 +44,7 @@ lib/nim/impure/ssl.nim
 lib/nim/js/
 lib/nim/js/dom.nim
 lib/nim/js/jsconsole.nim
+lib/nim/js/jsffi.nim
 lib/nim/nimbase.h
 lib/nim/nimrtl.nim
 lib/nim/nimrtl.nim.cfg
@@ -54,12 +55,17 @@ lib/nim/packages/docutils/highlite.nim
 lib/nim/packages/docutils/rst.nim
 lib/nim/packages/docutils/rstast.nim
 lib/nim/packages/docutils/rstgen.nim
+lib/nim/packages/fsmonitor.nim
 lib/nim/posix/
 lib/nim/posix/epoll.nim
 lib/nim/posix/inotify.nim
 lib/nim/posix/kqueue.nim
 lib/nim/posix/linux.nim
 lib/nim/posix/posix.nim
+lib/nim/posix/posix_linux_amd64.nim
+lib/nim/posix/posix_linux_amd64_consts.nim
+lib/nim/posix/posix_other.nim
+lib/nim/posix/posix_other_consts.nim
 lib/nim/posix/termios.nim
 lib/nim/prelude.nim
 lib/nim/pure/
@@ -74,6 +80,7 @@ lib/nim/pure/asyncnet.nim
 lib/nim/pure/base64.nim
 lib/nim/pure/basic2d.nim
 lib/nim/pure/basic3d.nim
+lib/nim/pure/bitops.nim
 lib/nim/pure/browsers.nim
 lib/nim/pure/cgi.nim
 lib/nim/pure/collections/
@@ -108,10 +115,9 @@ lib/nim/pure/distros.nim
 lib/nim/pure/dynlib.nim
 lib/nim/pure/encodings.nim
 lib/nim/pure/endians.nim
-lib/nim/pure/etcpriv.nim
+lib/nim/pure/endians.nim.orig
 lib/nim/pure/events.nim
 lib/nim/pure/fenv.nim
-lib/nim/pure/fsmonitor.nim
 lib/nim/pure/future.nim
 lib/nim/pure/gentabs.nim
 lib/nim/pure/hashes.nim
@@ -121,6 +127,7 @@ lib/nim/pure/httpclient.nim
 lib/nim/pure/httpcore.nim
 lib/nim/pure/httpserver.nim
 lib/nim/pure/includes/
+lib/nim/pure/includes/asynccommon.nim
 lib/nim/pure/includes/asyncfutures.nim
 lib/nim/pure/ioselectors.nim
 lib/nim/pure/ioselects/
@@ -166,6 +173,7 @@ lib/nim/pure/romans.nim
 lib/nim/pure/ropes.nim
 lib/nim/pure/scgi.nim
 lib/nim/pure/securehash.nim
+lib/nim/pure/segfaults.nim
 lib/nim/pure/selectors.nim
 lib/nim/pure/smtp.nim
 lib/nim/pure/smtp.nim.cfg
@@ -186,6 +194,7 @@ lib/nim/pure/unidecode/unidecode.dat
 lib/nim/pure/unidecode/unidecode.nim
 lib/nim/pure/unittest.nim
 lib/nim/pure/uri.nim
+lib/nim/pure/volatile.nim
 lib/nim/pure/xmldom.nim
 lib/nim/pure/xmldomparser.nim
 lib/nim/pure/xmlparser.nim
@@ -246,8 +255,8 @@ lib/nim/wrappers/libuv.nim
 lib/nim/wrappers/linenoise/
 lib/nim/wrappers/linenoise/LICENSE.txt
 lib/nim/wrappers/linenoise/README.markdown
-lib/nim/wrappers/linenoise/clinenoise.c
-lib/nim/wrappers/linenoise/clinenoise.h
+lib/nim/wrappers/linenoise/linenoise.c
+lib/nim/wrappers/linenoise/linenoise.h
 lib/nim/wrappers/linenoise/linenoise.nim
 lib/nim/wrappers/mysql.nim
 lib/nim/wrappers/odbcsql.nim

Reply via email to