patches: presense of alloca.h is checked by 'configure' script
This commit is contained in:
parent
db77e3a714
commit
31dc25e060
4 changed files with 22 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2008/11/06 19:50:08 cheusov Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2008/12/21 22:07:19 cheusov Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dash-0.5.4
|
||||
|
@ -12,6 +12,9 @@ COMMENT= Debian Almquist shell, POSIX-compliant shell faster than bash
|
|||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake
|
||||
USE_TOOLS+= gmake autoconf
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && autoheader && autoconf
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.2 2008/09/05 21:41:17 cheusov Exp $
|
||||
$NetBSD: distinfo,v 1.3 2008/12/21 22:07:19 cheusov Exp $
|
||||
|
||||
SHA1 (dash-0.5.4.tar.gz) = f6dc33364e42e73e39fb1193845c02e031b817bb
|
||||
RMD160 (dash-0.5.4.tar.gz) = 322fc2fffc5fddf4223d39c57eaeb9b4222303fa
|
||||
Size (dash-0.5.4.tar.gz) = 212145 bytes
|
||||
SHA1 (patch-aa) = 2d401de4892ff53d7d5d84822d57da89a5e08f8f
|
||||
SHA1 (patch-ab) = e31990e408ff909a37afe23931f6401503035361
|
||||
SHA1 (patch-ab) = cc2bbc55833610216ef106ea6d27f42c40c14acd
|
||||
SHA1 (patch-ac) = 6953cf2eb00ee8bc7ada5a93cc6287a84cdfc079
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-ab,v 1.1 2008/09/05 21:41:17 cheusov Exp $
|
||||
$NetBSD: patch-ab,v 1.2 2008/12/21 22:07:19 cheusov Exp $
|
||||
|
||||
--- src/parser.c.orig 2007-07-13 11:26:43.000000000 +0300
|
||||
+++ src/parser.c
|
||||
|
@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.1 2008/09/05 21:41:17 cheusov Exp $
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
+#if defined(__linux__)
|
||||
+#if HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
+#endif
|
||||
+
|
||||
|
|
12
dash/patches/patch-ac
Normal file
12
dash/patches/patch-ac
Normal file
|
@ -0,0 +1,12 @@
|
|||
$NetBSD: patch-ac,v 1.1 2008/12/21 22:07:19 cheusov Exp $
|
||||
|
||||
--- configure.ac.orig 2007-07-13 11:26:42.000000000 +0300
|
||||
+++ configure.ac
|
||||
@@ -21,6 +21,7 @@ AC_SUBST(CC_FOR_BUILD)
|
||||
dnl Checks for libraries.
|
||||
|
||||
dnl Checks for header files.
|
||||
+AC_CHECK_HEADERS(alloca.h)
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_CHECK_FUNCS(bsearch getpwnam getrlimit isalpha killpg mempcpy sigsetmask \
|
Loading…
Reference in a new issue