mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 04:00:41 -04:00
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)
14 lines
253 B
Text
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
|