pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/dash Check for stat64 declaration. Fixes SunOS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42306d0fa072
branches:  trunk
changeset: 362457:42306d0fa072
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 15 14:52:44 2017 +0000

description:
Check for stat64 declaration.  Fixes SunOS 64-bit build.

diffstat:

 shells/dash/distinfo                |   3 ++-
 shells/dash/patches/patch-configure |  25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 31d3ed9d15e3 -r 42306d0fa072 shells/dash/distinfo
--- a/shells/dash/distinfo      Mon May 15 14:14:18 2017 +0000
+++ b/shells/dash/distinfo      Mon May 15 14:52:44 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/02/26 01:24:59 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2017/05/15 14:52:44 jperkin Exp $
 
 SHA1 (dash-0.5.9.1.tar.gz) = 7b9cb47fc2a007c26fedc99d22a7fc1dc2f5f914
 RMD160 (dash-0.5.9.1.tar.gz) = c03b72e99a5e285e47b9b72678d0a4fdb124306d
 SHA512 (dash-0.5.9.1.tar.gz) = d56a043b8fab4693d3f70cceb531c37174e7ded4acd5549e53048d7ce29125ff21d7e758f51a4a73e06250d051e246467039989275838c19a2579edea3f72b7d
 Size (dash-0.5.9.1.tar.gz) = 225217 bytes
+SHA1 (patch-configure) = 2876f5f8221ec26595cd8ad85ec4c4c0eacf9c45
diff -r 31d3ed9d15e3 -r 42306d0fa072 shells/dash/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/dash/patches/patch-configure       Mon May 15 14:52:44 2017 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-configure,v 1.1 2017/05/15 14:52:44 jperkin Exp $
+
+Check for stat64 declaration too.
+
+--- configure.orig     2016-09-23 14:51:16.000000000 +0000
++++ configure
+@@ -4685,6 +4685,10 @@ fi
+ 
+ fi
+ 
++ac_fn_c_check_decl "$LINENO" "stat64" "ac_cv_decl_stat64" "$ac_includes_default
++"
++if test "x$ac_cv_decl_stat64" = xyes; then :
++else
+ ac_fn_c_check_func "$LINENO" "stat64" "ac_cv_func_stat64"
+ if test "x$ac_cv_func_stat64" = xyes; then :
+ 
+@@ -4701,6 +4705,7 @@ $as_echo "#define stat64 stat" >>confdef
+ 
+ 
+ fi
++fi
+ 
+ 
+ ac_fn_c_check_func "$LINENO" "open64" "ac_cv_func_open64"



Home | Main Index | Thread Index | Old Index