aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs23/files
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-05-16 20:27:12 +0800
committerashish <ashish@FreeBSD.org>2011-05-16 20:27:12 +0800
commitddb54c8a9b7c6b25671b6ae35e84dac48177bca5 (patch)
treeebb884d37f8f8398fe71afd728b87e744f75b042 /editors/emacs23/files
parente2ece5d91d5896e0edd2d64a614285a4c34410d7 (diff)
downloadfreebsd-ports-gnome-ddb54c8a9b7c6b25671b6ae35e84dac48177bca5.tar.gz
freebsd-ports-gnome-ddb54c8a9b7c6b25671b6ae35e84dac48177bca5.tar.zst
freebsd-ports-gnome-ddb54c8a9b7c6b25671b6ae35e84dac48177bca5.zip
- 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)
Diffstat (limited to 'editors/emacs23/files')
-rw-r--r--editors/emacs23/files/patch-src_config.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/emacs23/files/patch-src_config.in b/editors/emacs23/files/patch-src_config.in
new file mode 100644
index 000000000000..834b77b8c5c2
--- /dev/null
+++ b/editors/emacs23/files/patch-src_config.in
@@ -0,0 +1,14 @@
+
+$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