pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-pyobjc-core py-pyobjc-core: patch setup.py
details: https://anonhg.NetBSD.org/pkgsrc/rev/bfaad93bc576
branches: trunk
changeset: 417994:bfaad93bc576
user: adam <adam%pkgsrc.org@localhost>
date: Mon Nov 18 17:04:55 2019 +0000
description:
py-pyobjc-core: patch setup.py
diffstat:
devel/py-pyobjc-core/distinfo | 4 ++--
devel/py-pyobjc-core/patches/patch-setup.py | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 765d76e6ba78 -r bfaad93bc576 devel/py-pyobjc-core/distinfo
--- a/devel/py-pyobjc-core/distinfo Mon Nov 18 17:03:08 2019 +0000
+++ b/devel/py-pyobjc-core/distinfo Mon Nov 18 17:04:55 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2019/11/18 17:03:08 adam Exp $
+$NetBSD: distinfo,v 1.9 2019/11/18 17:04:55 adam Exp $
SHA1 (pyobjc-core-6.1.tar.gz) = 15610efb13a8c4d7872115d609bf00edd690985c
RMD160 (pyobjc-core-6.1.tar.gz) = dc2368d6c2bad5c7c64dfdffcb660df309aaba68
SHA512 (pyobjc-core-6.1.tar.gz) = 5bd3dee43fdedb15f383f616e52750ca07b7dc8a52a51fbd695581eb106acb05591c667b5c0a11bac1409e148dd83db3d5a1ec14721b809c2b2cee234d506104
Size (pyobjc-core-6.1.tar.gz) = 791075 bytes
-SHA1 (patch-setup.py) = fe0918b698e879370e2088dd75acee876b2ae8cb
+SHA1 (patch-setup.py) = d2e475029154413077380f8d9ddcfe357d5e9a3f
diff -r 765d76e6ba78 -r bfaad93bc576 devel/py-pyobjc-core/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyobjc-core/patches/patch-setup.py Mon Nov 18 17:04:55 2019 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-setup.py,v 1.1 2019/11/18 17:05:06 adam Exp $
+
+Do not add debug symbols.
+Do not override compiler optimiztion flags.
+
+--- setup.py.orig 2019-11-18 16:02:47.000000000 +0000
++++ setup.py
+@@ -66,7 +66,6 @@ def get_sdk_level(sdk):
+
+ # CFLAGS for the objc._objc extension:
+ CFLAGS = [
+- "-g",
+ "-fexceptions",
+ # Loads of warning flags
+ "-Wall",
+@@ -137,7 +136,7 @@ if get_config_var("Py_DEBUG"):
+ elif isinstance(cfg_vars[k], str) and "-O3" in cfg_vars[k]:
+ cfg_vars[k] = cfg_vars[k].replace("-O3", "-O1 -g")
+
+-else:
++elif False:
+ # Enable -O4, which enables link-time optimization with
+ # clang. This appears to have a positive effect on performance.
+ cfg_vars = get_config_vars()
Home |
Main Index |
Thread Index |
Old Index