* [PR PATCH] joker: update to 0.12.3.
@ 2019-05-05 7:44 voidlinux-github
2019-05-05 9:30 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-05-05 7:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
There is a new pull request by SevereOverfl0w against master on the void-packages repository
https://github.com/SevereOverfl0w/void-packages joker0123
https://github.com/void-linux/void-packages/pull/11506
joker: update to 0.12.3.
None
A patch file from https://github.com/void-linux/void-packages/pull/11506.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-joker0123-11506.patch --]
[-- Type: application/text/x-diff, Size: 3261 bytes --]
From 82058d91004c5bf0510a8d69467ab462b214e747 Mon Sep 17 00:00:00 2001
From: Dominic Monroe <dmc@juxt.pro>
Date: Sun, 5 May 2019 08:44:06 +0100
Subject: [PATCH] joker: update to 0.12.3.
---
.../patches/cross_build_gh_issue_200.patch | 61 -------------------
srcpkgs/joker/template | 4 +-
2 files changed, 2 insertions(+), 63 deletions(-)
delete mode 100644 srcpkgs/joker/patches/cross_build_gh_issue_200.patch
diff --git a/srcpkgs/joker/patches/cross_build_gh_issue_200.patch b/srcpkgs/joker/patches/cross_build_gh_issue_200.patch
deleted file mode 100644
index 4d2a21d07ca..00000000000
--- a/srcpkgs/joker/patches/cross_build_gh_issue_200.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff --git core/array_map.go core/array_map.go
-index 3d9b95d..6e03cfa 100644
---- core/array_map.go
-+++ core/array_map.go
-@@ -21,7 +21,7 @@ type (
- )
-
- var (
-- HASHMAP_THRESHOLD int = 16
-+ HASHMAP_THRESHOLD int64 = 16
- )
-
- func EmptyArrayMap() *ArrayMap {
-@@ -169,7 +169,7 @@ func (m *ArrayMap) Assoc(key Object, value Object) Associative {
- res.arr[i+1] = value
- return res
- }
-- if len(m.arr) >= HASHMAP_THRESHOLD {
-+ if int64(len(m.arr)) >= HASHMAP_THRESHOLD {
- return NewHashMap(m.arr...).Assoc(key, value)
- }
- res := m.Clone()
-diff --git core/eval.go core/eval.go
-index 42b7ff2..49ade93 100644
---- core/eval.go
-+++ core/eval.go
-@@ -204,7 +204,7 @@ func (expr *VectorExpr) Eval(env *LocalEnv) Object {
- }
-
- func (expr *MapExpr) Eval(env *LocalEnv) Object {
-- if len(expr.keys) > HASHMAP_THRESHOLD/2 {
-+ if int64(len(expr.keys)) > HASHMAP_THRESHOLD/2 {
- res := EmptyHashMap
- for i := range expr.keys {
- key := Eval(expr.keys[i], env)
-diff --git core/read.go core/read.go
-index 199fd72..1a03ca8 100644
---- core/read.go
-+++ core/read.go
-@@ -604,7 +604,7 @@ func readMapWithNamespace(reader *Reader, nsname string) Object {
- if len(objs)%2 != 0 {
- panic(MakeReadError(reader, "Map literal must contain an even number of forms"))
- }
-- if len(objs) > HASHMAP_THRESHOLD {
-+ if int64(len(objs)) >= HASHMAP_THRESHOLD {
- hashMap := NewHashMap()
- for i := 0; i < len(objs); i += 2 {
- key := resolveKey(objs[i], nsname)
-diff --git main.go main.go
-index 126f221..bfd1b84 100644
---- main.go
-+++ main.go
-@@ -437,7 +437,7 @@ func parseArgs(args []string) {
- if thresh < 0 {
- HASHMAP_THRESHOLD = math.MaxInt64
- } else {
-- HASHMAP_THRESHOLD = thresh
-+ HASHMAP_THRESHOLD = int64(thresh)
- }
- } else {
- missing = true
diff --git a/srcpkgs/joker/template b/srcpkgs/joker/template
index 9578cf58938..400ea888727 100644
--- a/srcpkgs/joker/template
+++ b/srcpkgs/joker/template
@@ -1,6 +1,6 @@
# Template file for 'joker'
pkgname=joker
-version=0.12.2
+version=0.12.3
revision=1
build_style=go
go_import_path=github.com/candid82/joker
@@ -10,7 +10,7 @@ maintainer="Dominic Monroe <monroef4@googlemail.com>"
license="EPL-1.0"
homepage="https://joker-lang.org/"
distfiles="https://github.com/candid82/joker/archive/v${version}.tar.gz"
-checksum=aa50503dfc767a74e6c1b85dd80113561f9459d4ab04dbe785617190bafe3c43
+checksum=74c67995be74c13d50b31d790113880d2d7b41d9013dddb68c91b04580b34564
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" joker"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: joker: update to 0.12.3.
2019-05-05 7:44 [PR PATCH] joker: update to 0.12.3 voidlinux-github
@ 2019-05-05 9:30 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-05-05 9:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
There's a merged pull request on the void-packages repository
joker: update to 0.12.3.
https://github.com/void-linux/void-packages/pull/11506
Description: None
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-05 9:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-05 7:44 [PR PATCH] joker: update to 0.12.3 voidlinux-github
2019-05-05 9:30 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).