summaryrefslogtreecommitdiff
path: root/community/mysql-workbench/python27.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mysql-workbench/python27.patch')
-rw-r--r--community/mysql-workbench/python27.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/mysql-workbench/python27.patch b/community/mysql-workbench/python27.patch
index 5fb215cd0..4f70afe57 100644
--- a/community/mysql-workbench/python27.patch
+++ b/community/mysql-workbench/python27.patch
@@ -1,6 +1,7 @@
---- configure.in.orig 2010-12-08 16:58:57.456378836 -0800
-+++ configure.in 2010-12-08 16:59:42.179715448 -0800
-@@ -280,13 +280,13 @@
+diff -Nur mysql-workbench-gpl-5.2.36-src.old/configure.in mysql-workbench-gpl-5.2.36-src/configure.in
+--- mysql-workbench-gpl-5.2.36-src.old/configure.in 2011-12-05 15:04:56.894410445 +0000
++++ mysql-workbench-gpl-5.2.36-src/configure.in 2011-12-05 15:05:45.818268997 +0000
+@@ -245,13 +245,13 @@
AC_CHECK_PROG(PYTHON27, python2.7, [yes])
# Python headers
AC_MSG_CHECKING(for Python libraries)
@@ -10,7 +11,7 @@
cfg=sysconfig.get_config_vars()
lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY'])
if os.path.exists(lib):
- print lib")]
+ print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")]
-PYTHON_CFLAGS=[$(python -c "from distutils import sysconfig
+PYTHON_CFLAGS=[$(python2 -c "from distutils import sysconfig
print sysconfig.get_python_inc()")]