freebsd-ports/graphics/gplot/files/patch-ab
Christian Weisgerber 29dfd7bb4d - Make portlint happy.
- Honor CC, CFLAGS.
- Remove unused code that trips GCC3.

PR:		44467
Submitted by:	Volker Stolz <vs@foldr.org>
2002-10-26 01:38:44 +00:00

14 lines
787 B
Text

--- utils.c.orig Fri Oct 25 19:08:50 2002
+++ utils.c Fri Oct 25 19:10:44 2002
@@ -300,9 +300,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);