summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch')
-rw-r--r--www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch b/www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch
deleted file mode 100644
index cb645528c05..00000000000
--- a/www-misc/zoneminder/files/zoneminder-1.28.1-mysql_include_path.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/CMakeLists.txt 2015-10-27 17:28:48.059203421 +0000
-+++ b/CMakeLists.txt 2015-10-27 17:30:11.951226715 +0000
-@@ -255,7 +255,16 @@
- if(MYSQLCLIENT_LIBRARIES)
- set(HAVE_LIBMYSQLCLIENT 1)
- list(APPEND ZM_BIN_LIBS "${MYSQLCLIENT_LIBRARIES}")
-- find_path(MYSQLCLIENT_INCLUDE_DIR mysql/mysql.h)
-+ find_file(MYSQL_CONFIG mysql_config)
-+ if(MYSQL_CONFIG)
-+ execute_process(COMMAND ${MYSQL_CONFIG}
-+ --variable=pkgincludedir OUTPUT_VARIABLE
-+ MYSQLCLIENT_INCLUDE_DIR)
-+ STRING(REGEX REPLACE "\n" "" MYSQLCLIENT_INCLUDE_DIR
-+ ${MYSQLCLIENT_INCLUDE_DIR})
-+ else()
-+ find_path(MYSQLCLIENT_INCLUDE_DIR mysql/mysql.h)
-+ endif()
- if(MYSQLCLIENT_INCLUDE_DIR)
- include_directories("${MYSQLCLIENT_INCLUDE_DIR}")
- set(CMAKE_REQUIRED_INCLUDES "${MYSQLCLIENT_INCLUDE_DIR}")