ports/cad/gnucap/patches/patch-src_plot_cc

16 lines
511 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
ports-gcc fix for
error: two or more data types in declaration of 'adata'
Index: src/plot.cc
--- src/plot.cc.orig
+++ src/plot.cc
@@ -230,7 +230,7 @@ static void plotarg(
double yhi,
double zhi)
{
- auto char adata[MAXWIDTH+1]; /* actual data. copy emptydata, insert */
+ char adata[MAXWIDTH+1]; /* actual data. copy emptydata, insert */
char *xxs; /* string representation of xx */
memcpy(adata, emptydata, MAXWIDTH); /* copy prototype */
xxs = ftos( xx, 11, 5, IO::formaat );