mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libdynd: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/2234 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
committed by
David Seifert
parent
213c494e78
commit
1dd032e00e
@@ -1,27 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
|
||||
+++ CMakeLists.txt 2014-02-10 14:51:16.401051546 -0800
|
||||
@@ -56,8 +56,22 @@
|
||||
set(CMAKE_VERBOSE_MAKEFILE 1)
|
||||
|
||||
# Embedded libraries
|
||||
-add_subdirectory(thirdparty/blosc)
|
||||
-include_directories(thirdparty/blosc/blosc)
|
||||
+option(DYND_INTERNAL_CBLOSC
|
||||
+ "Build and use the bundled c-blosc library"
|
||||
+ OFF)
|
||||
+if(DYND_INTERNAL_CBLOSC)
|
||||
+ add_subdirectory(thirdparty/blosc)
|
||||
+ include_directories(thirdparty/blosc/blosc)
|
||||
+else()
|
||||
+ find_path(CBLOSC_INCLUDE_DIR blosc.h)
|
||||
+ find_library(CBLOSC_LIBRARY NAMES blosc)
|
||||
+ if (CBLOSC_INCLUDE_DIR AND CBLOSC_LIBRARY)
|
||||
+ message(STATUS "Found c-blosc library: ${CBLOSC_LIBRARY}")
|
||||
+ else ()
|
||||
+ message(ERROR "No c-blosc found. Consider using internal sources.")
|
||||
+ endif()
|
||||
+endif(DYND_INTERNAL_CBLOSC)
|
||||
+
|
||||
add_subdirectory(thirdparty/datetime)
|
||||
include_directories(thirdparty/datetime/include)
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
|
||||
+++ CMakeLists.txt 2014-02-10 14:55:48.245644726 -0800
|
||||
@@ -86,9 +86,8 @@
|
||||
endif()
|
||||
|
||||
# Get the git revision
|
||||
-include(GetGitRevisionDescriptionDyND)
|
||||
-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_GIT_SHA1)
|
||||
-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_VERSION_STRING --dirty --match "v[0-9]*")
|
||||
+set(DYND_GIT_SHA1 "9f2e102e3b0c44da82feaa431bb89a5d71b40498")
|
||||
+set(DYND_VERSION_STRING "v0.6.0")
|
||||
message(STATUS "DyND version: ${DYND_VERSION_STRING}")
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/dynd/git_version.cpp.in"
|
||||
@@ -1,15 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
|
||||
+++ CMakeLists.txt 2014-02-10 14:27:42.511704585 -0800
|
||||
@@ -481,9 +481,9 @@
|
||||
if (DYND_INSTALL_LIB)
|
||||
# Install the libdynd binary
|
||||
install(TARGETS libdynd
|
||||
- RUNTIME DESTINATION lib
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib/static)
|
||||
+ RUNTIME DESTINATION lib${LIB_SUFFIX}
|
||||
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}/static)
|
||||
# Install the libdynd headers
|
||||
install(DIRECTORY "include/dynd" DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
|
||||
# Install the libdynd-config script
|
||||
@@ -1,15 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2014-05-01 20:43:13.000000000 +0400
|
||||
+++ CMakeLists.txt 2014-05-12 13:56:55.000000000 +0400
|
||||
@@ -112,9 +112,9 @@
|
||||
endif()
|
||||
|
||||
# Get the git revision
|
||||
-include(GetGitRevisionDescriptionDyND)
|
||||
-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_GIT_SHA1)
|
||||
-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_VERSION_STRING --dirty --always --match "v*")
|
||||
+SET(DYND_GIT_SHA1 "@DYND_GIT_SHA1@")
|
||||
+SET(DYND_VERSION_STRING "@DYND_VERSION@")
|
||||
+
|
||||
message(STATUS "DyND version: ${DYND_VERSION_STRING}")
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/dynd/git_version.cpp.in"
|
||||
Reference in New Issue
Block a user