[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31430] [PATCH 3/6] gnu: Add fifo-map.
From: |
Ludovic Courtès |
Subject: |
[bug#31430] [PATCH 3/6] gnu: Add fifo-map. |
Date: |
Mon, 28 May 2018 13:48:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Fis Trivial <address@hidden> skribis:
> * gnu/packages/cpp.scm (fifo-map): New variable.
> * gnu/packages/patches/fifo-map-fix-flags-for-gcc.patch: New file.
> * gnu/packages/patches/fifo-map-remove-catch.hpp.patch: New file.
> * gnu/local.mk: Add new patch files.
Applied with the changes below.
Ludo’.
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 5644311a1..2caf6af4d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -155,7 +155,7 @@ batches.")
(define-public fifo-map
(let* ((commit "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9")
(revision "0")
- (version (string-append "1.1.1" revision commit)))
+ (version (git-version "1.1.1" revision commit)))
(package
(name "fifo-map")
(version version)
@@ -186,11 +186,10 @@ batches.")
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(inc (string-append out "/include/fifo_map")))
- (mkdir-p inc)
(with-directory-excursion
(string-append "../" ,name "-" ,version "-checkout")
- (copy-file "src/fifo_map.hpp"
- (string-append inc "/fifo_map.hpp")))))))))
+ (install-file "src/fifo_map.hpp" inc)
+ #t)))))))
(synopsis "FIFO-ordered associative container for C++")
(description "Fifo_map is a C++ header only library for associative
container which uses the order in which keys were inserted to the container
- [bug#31430] [PATCH 2/3] gnu: Add xtl., (continued)
- [bug#31430] [PATCH 3/3] gnu: Add xtensor., Fis Trivial, 2018/05/12
- [bug#31430] [PATCH 0/3] gnu: Add xtensor and its dependencies., Ludovic Courtès, 2018/05/23
- [bug#31430] [PATCH 0/6] Add xtensor and its dependencies (new patches)., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 1/6] gnu: Add catch-framework2., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 2/6] gnu: Add amalgamate., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 3/6] gnu: Add fifo-map., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 3/6] gnu: Add fifo-map.,
Ludovic Courtès <=
- [bug#31430] [PATCH 4/6] gnu: Add json-modern-cxx., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 6/6] gnu: Add xtensor., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 5/6] gnu: Add xtl., Fis Trivial, 2018/05/28