From 60b37dbedcfe6e22fe9a61ee8432ae7bd2780483 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 28 Jul 2014 21:54:33 +0000 Subject: Rename german/ and graphics/ patch-xy patches to reflect the files they modify. --- graphics/gplot/files/patch-utils.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 graphics/gplot/files/patch-utils.c (limited to 'graphics/gplot/files/patch-utils.c') diff --git a/graphics/gplot/files/patch-utils.c b/graphics/gplot/files/patch-utils.c new file mode 100644 index 000000000000..9c8831b96744 --- /dev/null +++ b/graphics/gplot/files/patch-utils.c @@ -0,0 +1,22 @@ +--- utils.c.orig Wed Oct 30 00:48:16 1991 ++++ utils.c Sat Jun 16 02:10:19 2007 +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + #include "defs.h" + /* some include files vary in location */ + #ifdef VAXC +@@ -300,9 +301,8 @@ + struct info_struct *out_info; + struct one_opt *opt; /* put command line options here */ + #define may_override(name) if (opt[(int) name].set) switch (opt[(int) name].tag) { \ +- case integer: out_info->name = opt[(int) name].val.i; break; \ +- case real: out_info->name = opt[(int) name].val.r; break; \ +- case lst: case str: strcpy(out_info->name, opt[(int) name].val.str); break;} ++ case integer: out_info->name = opt[(int) name].val.i; break; \ ++ case real: out_info->name = opt[(int) name].val.r; break; } + { + /* and now overide the device if the command line wants us to */ + may_override(pxl_in); -- cgit v1.2.3