aboutsummaryrefslogtreecommitdiff
path: root/security/rhonabwy/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'security/rhonabwy/files/patch-CMakeLists.txt')
-rw-r--r--security/rhonabwy/files/patch-CMakeLists.txt20
1 files changed, 0 insertions, 20 deletions
diff --git a/security/rhonabwy/files/patch-CMakeLists.txt b/security/rhonabwy/files/patch-CMakeLists.txt
deleted file mode 100644
index 8c0c339955dc..000000000000
--- a/security/rhonabwy/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- CMakeLists.txt.orig 2023-09-16 21:43:59 UTC
-+++ CMakeLists.txt
-@@ -179,7 +179,7 @@ target_include_directories(rhonabwy
- PUBLIC "$<BUILD_INTERFACE:${INC_DIR}>"
- PUBLIC "$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>"
- PUBLIC "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
--target_link_libraries(rhonabwy PUBLIC ${RHONABWY_LIBS})
-+target_link_libraries(rhonabwy PUBLIC ${RHONABWY_LIBS} -L${CMAKE_INSTALL_PREFIX}/lib -lgmp -lhogweed)
- set_target_properties(rhonabwy PROPERTIES
- PUBLIC_HEADER "${INC_DIR}/rhonabwy.h;${PROJECT_BINARY_DIR}/rhonabwy-cfg.h"
- VERSION "${LIBRARY_VERSION}"
-@@ -232,7 +232,7 @@ option(BUILD_RNBYC "Build rnbyc application." ON)
-
- if (BUILD_RNBYC)
- add_executable(rnbyc ${RNBYC_DIR}/rnbyc.c ${INC_DIR}/rhonabwy.h ${PROJECT_BINARY_DIR}/rhonabwy-cfg.h)
-- set_target_properties(rnbyc PROPERTIES SKIP_BUILD_RPATH TRUE COMPILE_OPTIONS "-Wextra;-Wconversion")
-+ set_target_properties(rnbyc PROPERTIES SKIP_BUILD_RPATH TRUE COMPILE_OPTIONS "-Wextra;-Wconversion;-Wno-sign-conversion;-Wno-unknown-warning-option")
- add_dependencies(rnbyc rhonabwy)
- target_link_libraries(rnbyc rhonabwy ${RHONABWY_LIBS} Yder::Yder Orcania::Orcania)
- install(TARGETS rnbyc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})