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>
This commit is contained in:
Thomas Deutschmann
2020-03-08 02:23:05 +01:00
parent 693d9c9b8b
commit 13926f8104
2 changed files with 61 additions and 0 deletions

View File

@@ -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"