diff options
Diffstat (limited to 'dev-db/mydumper/files/mydumper-0.13.1-atomic.patch')
-rw-r--r-- | dev-db/mydumper/files/mydumper-0.13.1-atomic.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-db/mydumper/files/mydumper-0.13.1-atomic.patch b/dev-db/mydumper/files/mydumper-0.13.1-atomic.patch new file mode 100644 index 000000000000..587d06804a53 --- /dev/null +++ b/dev-db/mydumper/files/mydumper-0.13.1-atomic.patch @@ -0,0 +1,26 @@ +diff --git a/cmake/modules/FindMySQL.cmake b/cmake/modules/FindMySQL.cmake +index 2908251..109f0da 100644 +--- a/cmake/modules/FindMySQL.cmake ++++ b/cmake/modules/FindMySQL.cmake +@@ -85,20 +85,7 @@ find_path(MYSQL_INCLUDE_DIR mysql.h + + set(TMP_MYSQL_LIBRARIES "") + set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .so.1 .dylib .a .tbd) +-foreach(MY_LIB ${MYSQL_ADD_LIBRARIES}) +- find_library("MYSQL_LIBRARIES_${MY_LIB}" NAMES ${MY_LIB} +- HINTS +- ${MYSQL_ADD_LIBRARY_PATH} +- /usr/lib/mysql +- /usr/lib +- /usr/local/lib +- /usr/local/lib/mysql +- /usr/local/mysql/lib +- ) +- list(APPEND TMP_MYSQL_LIBRARIES "${MYSQL_LIBRARIES_${MY_LIB}}") +-endforeach(MY_LIB ${MYSQL_ADD_LIBRARIES}) +- +-set(MYSQL_LIBRARIES ${TMP_MYSQL_LIBRARIES} CACHE FILEPATH INTERNAL) ++set(MYSQL_LIBRARIES ${MYSQL_ADD_LIBRARIES} CACHE FILEPATH INTERNAL) + + if(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) + set(MYSQL_FOUND TRUE CACHE INTERNAL "MySQL found") |