pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/impress Fix GCC 3.4+: (int *)[] is not valid ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c754fc6a112b
branches:  trunk
changeset: 511813:c754fc6a112b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Apr 22 17:45:38 2006 +0000

description:
Fix GCC 3.4+: (int *)[] is not valid C++.

diffstat:

 graphics/impress/distinfo         |   3 ++-
 graphics/impress/patches/patch-ac |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r ebd17a876a6b -r c754fc6a112b graphics/impress/distinfo
--- a/graphics/impress/distinfo Sat Apr 22 17:45:05 2006 +0000
+++ b/graphics/impress/distinfo Sat Apr 22 17:45:38 2006 +0000
@@ -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 -r ebd17a876a6b -r c754fc6a112b graphics/impress/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/impress/patches/patch-ac Sat Apr 22 17:45:38 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index