summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/dash/distinfo3
-rw-r--r--shells/dash/patches/patch-configure25
2 files changed, 27 insertions, 1 deletions
diff --git a/shells/dash/distinfo b/shells/dash/distinfo
index 7cd72725d98..854e5c5af4d 100644
--- a/shells/dash/distinfo
+++ b/shells/dash/distinfo
@@ -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 --git a/shells/dash/patches/patch-configure b/shells/dash/patches/patch-configure
new file mode 100644
index 00000000000..841da5239e4
--- /dev/null
+++ b/shells/dash/patches/patch-configure
@@ -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"