summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch')
-rw-r--r--dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch b/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch
new file mode 100644
index 000000000000..795de3a933ff
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch
@@ -0,0 +1,27 @@
+diff -ru wxPython-4.0.5-orig/wscript wxPython-4.0.5/wscript
+--- wxPython-4.0.5-orig/wscript 2019-05-18 22:03:12.000000000 -0400
++++ wxPython-4.0.5/wscript 2019-05-22 07:59:46.522966555 -0400
+@@ -230,15 +230,6 @@
+ uselib_store='WXGL', mandatory=True,
+ msg='Finding libs for WXGL')
+
+- if cfg.checkSetup(wxConfigDir, 'wxUSE_WEBVIEW'):
+- wv_libs = '--libs webview,core,net'
+- else:
+- wv_libs = '--libs core,net'
+- conf.check_cfg(path=conf.options.wx_config, package='',
+- args='--cxxflags ' + wv_libs + rpath,
+- uselib_store='WXWEBVIEW', mandatory=True,
+- msg='Finding libs for WXWEBVIEW')
+-
+ if isDarwin:
+ conf.check_cfg(path=conf.options.wx_config, package='',
+ args='--cxxflags --libs core,net' + rpath,
+@@ -591,7 +582,6 @@
+ makeETGRule(bld, 'etg/_stc.py', '_stc', 'WXSTC')
+ makeETGRule(bld, 'etg/_html.py', '_html', 'WXHTML')
+ makeETGRule(bld, 'etg/_glcanvas.py', '_glcanvas', 'WXGL')
+- makeETGRule(bld, 'etg/_html2.py', '_html2', 'WXWEBVIEW')
+ makeETGRule(bld, 'etg/_xml.py', '_xml', 'WXXML')
+ makeETGRule(bld, 'etg/_xrc.py', '_xrc', 'WXXRC')
+ makeETGRule(bld, 'etg/_richtext.py', '_richtext', 'WXHTML WXRICHTEXT')