diff options
author | Brian Evans <grknight@gentoo.org> | 2018-02-28 18:12:43 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-02-28 18:12:43 -0500 |
commit | fb94ebc448db596b58715e5b081e30a73dceec3d (patch) | |
tree | 9d9c6b3bd670df6a45d848ce97291887172cd5e9 /dev-db/myodbc/files | |
parent | sys-devel/gcc: stable 6.4.0-r1 for arm, bug #641474 (diff) | |
download | gentoo-fb94ebc448db596b58715e5b081e30a73dceec3d.tar.gz gentoo-fb94ebc448db596b58715e5b081e30a73dceec3d.tar.bz2 gentoo-fb94ebc448db596b58715e5b081e30a73dceec3d.zip |
dev-db/myodbc: Version bump for 5.3.10; fix building 5.2.7-r3
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-db/myodbc/files')
-rw-r--r-- | dev-db/myodbc/files/5.3.10-cxxlinkage.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-db/myodbc/files/5.3.10-cxxlinkage.patch b/dev-db/myodbc/files/5.3.10-cxxlinkage.patch new file mode 100644 index 000000000000..796a13754f86 --- /dev/null +++ b/dev-db/myodbc/files/5.3.10-cxxlinkage.patch @@ -0,0 +1,29 @@ +diff -aurN a/cmake/FindMySQL.cmake b/cmake/FindMySQL.cmake +--- a/cmake/FindMySQL.cmake 2016-11-29 07:40:13.000000000 -0500 ++++ b/cmake/FindMySQL.cmake 2017-02-17 13:59:18.115389096 -0500 +@@ -747,7 +747,7 @@ + endif() + + if(NOT MYSQL_CXXFLAGS) +- if(MYSQL_CXX_LINKAGE OR MYSQL_VERSION_ID GREATER 50603) ++ if(MYSQL_CXX_LINKAGE) + _mysql_conf(MYSQL_CXXFLAGS "--cxxflags") + set(MYSQL_CXX_LINKAGE 1) + else() +diff -aurN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2018-02-10 21:41:13.161553751 -0500 ++++ b/CMakeLists.txt 2018-02-10 21:45:20.038398824 -0500 +@@ -379,10 +379,9 @@ + SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin") + SET(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib") + +-SET(LIB_SUBDIR "lib") +-IF(RPM_BUILD AND CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|ppc64|ppc64p7|s390x|sparc64)") +- SET(LIB_SUBDIR "lib64") +-ENDIF() ++IF(NOT LIB_SUBDIR) ++ MESSAGE(ERROR "LIB_SUBDIR is not set") ++ENDIF(NOT LIB_SUBDIR) + + MESSAGE(STATUS "Installation library subdir: ${LIB_SUBDIR}") + |