From: amirouche@hyper.dev
To: 35518@debbugs.gnu.org
Subject: [bug#35518] gnu: guile-pfds bugfix
Date: Wed, 01 May 2019 02:52:13 +0200 [thread overview]
Message-ID: <141212fdb5356cbf7ad955a70bc26379@hyper.dev> (raw)
[-- Attachment #1: Type: text/plain, Size: 38 bytes --]
I am not sure how to handle this case.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-guile-pfds-bugfix.patch --]
[-- Type: text/x-diff; name=0001-gnu-guile-pfds-bugfix.patch, Size: 2477 bytes --]
From 9f3ed8f52957c61bd05da50b02e3a43a976facc3 Mon Sep 17 00:00:00 2001
From: Amirouche <amirouche+dev@hyper.dev>
Date: Wed, 1 May 2019 02:47:10 +0200
Subject: [PATCH] gnu: guile-pfds bugfix
* gnu/packages/guile-xyz.scm (guile-pfds)[source]: Add patch.
* gnu/packages/patches/guile-pfds-typofix.patch: Add it.
---
gnu/packages/guile-xyz.scm | 6 +++--
gnu/packages/patches/guile-pfds-typofix.patch | 25 +++++++++++++++++++
2 files changed, 29 insertions(+), 2 deletions(-)
create mode 100644 gnu/packages/patches/guile-pfds-typofix.patch
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index d7866719b4..efdcd0fc11 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -626,7 +626,7 @@ using Guile's foreign function interface.")
(define-public guile-pfds
(package
(name "guile-pfds")
- (version "0.3")
+ (version "0.3.1")
(home-page "https://github.com/ijp/pfds")
(source (origin
(method git-fetch)
@@ -636,7 +636,9 @@ using Guile's foreign function interface.")
(sha256
(base32
"19y33wg94pf0n98dkfqd1zbw93fgky4sawxsxl6s3vyqwl0yi5vh"))
- (file-name (string-append name "-" version "-checkout"))))
+ (file-name (string-append name "-" version "-checkout"))
+ (patches
+ (search-patches "guile-pfds-typofix.patch"))))
(build-system guile-build-system)
(arguments
'(#:source-directory "src"
diff --git a/gnu/packages/patches/guile-pfds-typofix.patch b/gnu/packages/patches/guile-pfds-typofix.patch
new file mode 100644
index 0000000000..05fdc46e2b
--- /dev/null
+++ b/gnu/packages/patches/guile-pfds-typofix.patch
@@ -0,0 +1,25 @@
+From 0825c9daa90e1f0517bfe98e465fb5d54ab394ac Mon Sep 17 00:00:00 2001
+From: Amirouche <amirouche+dev@hyper.dev>
+Date: Wed, 1 May 2019 01:11:51 +0200
+Subject: [PATCH] hamts: typofix s/vector/trie/
+
+---
+ hamts.sls | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hamts.sls b/hamts.sls
+index 8746141..a5310d2 100644
+--- a/hamts.sls
++++ b/hamts.sls
+@@ -307,7 +307,7 @@
+
+ (define (fold combine initial vector)
+ (define (handle-subtrie trie accum)
+- (vector-fold dispatch accum (subtrie-vector vector)))
++ (vector-fold dispatch accum (subtrie-vector trie)))
+
+ (define (handle-leaf leaf accum)
+ (combine (leaf-key leaf) (leaf-value leaf) accum))
+--
+2.19.1
+
--
2.19.1
next reply other threads:[~2019-05-01 0:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-01 0:52 amirouche [this message]
2019-05-01 3:42 ` [bug#35518] (no subject) amirouche
2019-05-06 11:09 ` Ricardo Wurmus
2019-05-06 12:42 ` [bug#35518] [PATCH] fix guile-pfds bug amirouche
2019-05-06 13:10 ` Ricardo Wurmus
2021-07-14 2:43 ` bug#35518: gnu: guile-pfds bugfix Maxim Cournoyer
2019-05-01 6:20 ` [bug#35518] " Ricardo Wurmus
2019-05-01 10:58 ` amirouche
2019-05-01 11:46 ` amirouche
2019-05-06 8:05 ` Ludovic Courtès
2019-05-06 8:05 ` Ludovic Courtès
2019-06-26 1:47 ` [bug#35518] upstream unresponsive Amirouche
2020-06-06 3:33 ` [bug#35518] guile-pfds hamts fix Jack Hill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=141212fdb5356cbf7ad955a70bc26379@hyper.dev \
--to=amirouche@hyper.dev \
--cc=35518@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).