diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2016-12-16 22:14:04 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-17 01:18:29 +0700 |
commit | e9502cc5ac64f63be340859e06187d96de4c540d (patch) | |
tree | 735296c4bedca1a60c0488bd417d668e6f60f189 /libraries/double-conversion/double-conversion.patch | |
parent | 8ee0194cfd4fab0e4cadba25aba0c4510f6c32dd (diff) |
libraries/double-conversion: Added (binary<->decimal conversions).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/double-conversion/double-conversion.patch')
-rw-r--r-- | libraries/double-conversion/double-conversion.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libraries/double-conversion/double-conversion.patch b/libraries/double-conversion/double-conversion.patch new file mode 100644 index 0000000000000..5c57bcb814b17 --- /dev/null +++ b/libraries/double-conversion/double-conversion.patch @@ -0,0 +1,29 @@ +diff -ur double-conversion-1.1.5.old/CMakeLists.txt double-conversion-1.1.5/CMakeLists.txt +--- double-conversion-1.1.5.old/CMakeLists.txt 2016-12-12 20:35:31.150277793 -0200 ++++ double-conversion-1.1.5/CMakeLists.txt 2016-12-12 20:55:00.341337905 -0200 +@@ -10,12 +10,6 @@ + set(INSTALL_BIN_DIR CACHE PATH "Installation directory for libraries") + set(INSTALL_LIB_DIR CACHE PATH "Installation directory for libraries") + set(INSTALL_INCLUDE_DIR CACHE PATH "Installation directory for include") +-# set suffix for CMake files used for packaging +-if(WIN32 AND NOT CYGWIN) +- set(INSTALL_CMAKE_DIR CMake) +-else() +- set(INSTALL_CMAKE_DIR lib/CMake/double-conversion) +-endif() + + # Make relative paths absolute (needed later) + foreach(p LIB BIN INCLUDE CMAKE) +diff -ur double-conversion-1.1.5.old/src/CMakeLists.txt double-conversion-1.1.5/src/CMakeLists.txt +--- double-conversion-1.1.5.old/src/CMakeLists.txt 2016-12-12 20:35:31.151277793 -0200 ++++ double-conversion-1.1.5/src/CMakeLists.txt 2016-12-12 21:13:30.683045433 -0200 +@@ -36,7 +36,7 @@ + install(TARGETS double-conversion + EXPORT double-conversionLibraryDepends + RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin +- LIBRARY DESTINATION "${INSTALL_LIB_DIR}/lib" COMPONENT shlib +- ARCHIVE DESTINATION "${INSTALL_LIB_DIR}/lib" COMPONENT lib ++ LIBRARY DESTINATION "${INSTALL_LIB_DIR}/lib${LIB_SUFFIX}" COMPONENT shlib ++ ARCHIVE DESTINATION "${INSTALL_LIB_DIR}/lib${LIB_SUFFIX}" COMPONENT lib + PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}/include/double-conversion" + COMPONENT dev) |