diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-10-27 13:44:31 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-10-27 13:44:31 +0000 |
commit | 8270403ec328f46d21f02c58ce34b27a5099b2d2 (patch) | |
tree | 25406783632e343551a4d4db4779c2637dec48c4 | |
parent | b556b0c98789a66ab963d2f9e1c370aef14032a2 (diff) |
Notes
-rw-r--r-- | irc/unreal/Makefile | 5 | ||||
-rw-r--r-- | irc/unreal/files/patch-src_s__bsd.c | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/irc/unreal/Makefile b/irc/unreal/Makefile index c5362174b3d2..f490dd24b2b0 100644 --- a/irc/unreal/Makefile +++ b/irc/unreal/Makefile @@ -3,7 +3,7 @@ PORTNAME= Unreal PORTVERSION= 3.2.10.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= http://www.unrealircd.com/downloads/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -111,8 +111,9 @@ post-patch: @${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch .endif @${REINPLACE_CMD} -e "/Your system does not support IPv6/ s|as_fn_error|echo|" ${WRKSRC}/configure + do-install: - ${INSTALL} -m 0700 ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd + ${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd ${MKDIR} ${STAGEDIR}${MODULESDIR} ${MKDIR} ${STAGEDIR}${CONFIGDIR} || true ${MKDIR} ${STAGEDIR}${CONFIGDIR}/aliases || true diff --git a/irc/unreal/files/patch-src_s__bsd.c b/irc/unreal/files/patch-src_s__bsd.c new file mode 100644 index 000000000000..5d74880330c1 --- /dev/null +++ b/irc/unreal/files/patch-src_s__bsd.c @@ -0,0 +1,11 @@ +--- src/s_bsd.c.orig 2015-08-16 06:44:25 UTC ++++ src/s_bsd.c +@@ -455,7 +455,7 @@ int inetport(aClient *cptr, char *name, + */ + if (cptr->fd == -1) + { +- cptr->fd = socket(AFINET, SOCK_STREAM, 0); ++ cptr->fd = socket(AFINET, SOCK_STREAM, IPPROTO_TCP); + } + if (cptr->fd < 0) + { |