pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-cares py-cares: Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8bc5bf6ccf62
branches: trunk
changeset: 324524:8bc5bf6ccf62
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Oct 22 15:50:28 2018 +0000
description:
py-cares: Fix build on SunOS.
diffstat:
net/py-cares/distinfo | 3 ++-
net/py-cares/patches/patch-setup__cares.py | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r acb3ec5aa1c6 -r 8bc5bf6ccf62 net/py-cares/distinfo
--- a/net/py-cares/distinfo Mon Oct 22 15:45:46 2018 +0000
+++ b/net/py-cares/distinfo Mon Oct 22 15:50:28 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/07/22 06:44:50 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/10/22 15:50:28 jperkin Exp $
SHA1 (pycares-2.3.0.tar.gz) = 930e2bd12eec1229dac8e877e05437f0bbf99a25
RMD160 (pycares-2.3.0.tar.gz) = 9437a3e9b2e8c992f87f584ab63a1fd417a5e146
SHA512 (pycares-2.3.0.tar.gz) = dc707ab0320e03fb20e728e2e2e52e92ed3388afcf19e4553bc2a15c33a129abee39a9bc423edb7be7113d42989286ab8e8ad48699cc7433a6d8823460fd4678
Size (pycares-2.3.0.tar.gz) = 224941 bytes
+SHA1 (patch-setup__cares.py) = 07c04f2ab55b65c2182572e1f0fe18fffbeaf138
diff -r acb3ec5aa1c6 -r 8bc5bf6ccf62 net/py-cares/patches/patch-setup__cares.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-cares/patches/patch-setup__cares.py Mon Oct 22 15:50:28 2018 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-setup__cares.py,v 1.1 2018/10/22 15:50:28 jperkin Exp $
+
+Fix build on SunOS.
+
+--- setup_cares.py.orig 2017-04-25 06:44:35.000000000 +0000
++++ setup_cares.py
+@@ -85,9 +85,10 @@ class cares_build_ext(build_ext):
+ elif sys.platform.startswith('openbsd'):
+ self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_openbsd'))
+ elif sys.platform.startswith('sunos'):
++ self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_sunos'))
+ self.compiler.add_library('socket')
+ self.compiler.add_library('nsl')
+- self.compiler.add_library('lkstat')
++ self.compiler.add_library('kstat')
+ elif sys.platform == 'win32':
+ self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_win32'))
+ self.extensions[0].extra_link_args = ['/NODEFAULTLIB:libcmt']
Home |
Main Index |
Thread Index |
Old Index