pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-cares



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.

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']



Home | Main Index | Thread Index | Old Index