summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch')
-rw-r--r--games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch83
1 files changed, 0 insertions, 83 deletions
diff --git a/games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch b/games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch
deleted file mode 100644
index 6c91cd6c6f04..000000000000
--- a/games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch
+++ /dev/null
@@ -1,83 +0,0 @@
---- src/client/textinterface.c.old 2009-06-08 12:41:13.000000000 +0200
-+++ src/client/textinterface.c 2009-06-08 12:41:35.000000000 +0200
-@@ -37,7 +37,7 @@
- /*
- * just like fgets() but strips newlines like gets().
- */
--static char* getline(char* buf, int len, FILE* stream)
-+static char* mygetline(char* buf, int len, FILE* stream)
- {
- char *nl;
-
-@@ -251,7 +251,7 @@
- else if (!auto_connect) {
- printf("*** Server on %s. Enter command> ", conpar->server_name);
-
-- getline(linebuf, MAX_LINE, stdin);
-+ mygetline(linebuf, MAX_LINE, stdin);
- if (feof(stdin)) {
- puts("");
- c = 'Q';
-@@ -338,7 +338,7 @@
- case 'K':
- printf("Enter name of victim: ");
- fflush(stdout);
-- if (!getline(linebuf, MAX_LINE, stdin)) {
-+ if (!mygetline(linebuf, MAX_LINE, stdin)) {
- printf("Nothing changed.\n");
- continue;
- }
-@@ -349,7 +349,7 @@
- case 'M': /* Send a message to server. */
- printf("Enter message: ");
- fflush(stdout);
-- if (!getline(linebuf, MAX_LINE, stdin) || !linebuf[0]) {
-+ if (!mygetline(linebuf, MAX_LINE, stdin) || !linebuf[0]) {
- printf("No message sent.\n");
- continue;
- }
-@@ -364,7 +364,7 @@
- case 'D': /* Shutdown */
- if (!auto_shutdown) {
- printf("Enter delay in seconds or return for cancel: ");
-- getline(linebuf, MAX_LINE, stdin);
-+ mygetline(linebuf, MAX_LINE, stdin);
- /*
- * No argument = cancel shutdown = arg_int=0
- */
-@@ -375,7 +375,7 @@
- delay = 1;
-
- printf("Enter reason: ");
-- getline(linebuf, MAX_LINE, stdin);
-+ mygetline(linebuf, MAX_LINE, stdin);
- } else {
- strlcpy(linebuf, shutdown_reason, sizeof(linebuf));
- delay = 60;
-@@ -388,7 +388,7 @@
- case 'O': /* Tune an option. */
- printf("Enter option: ");
- fflush(stdout);
-- if (!getline(linebuf, MAX_LINE, stdin)
-+ if (!mygetline(linebuf, MAX_LINE, stdin)
- || (len=strlen(linebuf)) == 0) {
- printf("Nothing changed.\n");
- continue;
-@@ -396,7 +396,7 @@
- printf("Enter new value for %s: ", linebuf);
- fflush(stdout);
- strcat(linebuf, ":"); len++;
-- if (!getline(&linebuf[len], MAX_LINE-len, stdin)
-+ if (!mygetline(&linebuf[len], MAX_LINE-len, stdin)
- || linebuf[len] == '\0') {
- printf("Nothing changed.\n");
- continue;
-@@ -450,7 +450,7 @@
- case 'T': /* Set team. */
- printf("Enter team: ");
- fflush(stdout);
-- if (!getline(linebuf, MAX_LINE, stdin)
-+ if (!mygetline(linebuf, MAX_LINE, stdin)
- || (len = strlen(linebuf)) == 0)
- printf("Nothing changed.\n");
- else {