mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: rct: Add missing headers, enable RTTI.
* gnu/packages/patches/rct-add-missing-headers.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/cpp.scm (rct): Use the patch, enable RTTI. [source]: Use the patch to add missing headers from installation. [arguments]: Enable RTTI in configure-flags. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6055e88c0d
commit
a893dc2f48
3 changed files with 48 additions and 2 deletions
43
gnu/packages/patches/rct-add-missing-headers.patch
Normal file
43
gnu/packages/patches/rct-add-missing-headers.patch
Normal file
|
@ -0,0 +1,43 @@
|
|||
From: fis <ybbs.daans@hotmail.com>
|
||||
Date: Sat, 20 Jan 2018 07:42:38 +0800
|
||||
Subject: [PATCH] rct.cmake: Add missing headers.
|
||||
|
||||
---
|
||||
rct.cmake | 20 ++++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
|
||||
diff --git a/rct.cmake b/rct.cmake
|
||||
index 323e7b9..3e0ac6b 100644
|
||||
--- a/rct.cmake
|
||||
+++ b/rct.cmake
|
||||
@@ -339,7 +339,27 @@ if (NOT RCT_NO_INSTALL)
|
||||
rct/Timer.h
|
||||
rct/Value.h
|
||||
rct/WriteLocker.h
|
||||
+ rct/CpuUsage.h
|
||||
+ rct/DataFile.h
|
||||
+ rct/Date.h
|
||||
+ rct/EmbeddedLinkedList.h
|
||||
+ rct/FinishMessage.h
|
||||
+ rct/Flags.h
|
||||
+ rct/Hash.h
|
||||
+ rct/LinkedList.h
|
||||
+ rct/Map.h
|
||||
+ rct/MemoryMappedFile.h
|
||||
+ rct/OnDestruction.h
|
||||
+ rct/QuitMessage.h
|
||||
+ rct/ResponseMessage.h
|
||||
+ rct/ScriptEngine.h
|
||||
+ rct/StackBuffer.h
|
||||
+ rct/WindowsUnicodeConversion.h
|
||||
DESTINATION include/rct)
|
||||
|
||||
+ install(FILES
|
||||
+ json/json.hpp
|
||||
+ DESTINATION include/rct/json)
|
||||
+
|
||||
install(EXPORT "rct" DESTINATION lib/cmake)
|
||||
endif ()
|
||||
--
|
||||
2.13.6
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue