about summary refs log tree commit diff
path: root/pkgs/tools/security/rnp/unbundle-sexpp.patch
diff options
context:
space:
mode:
authorJeffrey Lau <jeffrey.lau@ribose.com>2023-07-03 19:08:56 +0800
committerJeffrey Lau <jeffrey.lau@ribose.com>2023-07-04 18:12:49 +0800
commit06e9341752d178a2cd42ba3ba714504825dcdb6c (patch)
tree4c31abfe613ea1fe5ef6a6061ed0cbc5da796b5e /pkgs/tools/security/rnp/unbundle-sexpp.patch
parent0d5682acc109add20f70440269587a1b169cc2fe (diff)
sexp: 0.8.6 -> sexpp 0.8.7
Package has been renamed from 'sexp' to 'sexpp' since v0.8.7.
Diffstat (limited to 'pkgs/tools/security/rnp/unbundle-sexpp.patch')
-rw-r--r--pkgs/tools/security/rnp/unbundle-sexpp.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/security/rnp/unbundle-sexpp.patch b/pkgs/tools/security/rnp/unbundle-sexpp.patch
new file mode 100644
index 0000000000000..dcbf92948a282
--- /dev/null
+++ b/pkgs/tools/security/rnp/unbundle-sexpp.patch
@@ -0,0 +1,38 @@
+diff --git i/CMakeLists.txt w/CMakeLists.txt
+index bb6d40cb..30171e7c 100644
+--- i/CMakeLists.txt
++++ w/CMakeLists.txt
+@@ -176,11 +176,6 @@ if (ENABLE_FUZZERS)
+ endif()
+ add_subdirectory(src/common)
+
+-set(WITH_SEXP_CLI OFF)
+-set(WITH_SEXP_TESTS OFF)
+-set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME development)
+-add_subdirectory(src/libsexp EXCLUDE_FROM_ALL)
+-
+ add_subdirectory(src/lib)
+ add_subdirectory(src/rnp)
+ add_subdirectory(src/rnpkeys)
+diff --git i/src/lib/CMakeLists.txt w/src/lib/CMakeLists.txt
+index 086ac57d..b219ef06 100755
+--- i/src/lib/CMakeLists.txt
++++ w/src/lib/CMakeLists.txt
+@@ -433,7 +433,7 @@ install(TARGETS librnp
+       COMPONENT development
+   )
+
+-  install(TARGETS librnp-static sexp
++  install(TARGETS librnp-static
+     EXPORT rnp-targets
+     ARCHIVE
+       DESTINATION  "${CMAKE_INSTALL_LIBDIR}"
+@@ -441,7 +441,7 @@ install(TARGETS librnp
+   )
+ else(BUILD_SHARED_LIBS)
+ # static libraries only
+-install(TARGETS librnp sexp
++install(TARGETS librnp
+     EXPORT rnp-targets
+     ARCHIVE
+       DESTINATION  "${CMAKE_INSTALL_LIBDIR}"