aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2004-07-22 05:56:24 +0800
committergj <gj@FreeBSD.org>2004-07-22 05:56:24 +0800
commit0da5bd659d9cc16b80e4d3b3a6539d90d23c4950 (patch)
treed80368b05bf144c08064f6771f3aae2957415e2b /editors/xemacs
parentfa29c382ef0fb207b076491a763e87517fff5ef8 (diff)
downloadfreebsd-ports-gnome-0da5bd659d9cc16b80e4d3b3a6539d90d23c4950.tar.gz
freebsd-ports-gnome-0da5bd659d9cc16b80e4d3b3a6539d90d23c4950.tar.zst
freebsd-ports-gnome-0da5bd659d9cc16b80e4d3b3a6539d90d23c4950.zip
Add patch-emacs.c to fix the following problem as quoted from the PR:
The port patches src/mem-limits.h to declare the "lim_data" variable as rlim_t (a 64-bit type), but src/emacs.c still defines it as an integer. This makes the memory limit checking think that there are zero bytes available. PR: 69347 Submitted by: Andrew Heybey <ath@niksun.com>
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/files/patch-emacs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/xemacs/files/patch-emacs.c b/editors/xemacs/files/patch-emacs.c
new file mode 100644
index 000000000000..0d633424c209
--- /dev/null
+++ b/editors/xemacs/files/patch-emacs.c
@@ -0,0 +1,11 @@
+--- src/emacs.c.orig Wed Jan 15 07:18:00 2003
++++ src/emacs.c Tue Jul 20 12:02:41 2004
+@@ -344,7 +344,7 @@
+ #endif
+
+ /* Number of bytes of writable memory we can expect to be able to get */
+-unsigned int lim_data;
++rlim_t lim_data;
+
+ /* WARNING!
+