diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
commit | 95461df035e3867364495f065e5e805bf629b2d7 (patch) | |
tree | 867dce371a84a696e91be255d89f282975aa0480 /net-analyzer/sshping/files | |
parent | 46eedbedafdb0040c37884982d4c775ce277fb7b (diff) |
gentoo resync : 25.10.2021
Diffstat (limited to 'net-analyzer/sshping/files')
-rw-r--r-- | net-analyzer/sshping/files/sshping-0.1.4-fix-man-dir.patch | 13 | ||||
-rw-r--r-- | net-analyzer/sshping/files/sshping-0.1.4-respect-cxxflags.patch | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/net-analyzer/sshping/files/sshping-0.1.4-fix-man-dir.patch b/net-analyzer/sshping/files/sshping-0.1.4-fix-man-dir.patch new file mode 100644 index 000000000000..2758e84b70e4 --- /dev/null +++ b/net-analyzer/sshping/files/sshping-0.1.4-fix-man-dir.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2e59dd5..d20c9a9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -34,7 +34,7 @@ if (UNIX) + endif (UNIX) + + add_custom_target(man ALL DEPENDS ${MAN_TGT}) +-install(FILES ${MAN_TGT} DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man8) ++install(FILES ${MAN_TGT} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man8) + + # Packaging for RPM or DEB + find_program(rpmbuild_path "rpmbuild" FALSE) diff --git a/net-analyzer/sshping/files/sshping-0.1.4-respect-cxxflags.patch b/net-analyzer/sshping/files/sshping-0.1.4-respect-cxxflags.patch new file mode 100644 index 000000000000..9f2f905aded6 --- /dev/null +++ b/net-analyzer/sshping/files/sshping-0.1.4-respect-cxxflags.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e8a7d0b..00ade1c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.8) + #find_package(libssh) + + # Build the sshping binary +-set(CMAKE_CXX_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}/ext/ -Wall") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I ${CMAKE_CURRENT_SOURCE_DIR}/ext/") + add_executable(${PROJECT_NAME} src/sshping.cxx) + target_link_libraries(${PROJECT_NAME} ssh) + install(TARGETS ${PROJECT_NAME} DESTINATION bin) |