Received: by mail.netbsd.org (Postfix, from userid 605) id 9DA9384E7B; Mon, 22 Oct 2018 15:50:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9BB8C84E74 for ; Mon, 22 Oct 2018 15:50:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 6EVsAp3NyhI1 for ; Mon, 22 Oct 2018 15:50:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D327F84D53 for ; Mon, 22 Oct 2018 15:50:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 96206FBEE; Mon, 22 Oct 2018 15:50:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154022342821220" MIME-Version: 1.0 Date: Mon, 22 Oct 2018 15:50:28 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/net/py-cares To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20181022155028.96206FBEE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_154022342821220 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Mon Oct 22 15:50:28 UTC 2018 Modified Files: pkgsrc/net/py-cares: distinfo Added Files: pkgsrc/net/py-cares/patches: patch-setup__cares.py Log Message: py-cares: Fix build on SunOS. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-cares/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-cares/patches/patch-setup__cares.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_154022342821220 Content-Disposition: inline Content-Length: 2013 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/py-cares/distinfo diff -u pkgsrc/net/py-cares/distinfo:1.2 pkgsrc/net/py-cares/distinfo:1.3 --- pkgsrc/net/py-cares/distinfo:1.2 Sat Jul 22 06:44:50 2017 +++ pkgsrc/net/py-cares/distinfo Mon Oct 22 15:50:28 2018 @@ -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 Added files: Index: pkgsrc/net/py-cares/patches/patch-setup__cares.py diff -u /dev/null pkgsrc/net/py-cares/patches/patch-setup__cares.py:1.1 --- /dev/null Mon Oct 22 15:50:28 2018 +++ pkgsrc/net/py-cares/patches/patch-setup__cares.py Mon Oct 22 15:50:28 2018 @@ -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'] --_----------=_154022342821220--