pkgsrc-ng/editors/emacs23/patches/patch-src_config.in
2016-01-21 23:40:00 +01:00

23 lines
523 B
Plaintext

$NetBSD: patch-src_config.in,v 1.2 2014/07/09 03:18:44 taca Exp $
Add support for DragonFly.
--- src/config.in.orig 2011-11-26 03:20:20.000000000 +0000
+++ src/config.in
@@ -1181,6 +1181,7 @@ extern char *getenv ();
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#if !defined(__DragonFly__)
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
@@ -1194,6 +1195,7 @@ extern "C"
# endif
void *alloca (size_t);
#endif
+#endif /* __DragonFly__ */
#ifndef HAVE_SIZE_T
typedef unsigned size_t;
#endif