Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
bbff6c0d
Commit
bbff6c0d
authored
Feb 07, 2014
by
Marco Serantoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MacOSX] Adding patches for wxPython &&
http://trac.wxwidgets.org/ticket/15957
parent
d6f348f4
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
315 additions
and
1 deletion
+315
-1
download_wxpython.cmake
CMakeModules/download_wxpython.cmake
+1
-1
wxpython-3.0.0_macosx.patch
patches/wxpython-3.0.0_macosx.patch
+289
-0
wxpython-3.0.0_macosx_multiarch.patch
patches/wxpython-3.0.0_macosx_multiarch.patch
+25
-0
No files found.
CMakeModules/download_wxpython.cmake
View file @
bbff6c0d
...
@@ -69,7 +69,7 @@ ExternalProject_Add( libwxpython
...
@@ -69,7 +69,7 @@ ExternalProject_Add( libwxpython
PATCH_COMMAND bzr revert
PATCH_COMMAND bzr revert
COMMAND bzr patch -p0
"
${
PROJECT_SOURCE_DIR
}
/patches/wxpython-3.0.0_macosx.patch"
COMMAND bzr patch -p0
"
${
PROJECT_SOURCE_DIR
}
/patches/wxpython-3.0.0_macosx.patch"
#COMMAND bzr patch -p0 "${PROJECT_SOURCE_DIR}/patches/wxwidgets-3.0.0_macosx_bug_15908.patch"
COMMAND bzr patch -p0
"
${
PROJECT_SOURCE_DIR
}
/patches/wxpython-3.0.0_macosx_multiarch.patch"
# http://trac.wxwidgets.org/ticket/15957
UPDATE_COMMAND
${
CMAKE_COMMAND
}
-E remove_directory
"
${
LIBWXPYTHON_ROOT
}
"
UPDATE_COMMAND
${
CMAKE_COMMAND
}
-E remove_directory
"
${
LIBWXPYTHON_ROOT
}
"
COMMAND
${
LIBWXPYTHON_EXEC
}
wxPython/build-wxpython.py --clean
COMMAND
${
LIBWXPYTHON_EXEC
}
wxPython/build-wxpython.py --clean
...
...
patches/wxpython-3.0.0_macosx.patch
0 → 100644
View file @
bbff6c0d
This diff is collapsed.
Click to expand it.
patches/wxpython-3.0.0_macosx_multiarch.patch
0 → 100644
View file @
bbff6c0d
=== modified file 'wxPython/config.py'
--- wxPython/config.py 2014-02-07 20:23:11 +0000
+++ wxPython/config.py 2014-02-07 21:00:18 +0000
@@ -22,6 +22,7 @@
import sys, os, glob, fnmatch, tempfile
import subprocess
+import re
EGGing = 'bdist_egg' in sys.argv or 'egg_info' in sys.argv
if not EGGing:
@@ -1059,10 +1060,8 @@
libs = ['stdc++']
NO_SCRIPTS = 1
if ARCH != "":
- cflags.append("-arch")
- cflags.append(ARCH)
- lflags.append("-arch")
- lflags.append(ARCH)
+ cflags.append('-arch ' + re.sub(',',' -arch ',ARCH))
+ lflags.append('-arch ' + re.sub(',',' -arch ',ARCH))
if not os.environ.get('CC') or not os.environ.get('CXX'):
os.environ["CXX"] = getWxConfigValue('--cxx')
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment