summaryrefslogtreecommitdiff
path: root/textproc/py-html5-parser/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-08-11 18:16:40 +0000
committeradam <adam@pkgsrc.org>2019-08-11 18:16:40 +0000
commitfb7b4bc566065de970ec4ee4e94e0e71e6554293 (patch)
tree10d4ff789f7d3035ef4997c08583ebfb3b5b44dd /textproc/py-html5-parser/patches
parentb09512eaf3dae8e9b4ebeb61c20565d6c7bacb52 (diff)
downloadpkgsrc-fb7b4bc566065de970ec4ee4e94e0e71e6554293.tar.gz
py-html5-parser: updated to 0.4.8
0.4.8: Unknown changes
Diffstat (limited to 'textproc/py-html5-parser/patches')
-rw-r--r--textproc/py-html5-parser/patches/patch-setup.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/py-html5-parser/patches/patch-setup.py b/textproc/py-html5-parser/patches/patch-setup.py
new file mode 100644
index 00000000000..59caef3725c
--- /dev/null
+++ b/textproc/py-html5-parser/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2019/08/11 18:16:40 adam Exp $
+
+Do not use -O3.
+
+--- setup.py.orig 2019-08-11 18:10:55.000000000 +0000
++++ setup.py
+@@ -19,7 +19,7 @@ if True:
+ del sys.path[0]
+
+ src_files = tuple(chain(*map(lambda x: find_c_files(x)[0], SRC_DIRS)))
+-cargs = ('/O2' if iswindows else '-O3').split()
++cargs = []
+ if not iswindows:
+ cargs.extend('-std=c99 -fvisibility=hidden'.split())
+