mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 19:09:16 -04:00
Fix the build of print/transfig when built with -fno-common, which is the default with llvm 11. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
15 lines
603 B
C
15 lines
603 B
C
--- fig2dev/dev/genps.c.orig 2020-08-25 12:22:17 UTC
|
|
+++ fig2dev/dev/genps.c
|
|
@@ -96,8 +96,10 @@ static float fllx, flly, furx, fury;
|
|
/* arrowhead arrays */
|
|
Point bpoints[50], fpoints[50];
|
|
int nbpoints, nfpoints;
|
|
-Point bfillpoints[50], ffillpoints[50], clippoints[50];
|
|
-int nbfillpoints, nffillpoints, nclippoints;
|
|
+Point bfillpoints[50], ffillpoints[50];
|
|
+int nbfillpoints, nffillpoints;
|
|
+extern int nclippoints;
|
|
+extern Point clippoints[50];
|
|
int fpntx1, fpnty1; /* first point of object */
|
|
int fpntx2, fpnty2; /* second point of object */
|
|
int lpntx1, lpnty1; /* last point of object */
|