mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Fix memory limits.
This commit is contained in:
parent
9a43fd3225
commit
21990585fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184805
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= xemacs-devel-mule
|
||||
PORTVERSION= ${XEMACS_VER:S/-/./}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES+= editors
|
||||
MASTER_SITES= ${MASTER_SITE_XEMACS}
|
||||
MASTER_SITE_SUBDIR= xemacs-${XEMACS_REL}
|
||||
|
14
editors/xemacs-devel-mule/files/patch-emacs.c
Normal file
14
editors/xemacs-devel-mule/files/patch-emacs.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/emacs.c.orig Sat Aug 19 08:26:45 2006
|
||||
+++ src/emacs.c Sat Aug 19 08:27:35 2006
|
||||
@@ -592,7 +592,11 @@
|
||||
|
||||
/* 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 */
|
||||
+#ifdef _RLIM_T_DECLARED
|
||||
+rlim_t lim_data;
|
||||
+#else
|
||||
unsigned long lim_data;
|
||||
+#endif
|
||||
|
||||
/* WARNING!
|
||||
|
14
editors/xemacs-devel-mule/files/patch-malloc.c
Normal file
14
editors/xemacs-devel-mule/files/patch-malloc.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/malloc.c.orig Tue Oct 25 14:16:26 2005
|
||||
+++ src/malloc.c Sat Aug 19 08:25:42 2006
|
||||
@@ -285,7 +285,11 @@
|
||||
static char busy[30];
|
||||
|
||||
/* Number of bytes of writable memory we can expect to be able to get */
|
||||
+#ifdef _RLIM_T_DECLARED
|
||||
+extern rlim_t lim_data;
|
||||
+#else
|
||||
extern unsigned long lim_data;
|
||||
+#endif
|
||||
|
||||
/* Level number of warnings already issued.
|
||||
0 -- no warnings issued.
|
14
editors/xemacs-devel-mule/files/patch-mem-limits.h
Normal file
14
editors/xemacs-devel-mule/files/patch-mem-limits.h
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/mem-limits.h.orig Sat Sep 11 08:28:41 2004
|
||||
+++ src/mem-limits.h Sat Aug 19 08:23:52 2006
|
||||
@@ -80,7 +80,11 @@
|
||||
static POINTER data_space_start;
|
||||
|
||||
/* Number of bytes of writable memory we can expect to be able to get */
|
||||
+#ifdef _RLIM_T_DECLARED
|
||||
+extern rlim_t lim_data;
|
||||
+#else
|
||||
extern unsigned long lim_data;
|
||||
+#endif
|
||||
|
||||
/* The implementation of get_lim_data() is very machine dependent. */
|
||||
|
Loading…
Reference in New Issue
Block a user