$NetBSD: patch-ac,v 1.3 2020/05/14 19:27:41 joerg Exp $ --- font3d/build.cc.orig 2000-07-16 02:37:31.000000000 +0000 +++ font3d/build.cc @@ -29,7 +29,7 @@ //============================================================================================== #include -#include +#include #include "vector.h" #include "truetype.h" @@ -37,6 +37,7 @@ #include "font3d.h" #include "build.h" +using std::endl, std::cout; //============================================================================================== // PolygonizeContour() @@ -367,7 +368,7 @@ void PolygonizeContour(TTFont& font, } } - relationship = new (int*)[contourCount]; // Allocate mem for the relationship + relationship = new int *[contourCount]; // Allocate mem for the relationship if (relationship==NULL) // matrix { if (frontPolyArray) // If out of memory, clean up and