summaryrefslogtreecommitdiff
path: root/graphics/openptc
diff options
context:
space:
mode:
authoragc <agc>2002-07-16 14:55:03 +0000
committeragc <agc>2002-07-16 14:55:03 +0000
commit3ba028eea2dd1688315bad675286ef397fb16463 (patch)
tree09f08fcde5fc969593aae934fdd6779c2ea3e54c /graphics/openptc
parente3176799888c1b669b4a7a7789756f01a72a4e19 (diff)
downloadpkgsrc-3ba028eea2dd1688315bad675286ef397fb16463.tar.gz
Depend on the fixed version of Hermes external interface.
Fix the scope of a variable in "new" C++.
Diffstat (limited to 'graphics/openptc')
-rw-r--r--graphics/openptc/Makefile4
-rw-r--r--graphics/openptc/distinfo3
-rw-r--r--graphics/openptc/patches/patch-ac14
3 files changed, 19 insertions, 2 deletions
diff --git a/graphics/openptc/Makefile b/graphics/openptc/Makefile
index ad8a3a9b4de..c5a67504e47 100644
--- a/graphics/openptc/Makefile
+++ b/graphics/openptc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2002/01/02 10:18:57 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2002/07/16 14:55:03 agc Exp $
DISTNAME= OpenPTC-x11-1.0.0-2
PKGNAME= OpenPTC-X11-1.0.02
@@ -16,5 +16,7 @@ USE_GMAKE= yes
USE_X11BASE= yes
CONFIGURE_ENV+= CXXFLAGS="-I${BUILDLINK_DIR}/include"
+BUILDLINK_DEPENDS.Hermes= Hermes>=1.3.2nb1
+
.include "../hermes/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/openptc/distinfo b/graphics/openptc/distinfo
index 25b19acdb50..6bb43e2f6b7 100644
--- a/graphics/openptc/distinfo
+++ b/graphics/openptc/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 09:54:21 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/07/16 14:55:03 agc Exp $
SHA1 (OpenPTC-x11-1.0.0-2.tar.gz) = e28eaed3c7678f269c2a1ef5846dc607033b6489
Size (OpenPTC-x11-1.0.0-2.tar.gz) = 562050 bytes
SHA1 (patch-aa) = 6b7ad89297a9fcdce8d08b36859cf14ccc6144f2
SHA1 (patch-ab) = 55422988cb03c6c83d394a3632b33116ec7ea511
+SHA1 (patch-ac) = bab854a254865f3e9aa21b67e62f3bac93a9ac32
diff --git a/graphics/openptc/patches/patch-ac b/graphics/openptc/patches/patch-ac
new file mode 100644
index 00000000000..3eb6a3a5a97
--- /dev/null
+++ b/graphics/openptc/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2002/07/16 14:55:04 agc Exp $
+
+--- demos/land/Land.cc 2002/07/16 14:50:07 1.1
++++ demos/land/Land.cc 2002/07/16 14:50:38
+@@ -259,7 +259,8 @@
+ //
+ // Initialize last-y and last-color arrays
+ //
+- for ( int d=0; d<SCREENWIDTH; d++ )
++ int d;
++ for ( d=0; d<SCREENWIDTH; d++ )
+ {
+ lasty[d]=SCREENHEIGHT;
+ lastc[d]=-1;