summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mysql-python/files/mysql-python-1.2.5-drop-my_config.h-include.patch')
-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"