summaryrefslogtreecommitdiff
path: root/dev-python/mysql-python/files
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-08 02:23:05 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-08 02:31:32 +0100
commit13926f810426bd99d4d580bf6facc29d552e5e6f (patch)
tree4e0d2b993047ba426220d9ef80429566b2aa3df1 /dev-python/mysql-python/files
parent693d9c9b8bbe2e33b4a6ba757fe6b969e25ee1bd (diff)
downloadgentoo-13926f810426bd99d4d580bf6facc29d552e5e6f.tar.gz
gentoo-13926f810426bd99d4d580bf6facc29d552e5e6f.tar.bz2
gentoo-13926f810426bd99d4d580bf6facc29d552e5e6f.zip
dev-python/mysql-python: fix building against dev-db/mysql-8+
Closes: https://bugs.gentoo.org/632578 Package-Manager: Portage-2.3.91, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-python/mysql-python/files')
-rw-r--r--dev-python/mysql-python/files/mysql-python-1.2.5-drop-my_config.h-include.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/mysql-python/files/mysql-python-1.2.5-drop-my_config.h-include.patch b/dev-python/mysql-python/files/mysql-python-1.2.5-drop-my_config.h-include.patch
new file mode 100644
index 000000000000..15a22f737a4e
--- /dev/null
+++ b/dev-python/mysql-python/files/mysql-python-1.2.5-drop-my_config.h-include.patch
@@ -0,0 +1,15 @@
+We don't use anything from my_config.h.
+
+Bug: https://bugs.gentoo.org/632578
+
+--- a/_mysql.c
++++ b/_mysql.c
+@@ -40,8 +40,6 @@ PERFORMANCE OF THIS SOFTWARE.
+ #include "structmember.h"
+ #if defined(MS_WINDOWS)
+ #include <config-win.h>
+-#else
+-#include "my_config.h"
+ #endif
+ #include "mysql.h"
+ #include "mysqld_error.h"