diff options
author | tg <tg@FreeBSD.org> | 2001-10-12 18:40:13 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-10-12 18:40:13 +0800 |
commit | f02aaa44dcb83a7fba30fa35f9eea9ed054c8755 (patch) | |
tree | bdc5957527f928ff2af73ceb558b7c8949cfdf36 /graphics | |
parent | 6bf4f561bd5a7a5ca2686dc3f39b105756edf7e9 (diff) | |
download | freebsd-ports-gnome-f02aaa44dcb83a7fba30fa35f9eea9ed054c8755.tar.gz freebsd-ports-gnome-f02aaa44dcb83a7fba30fa35f9eea9ed054c8755.tar.zst freebsd-ports-gnome-f02aaa44dcb83a7fba30fa35f9eea9ed054c8755.zip |
Fix core dump in dxexec. Bump PORTREVISION.
PR: 31141.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opendx/Makefile | 1 | ||||
-rw-r--r-- | graphics/opendx/files/patch-src:exec:libdx:memory.c | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index f5a5fc366e8f..d71649b3dd79 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -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/ diff --git a/graphics/opendx/files/patch-src:exec:libdx:memory.c b/graphics/opendx/files/patch-src:exec:libdx:memory.c new file mode 100644 index 000000000000..d231862856e5 --- /dev/null +++ b/graphics/opendx/files/patch-src:exec:libdx:memory.c @@ -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 */ |