Files
macports-ports/python/py-wxpython-4.0/files/build_py.patch
T
Ryan Carsten Schmidt d1cfab71ed py-wxpython-4.0: Fix build with latest clang
Closes: https://trac.macports.org/ticket/73090

Also de-fuzz patches and escape periods in regular expresions.
2025-10-04 08:23:14 -05:00

34 lines
1.3 KiB
Diff

--- build.py.orig 2024-09-11 18:27:32.000000000 -0500
+++ build.py 2025-10-04 08:16:57.000000000 -0500
@@ -1529,11 +1529,6 @@
if options.osx_cocoa:
build_options.append("--osx_cocoa")
- if options.mac_arch:
- build_options.append("--mac_universal_binary=%s" % options.mac_arch)
- else:
- build_options.append("--mac_universal_binary=default")
-
if options.no_config:
build_options.append('--no_config')
elif not options.force_config:
@@ -1616,9 +1611,6 @@
" rebuilt. Please install gettext and associated tools.")
def copyWxDlls(options):
- if options.no_magic or options.use_syswx:
- return
-
if isWindows:
# Copy the wxWidgets DLLs to the wxPython package folder
msw = getMSWSettings(options)
@@ -1661,8 +1653,6 @@
cfg = Config()
wxlibdir = os.path.join(getBuildDir(options), "lib")
dlls = glob.glob(wxlibdir + '/*.dylib')
- for dll in dlls:
- copyIfNewer(dll, posixjoin(phoenixDir(), cfg.PKGDIR, os.path.basename(dll)), verbose=True)
# Now use install_name_tool to change the extension modules to look
# in the same folder for the wx libs, instead of the build dir. Also