summaryrefslogtreecommitdiff
path: root/japanese/plain2/files
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/plain2/files')
-rw-r--r--japanese/plain2/files/patch-src::macro.c31
-rw-r--r--japanese/plain2/files/patch-src__macro.h17
2 files changed, 0 insertions, 48 deletions
diff --git a/japanese/plain2/files/patch-src::macro.c b/japanese/plain2/files/patch-src::macro.c
deleted file mode 100644
index aa8e9b3e65c2..000000000000
--- a/japanese/plain2/files/patch-src::macro.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- src/macro.c.orig Sat Oct 18 23:46:14 2003
-+++ src/macro.c Sat Oct 18 23:47:36 2003
-@@ -8,7 +8,7 @@
-
- #include <stdio.h>
- #include <ctype.h>
--#include <varargs.h>
-+#include <stdarg.h>
- #include "plain2.h"
- #include "macro.h"
-
-@@ -189,9 +189,7 @@
- buf++;
- }
- }
--putMacro(macroNum, va_alist)
--int macroNum;
--va_dcl
-+putMacro(int macroNum, char *fmt, ...)
- {
- va_list ap;
- union macroArg {
-@@ -226,7 +224,7 @@
- }
- mip = mip->cmac_next;
- }
-- va_start(ap);
-+ va_start(ap, fmt);
- for (i = 1; i <= maxarg; i++) {
- switch(argtype[i]) {
- case ATYPE_VOID:
diff --git a/japanese/plain2/files/patch-src__macro.h b/japanese/plain2/files/patch-src__macro.h
deleted file mode 100644
index e0b960a3c406..000000000000
--- a/japanese/plain2/files/patch-src__macro.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/macro.h.orig 2009-03-01 20:11:52.000000000 +0800
-+++ src/macro.h 2009-03-01 20:12:31.000000000 +0800
-@@ -2,6 +2,7 @@
- * Copyright (C) 1992,1993 NEC Corporation.
- * $Id: macro.h,v 2.6 1994/04/19 10:16:49 uchida Exp $ (NEC)
- */
-+#define MAX_MACRO_LEN 320
- #define MACRO_MAXARG 10
-
- #define M_DOC_BEGIN 0
-@@ -74,5 +75,5 @@
-
- struct macDefs {
- int mdef_number;
-- char *mdef_def;
-+ char mdef_def[MAX_MACRO_LEN];
- };