- Fix compilation with gcc 4.2

- Grab maintainership
This commit is contained in:
Johan van Selst 2007-10-11 13:46:13 +00:00
parent a7e85ae489
commit 7c241d931c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201291
3 changed files with 11 additions and 6 deletions

View file

@ -12,7 +12,7 @@ CATEGORIES= lang
MASTER_SITES= http://www.dina.kvl.dk/~sestoft/mosml/
DISTNAME= mos201src
MAINTAINER= ports@FreeBSD.org
MAINTAINER= johans@stack.nl
COMMENT= Moscow ML, a lightweight implementation of Standard ML
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
@ -32,10 +32,6 @@ PKGMESSAGE= ${WRKDIR}/pkgmessage
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -I${LOCALBASE}/include,"

View file

@ -1,5 +1,14 @@
--- dynlibs/msocket/msocket.c.orig Fri Jan 21 15:37:13 2000
+++ dynlibs/msocket/msocket.c Sun Jun 9 12:40:19 2002
@@ -68,7 +68,7 @@
#ifdef macintosh
#define Sock_val(x) (Field(x,0))
#else
-#define Sock_val(x) ((int) Field(x,0))
+#define Sock_val(x) (Field(x,0))
#endif
/* Decomposition of addr values: */
@@ -469,6 +469,7 @@
EXTERNML value msocket_bind(value socket, value address) {
int ret, size;

View file

@ -485,7 +485,7 @@ libexec/mosml/mosmldep
@dirrm %%EXAMPLESDIR%%/weak
@dirrm %%EXAMPLESDIR%%/webserver
@dirrm %%EXAMPLESDIR%%
@dirrm share/doc/moscow_ml
@dirrm %%DOCSDIR%%
@dirrm include/mosml
@dirrm libexec/mosml
@dirrm lib/mosml