pkgsrc/games/ivan/patches/patch-ad
dholland 30e8f4bec2 Requires gmake.
Fix build on 64-bit and/or gcc4 platforms.
(Note: it doesn't work for me, but now it at least compiles...)
Correct typo in PLIST.
PKGREVISION++.
2008-07-27 21:44:47 +00:00

22 lines
658 B
Text

$NetBSD: patch-ad,v 1.1 2008/07/27 21:44:47 dholland Exp $
--- FeLib/Include/fearray.h~ 2004-10-26 15:35:44.000000000 -0400
+++ FeLib/Include/fearray.h 2008-07-27 16:22:34.000000000 -0400
@@ -34,7 +34,7 @@
};
template <class type>
-inline fearray<type>::fearray<type>(const fearray<type>& A)
+inline fearray<type>::fearray(const fearray<type>& A)
: Data(A.Data), Size(A.Size)
{
if(Data)
@@ -42,7 +42,7 @@
}
template <class type>
-inline fearray<type>::fearray<type>(const type* Array, sizetype Size)
+inline fearray<type>::fearray(const type* Array, sizetype Size)
: Size(Size)
{
char* Ptr = new char[Size * sizeof(type) + sizeof(ulong)];