SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
cad/gnucap/patches/patch-src_plot_cc
Normal file
15
cad/gnucap/patches/patch-src_plot_cc
Normal file
|
@ -0,0 +1,15 @@
|
|||
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 );
|
Loading…
Add table
Add a link
Reference in a new issue