diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2007-02-10 20:24:09 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2007-02-10 20:24:09 +0000 |
commit | 21990585fba9c274efe03993b5e83f2face4cd86 (patch) | |
tree | fb539185c07e045baeccb3247d1ef5e0aac27592 /editors | |
parent | 9a43fd32254aefd88f7bcc6e56c0f15b9601934a (diff) | |
download | ports-21990585fba9c274efe03993b5e83f2face4cd86.tar.gz ports-21990585fba9c274efe03993b5e83f2face4cd86.zip |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-devel-mule/Makefile | 1 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-emacs.c | 14 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-malloc.c | 14 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-mem-limits.h | 14 |
4 files changed, 43 insertions, 0 deletions
diff --git a/editors/xemacs-devel-mule/Makefile b/editors/xemacs-devel-mule/Makefile index 14f1f81b0e33..a82bfc7a1e22 100644 --- a/editors/xemacs-devel-mule/Makefile +++ b/editors/xemacs-devel-mule/Makefile @@ -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} diff --git a/editors/xemacs-devel-mule/files/patch-emacs.c b/editors/xemacs-devel-mule/files/patch-emacs.c new file mode 100644 index 000000000000..5dddd1eee092 --- /dev/null +++ b/editors/xemacs-devel-mule/files/patch-emacs.c @@ -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! + diff --git a/editors/xemacs-devel-mule/files/patch-malloc.c b/editors/xemacs-devel-mule/files/patch-malloc.c new file mode 100644 index 000000000000..5c54ac8afd93 --- /dev/null +++ b/editors/xemacs-devel-mule/files/patch-malloc.c @@ -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. diff --git a/editors/xemacs-devel-mule/files/patch-mem-limits.h b/editors/xemacs-devel-mule/files/patch-mem-limits.h new file mode 100644 index 000000000000..362f9c57c3b6 --- /dev/null +++ b/editors/xemacs-devel-mule/files/patch-mem-limits.h @@ -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. */ + |