summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-11-15 21:02:35 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-15 21:02:35 +0100
commit0cd6ea0f6f0d16ab338ac3c9250fb764541976e8 (patch)
tree2950e5f2f0f62354e6b3c07ea24274aef1045d90 /games-mud/tf/files/tf-50_beta8-stdarg.patch
parentgames-mud/tf: fix build, fix version number (diff)
downloadgentoo-0cd6ea0f6f0d16ab338ac3c9250fb764541976e8.tar.gz
gentoo-0cd6ea0f6f0d16ab338ac3c9250fb764541976e8.tar.bz2
gentoo-0cd6ea0f6f0d16ab338ac3c9250fb764541976e8.zip
games-mud/tf: drop old (or, rather, too new)
Closes: https://github.com/gentoo/gentoo/pull/17545 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-mud/tf/files/tf-50_beta8-stdarg.patch')
-rw-r--r--games-mud/tf/files/tf-50_beta8-stdarg.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/games-mud/tf/files/tf-50_beta8-stdarg.patch b/games-mud/tf/files/tf-50_beta8-stdarg.patch
deleted file mode 100644
index a34b70abe1fd..000000000000
--- a/games-mud/tf/files/tf-50_beta8-stdarg.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -U5 -r a/src/tfio.c b/src/tfio.c
---- a/src/tfio.c 2007-01-13 18:12:39.000000000 -0500
-+++ b/src/tfio.c 2007-02-02 16:50:12.000000000 -0500
-@@ -495,10 +495,11 @@
- const char *q, *sval;
- char *specptr, quote;
- const conString *Sval;
- int len, min, max, leftjust, stars;
- attr_t attrs = buf->attrs;
-+ va_list aq;
-
- if (!(flags & SP_APPEND) && buf->data) Stringtrunc(buf, 0);
- while (*fmt) {
- if (*fmt != '%' || *++fmt == '%') {
- for (q = fmt + 1; *q && *q != '%'; q++);
-@@ -520,11 +521,13 @@
- switch (*fmt) {
- case 'd': case 'i':
- case 'x': case 'X': case 'u': case 'o':
- case 'f': case 'e': case 'E': case 'g': case 'G':
- case 'p':
-- vsprintf(tempbuf, spec, ap);
-+ va_copy(aq, ap);
-+ vsprintf(tempbuf, spec, aq);
-+ va_end(aq);
- Stringcat(buf, tempbuf);
- /* eat the arguments used by vsprintf() */
- while (stars--) (void)va_arg(ap, int);
- switch (*fmt) {
- case 'd': case 'i':