diff options
Diffstat (limited to 'science/py-pymol/files/patch-setup.py')
-rw-r--r-- | science/py-pymol/files/patch-setup.py | 15 |
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", |