mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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>
This commit is contained in:
parent
88af4195a1
commit
6a027d62cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114371
11
editors/xemacs-devel/files/patch-emacs.c
Normal file
11
editors/xemacs-devel/files/patch-emacs.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/emacs.c.orig Sun Mar 9 03:37:54 2003
|
||||
+++ src/emacs.c Tue Jul 20 21:59:42 2004
|
||||
@@ -398,7 +398,7 @@
|
||||
|
||||
/* Number of bytes of writable memory we can expect to be able to get:
|
||||
Leave this as an unsigned int because it could potentially be 4G */
|
||||
-unsigned int lim_data;
|
||||
+rlim_t lim_data;
|
||||
|
||||
/* WARNING!
|
||||
|
11
editors/xemacs/files/patch-emacs.c
Normal file
11
editors/xemacs/files/patch-emacs.c
Normal file
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user