Build wxWidgets with libtiff v4.7.0 and pcre v10.44

Fixes: https://github.com/wxWidgets/Phoenix/issues/2720
Fixes: https://github.com/wxWidgets/Phoenix/issues/2659
This commit is contained in:
Scott Talbert
2025-03-19 20:13:32 -04:00
parent 4247674c0b
commit bc1c9ce174
4 changed files with 143 additions and 1 deletions

View File

@@ -2261,6 +2261,14 @@ def cmd_sdist(options, args):
copyFile(opj(PDEST, '{}.egg-info/PKG-INFO'.format(baseName)),
opj(PDEST, 'PKG-INFO'))
# (TEMP) apply patch to wxWidgets for building newer libraries
msg('Applying patches...')
pwd = pushDir(PDEST)
runcmd('dos2unix ext/wxWidgets/build/msw/makefile.vc')
runcmd('patch -p1 -d ext/wxWidgets -i ../../buildtools/newer_libtiff_pcre.patch')
runcmd('unix2dos ext/wxWidgets/build/msw/makefile.vc')
del pwd
# build the tarball
msg('Archiving Phoenix source...')
rootname = "%s-%s" % (baseName, cfg.VERSION)