summaryrefslogtreecommitdiff
path: root/graphics/impress/patches/patch-ac
blob: d734829413beb7bcf6b941167b2788096ec40b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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