diff options
author | adamw <adamw@FreeBSD.org> | 2003-05-18 17:43:17 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-05-18 17:43:17 +0800 |
commit | a06e65bebb2b10d4b6f5dfcff23f08e8d38c918a (patch) | |
tree | 3304eccc2af064be16fd275ee8ed4783e2647272 /games | |
parent | dc317012f9bf19591c297a22de906b7d43c0ee00 (diff) | |
download | freebsd-ports-gnome-a06e65bebb2b10d4b6f5dfcff23f08e8d38c918a.tar.gz freebsd-ports-gnome-a06e65bebb2b10d4b6f5dfcff23f08e8d38c918a.tar.zst freebsd-ports-gnome-a06e65bebb2b10d4b6f5dfcff23f08e8d38c918a.zip |
Fix build:
Remove an ill-formed REINPLACE, and use a proper patch instead.
Take an explicit "${WRKSRC}" out of a displayed message, and replace
it with the value of ${WRKSRC} instead.
Drop maintainership.
Diffstat (limited to 'games')
-rw-r--r-- | games/mythserver/Makefile | 10 | ||||
-rw-r--r-- | games/mythserver/files/patch-users_new::main.c | 20 |
2 files changed, 22 insertions, 8 deletions
diff --git a/games/mythserver/Makefile b/games/mythserver/Makefile index fcab38b5c7eb..873a015d6957 100644 --- a/games/mythserver/Makefile +++ b/games/mythserver/Makefile @@ -11,28 +11,22 @@ CATEGORIES= games MASTER_SITES= http://support.bungie.com/ftp/pub/win/misc/ DISTNAME= metaserver2open -MAINTAINER= adamw@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Bungie.net MythII Metaserver Open Source -BROKEN= "Does not compile" - USE_ZIP= yes USE_GMAKE= yes -USE_REINPLACE= yes WRKSRC= ${WRKDIR}/metaserver2open/spaghetti pre-everything:: @${ECHO_CMD} "#############################################" @${ECHO_CMD} " IMPORTANT!" @${ECHO_CMD} " Please: Edit and modify environment.h" - @${ECHO_CMD} " located at $$\{WRKSRC\}/utils/" + @${ECHO_CMD} " located at ${WRKSRC}/utils/" @${ECHO_CMD} " after running make patch but" @${ECHO_CMD} " before compiling this port." @${ECHO_CMD} "#############################################" -post-patch: - @${REINPLACE_CMD} -e 's@\r@@g' ${WRKSRC}/users_new/main.c - do-install: @${INSTALL_PROGRAM} ${WRKSRC}/bin/game_search_server_new ${PREFIX}/bin @${INSTALL_PROGRAM} ${WRKSRC}/bin/roomd_new ${PREFIX}/bin diff --git a/games/mythserver/files/patch-users_new::main.c b/games/mythserver/files/patch-users_new::main.c new file mode 100644 index 000000000000..83ab178b2afa --- /dev/null +++ b/games/mythserver/files/patch-users_new::main.c @@ -0,0 +1,20 @@ +--- users_new/main.c.orig Sun May 18 02:36:43 2003 ++++ users_new/main.c Sun May 18 02:37:47 2003 +@@ -97,16 +97,7 @@ + NUMBER_OF_CLIENT_TYPES
+ };
+
+-#define CLIENT_DATA_HEADER \
+- int socket; \
+- long host; \
+- short port; \
+- short type; \
+- char buffer[MAXIMUM_PACKET_LENGTH]; \
+- short state; \
+- void *next; \
+- struct circular_queue incoming; \
+- struct circular_queue outgoing;
++#define CLIENT_DATA_HEADER int socket; long host; short port; short type; char buffer[MAXIMUM_PACKET_LENGTH]; short state; void *next; struct circular_queue incoming; struct circular_queue outgoing;
+
+ struct client_data {
+ CLIENT_DATA_HEADER
|