pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-subprocess32 py-subprocess32: dirfd is a func...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/286d32f914ae
branches:  trunk
changeset: 309280:286d32f914ae
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jun 14 14:53:38 2018 +0000

description:
py-subprocess32: dirfd is a function not a declaration.

Fixes build on SunOS.

diffstat:

 devel/py-subprocess32/distinfo                |   3 ++-
 devel/py-subprocess32/patches/patch-configure |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 90d00bbaca01 -r 286d32f914ae devel/py-subprocess32/distinfo
--- a/devel/py-subprocess32/distinfo    Thu Jun 14 14:29:16 2018 +0000
+++ b/devel/py-subprocess32/distinfo    Thu Jun 14 14:53:38 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2018/05/27 12:40:40 wiz Exp $
+$NetBSD: distinfo,v 1.5 2018/06/14 14:53:38 jperkin Exp $
 
 SHA1 (subprocess32-3.5.1.tar.gz) = d7c167071543b6092e7f3b46c07cc9548ff60e10
 RMD160 (subprocess32-3.5.1.tar.gz) = c1e60140fe810008150af3302c06192ccf045585
 SHA512 (subprocess32-3.5.1.tar.gz) = e6343ca63bd5cdb8a925fa9bc4023ab767db224c781264f0a91031cb977b5fab87a3f643d30a7df8c00b809d97b1b677d327f54f1f8eadc0a01a9d9ebc7b1a6c
 Size (subprocess32-3.5.1.tar.gz) = 95996 bytes
+SHA1 (patch-configure) = 858fecd7537a7d8f69c8694dcb343c965fadae88
diff -r 90d00bbaca01 -r 286d32f914ae devel/py-subprocess32/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-subprocess32/patches/patch-configure     Thu Jun 14 14:53:38 2018 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.1 2018/06/14 14:53:38 jperkin Exp $
+
+dirfd is a function not a declaration.
+
+--- configure.orig     2018-05-21 18:46:45.000000000 +0000
++++ configure
+@@ -3662,10 +3662,10 @@ _ACEOF
+ fi
+ done
+ 
+-ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
++ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_have_func_dirfd" "#include <sys/types.h>
+        #include <dirent.h>
+ "
+-if test "x$ac_cv_have_decl_dirfd" = xyes; then :
++if test "x$ac_cv_have_func_dirfd" = xyes; then :
+ 
+ $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
+ 



Home | Main Index | Thread Index | Old Index