summaryrefslogtreecommitdiff
path: root/graphics/impress/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-04-22 17:45:38 +0000
committerjoerg <joerg>2006-04-22 17:45:38 +0000
commit8ca33b6fe937a8261d755418b3708dc5b75ac97c (patch)
tree4d222f4ff4e8cf696b95756e500c08359a08ecb7 /graphics/impress/patches
parent8297763ae176de31f4ec86e455669f6f41a85378 (diff)
downloadpkgsrc-8ca33b6fe937a8261d755418b3708dc5b75ac97c.tar.gz
Fix GCC 3.4+: (int *)[] is not valid C++.
Diffstat (limited to 'graphics/impress/patches')
-rw-r--r--graphics/impress/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/impress/patches/patch-ac b/graphics/impress/patches/patch-ac
new file mode 100644
index 00000000000..04409c73e6a
--- /dev/null
+++ b/graphics/impress/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/04/22 17:45:38 joerg Exp $
+
+--- font3d/build.cc.orig 2006-04-22 17:41:01.000000000 +0000
++++ font3d/build.cc
+@@ -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