Check for stat64 declaration. Fixes SunOS 64-bit build.
This commit is contained in:
parent
0ab86f2a8e
commit
d9334ef5c9
2 changed files with 27 additions and 1 deletions
|
@ -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
|
||||
|
|
25
shells/dash/patches/patch-configure
Normal file
25
shells/dash/patches/patch-configure
Normal file
|
@ -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"
|
Loading…
Reference in a new issue