summaryrefslogtreecommitdiff
path: root/games/mythserver/files
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-05-18 09:43:17 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-05-18 09:43:17 +0000
commitc4823e883be563337dde9dde23949cde6c3fce0f (patch)
tree142344b983734fe27aa1b29f165a6aa5c6ce6699 /games/mythserver/files
parentBROKEN on 5.1: does not compile (diff)
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.
Notes
Notes: svn path=/head/; revision=81206
Diffstat (limited to 'games/mythserver/files')
-rw-r--r--games/mythserver/files/patch-users_new::main.c20
1 files changed, 20 insertions, 0 deletions
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