ports/editors/emacs/files/patch-src_config.in
Ashish SHUKLA 623a0a78f1 - Update emacs.desktop to launch Emacs in Terminal when WITHOUT_X11 is
defined.[1]
- Emacs picks up giflib if available instead of libungif. Account for
  this.[2]
- Include 'alloca' fix.[2]

PR:		ports/156167[1]
Submitted by:	Zhihao Yuan <lichray@gmail.com>[1]
	  	Herbert J. Skuhra <h.skuhra@gmail.com>[2] (via private email)
2011-05-16 12:27:12 +00:00

14 lines
253 B
Text

$FreeBSD$
--- src/config.in.orig
+++ src/config.in
@@ -1183,6 +1183,8 @@
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
+#elif defined __FreeBSD__
+#include <stdlib.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX