diff options
author | danfe <danfe@FreeBSD.org> | 2008-08-13 18:39:33 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2008-08-13 18:39:33 +0800 |
commit | 2f7a43369dcdb84574252e2f85edd93d5afda8c4 (patch) | |
tree | f30c4670ac4504a58a014c3caded1e4678a77868 /games/nexuiz | |
parent | 03d7ed575feecb83b80228c450aae74f413f35dd (diff) | |
download | freebsd-ports-gnome-2f7a43369dcdb84574252e2f85edd93d5afda8c4.tar.gz freebsd-ports-gnome-2f7a43369dcdb84574252e2f85edd93d5afda8c4.tar.zst freebsd-ports-gnome-2f7a43369dcdb84574252e2f85edd93d5afda8c4.zip |
- Make Nexuiz' lhnetaddress structure really compatible with FreeBSD's
sockaddr_in (as claimed)
- Fix value for LHNETADDRESSTYPE_INET6_FAMILY along the way
This should fix network-related issues (broken server browsing, etc.)
reported by number of users.
Submitted by: Alexander Drozdov
Diffstat (limited to 'games/nexuiz')
-rw-r--r-- | games/nexuiz/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile index 5279181254a8..5bbce0df7683 100644 --- a/games/nexuiz/Makefile +++ b/games/nexuiz/Makefile @@ -7,6 +7,7 @@ PORTNAME= nexuiz PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -77,6 +78,11 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' ${WRKSRC}/${MAKEFILE} +# Make Nexuiz' lhnetaddress structure really compatible with FreeBSD's +# sockaddr_in, and fix value for LHNETADDRESSTYPE_INET6_FAMILY + @${REINPLACE_CMD} -e 's,10,28, ; \ + s,short family,char sin_len; unsigned char family,' \ + ${WRKSRC}/lhnet.h do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ |