summaryrefslogtreecommitdiff
path: root/graphics/impress
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-22 17:45:38 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-22 17:45:38 +0000
commit5b0a4db69404d6969281900402105215206f426f (patch)
tree4d222f4ff4e8cf696b95756e500c08359a08ecb7 /graphics/impress
parent6a10c314f417f2ab66baeaa72e00329b05aa8d25 (diff)
downloadpkgsrc-5b0a4db69404d6969281900402105215206f426f.tar.gz
Fix GCC 3.4+: (int *)[] is not valid C++.
Diffstat (limited to 'graphics/impress')
-rw-r--r--graphics/impress/distinfo3
-rw-r--r--graphics/impress/patches/patch-ac13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/impress/distinfo b/graphics/impress/distinfo
index 4b3598a23fa..f17655d36ab 100644
--- a/graphics/impress/distinfo
+++ b/graphics/impress/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2006/02/18 16:09:59 wiz Exp $
+$NetBSD: distinfo,v 1.5 2006/04/22 17:45:38 joerg Exp $
SHA1 (imp1.1b9.tar.gz) = 73d3ce69d2d31af0b8e6bfb3825ebcd2f519024c
RMD160 (imp1.1b9.tar.gz) = 2f0d49d90baa1c92edf564bf163147679c4cbaf4
Size (imp1.1b9.tar.gz) = 1334533 bytes
SHA1 (patch-aa) = a872102d3b3205b6e8e4d44839b150e94aa6fd8a
SHA1 (patch-ab) = f6e71dbd213cfdc447535bc25325c9417a99c498
+SHA1 (patch-ac) = bedff4ed0d84f482fe765b775a2c2ac58eacdba3
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