diff options
author | Lev A. Serebryakov <lev@FreeBSD.org> | 2003-12-08 10:53:27 +0000 |
---|---|---|
committer | Lev A. Serebryakov <lev@FreeBSD.org> | 2003-12-08 10:53:27 +0000 |
commit | 8cdc89d043af3a2a6aa8d2a7beec6a9fda296e8f (patch) | |
tree | 90c739aefe92eb0d6bd97c5e27491a7d25c0745b /lang | |
parent | 72be0b9faa827e6fe6841936dc898842967a98c0 (diff) |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/hope/Makefile | 5 | ||||
-rw-r--r-- | lang/hope/files/patch-src-memory.c | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lang/hope/Makefile b/lang/hope/Makefile index 970599bc1071..c38ef85999b6 100644 --- a/lang/hope/Makefile +++ b/lang/hope/Makefile @@ -7,6 +7,7 @@ PORTNAME= hope PORTVERSION= 0.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.soi.city.ac.uk/~ross/Hope/ DISTNAME= ${PORTNAME} @@ -29,10 +30,6 @@ MAN1= hope.1 .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500113 -BROKEN= "Does not install" -.endif - pre-fetch: .if !defined(WITH_DOCS) @${ECHO} "" diff --git a/lang/hope/files/patch-src-memory.c b/lang/hope/files/patch-src-memory.c new file mode 100644 index 000000000000..3d0f50cfac41 --- /dev/null +++ b/lang/hope/files/patch-src-memory.c @@ -0,0 +1,11 @@ +--- src/memory.c.orig Sun Dec 7 18:01:46 2003 ++++ src/memory.c Sun Dec 7 18:01:50 2003 +@@ -22,6 +22,7 @@ + { + if ((base_memory = (char *)malloc((size_t)MEMSIZE)) == NULL) + error(FATALERR, "can't allocate memory"); ++ memset(base_memory, NULL, (size_t)MEMSIZE); + top_memory = base_memory + RoundDown(MEMSIZE); + + lim_temp = top_string = base_memory; + |