22 lines
806 B
Text
22 lines
806 B
Text
$NetBSD: patch-ac,v 1.2 2011/11/25 21:57:36 joerg Exp $
|
|
|
|
--- font3d/build.cc.orig 2000-07-16 02:37:31.000000000 +0000
|
|
+++ font3d/build.cc
|
|
@@ -29,7 +29,7 @@
|
|
//==============================================================================================
|
|
|
|
#include <stdlib.h>
|
|
-#include <fstream.h>
|
|
+#include <fstream>
|
|
|
|
#include "vector.h"
|
|
#include "truetype.h"
|
|
@@ -367,7 +367,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
|