mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix building on 5-CURRENT
PR: ports/60018 Submitted by: FreeBSD-gnats-submit@freebsd.org
This commit is contained in:
parent
72be0b9faa
commit
8cdc89d043
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95344
@ -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} ""
|
||||
|
11
lang/hope/files/patch-src-memory.c
Normal file
11
lang/hope/files/patch-src-memory.c
Normal file
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user