summaryrefslogtreecommitdiff
path: root/science/py-pymol/files/patch-setup.py
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-11-27 12:58:44 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2022-11-27 13:03:05 -0800
commita2b852ee70ee234f4b2360f72ea2d89f48943b37 (patch)
treee56e949763f6a05d2c119cdab64ca06d5c064ea6 /science/py-pymol/files/patch-setup.py
parentx11-wm/gamescope: temporarily disable wayland category (diff)
science/py-pymol: Update 2.4.0 -> 2.5.0-97
Diffstat (limited to 'science/py-pymol/files/patch-setup.py')
-rw-r--r--science/py-pymol/files/patch-setup.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/science/py-pymol/files/patch-setup.py b/science/py-pymol/files/patch-setup.py
index 062ebccceca4..fe1059c10949 100644
--- a/science/py-pymol/files/patch-setup.py
+++ b/science/py-pymol/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2019-02-12 06:00:47 UTC
+--- setup.py.orig 2021-05-10 18:38:37 UTC
+++ setup.py
-@@ -52,6 +52,8 @@ try:
+@@ -53,6 +53,8 @@ try:
"shared library; no: disable fast MMTF load support")
parser.add_argument('--help-distutils', action="store_true",
help="show help for distutils options and exit")
@@ -8,4 +8,13 @@
+ help="single-version-externally-managed")
parser.add_argument('--testing', action="store_true",
help="Build C-level tests")
- options, sys.argv[1:] = parser.parse_known_args(namespace=options)
+ parser.add_argument('--openvr', dest='openvr', action='store_true')
+@@ -282,7 +284,7 @@ if DEBUG and not WIN:
+ libs = ["png", "freetype"]
+ lib_dirs = []
+ ext_comp_args = [
+- "-Werror=return-type",
++ #"-Werror=return-type",
+ "-Wunused-variable",
+ "-Wno-switch",
+ "-Wno-narrowing",