1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix core dump in dxexec. Bump PORTREVISION.

PR:		31141.
This commit is contained in:
Thomas Gellekum 2001-10-12 10:40:13 +00:00
parent 3d1ed214aa
commit 4d3bc79209
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48707
2 changed files with 23 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= opendx
PORTVERSION= 4.1.3
PORTREVISION= 1
CATEGORIES= graphics math
MASTER_SITES= http://www.research.ibm.com/dx/srcDownload/srcArchive/ \
http://opendx.npaci.edu/source/

View File

@ -0,0 +1,22 @@
--- src/exec/libdx/memory.c.orig Mon May 21 07:06:59 2001
+++ src/exec/libdx/memory.c Thu Oct 11 10:15:47 2001
@@ -1057,6 +1057,19 @@
#define LARGE(x) ((int)x>=(int)large)
#endif
+#ifdef freebsd
+#define initvalues
+#define SMALL_BASE 0 /* use data segment */
+#define SMALL_GET _dxfgetmem /* expand by using DosSetMem */
+#define LARGE_GET _dxfgetmem /* expand by using DosSetMem */
+#define LARGE_INIT 2 MEG /* doesn't matter; consistent w/ sgi */
+#define LARGE_INCR 2 MEG /* doesn't matter; consistent w/ sgi */
+#define SIZE_ROUND 2 MEG /* doesn't matter; consistent w/ sgi */
+#define MALLOC_NONE 1 /* provide malloc from global arena */
+#define SMALL(x) ((long)x<(long)large)
+#define LARGE(x) ((long)x>=(long)large)
+#endif
+
#ifdef cygwin
#define initvalues
#define SMALL_BASE 0 /* use data segment */