pkgsrc/games/xevil/patches/patch-ah
dholland 99425e0bd2 Fix broken build on amd64. Also combine two patches that were to the same
file, don't include the SUBST results in the patch, and add a missing dep
on libX11. PKGREVISION++.
2008-08-17 23:50:06 +00:00

23 lines
703 B
Text

$NetBSD: patch-ah,v 1.2 2008/08/17 23:50:06 dholland Exp $
--- cmn/actual.cpp.orig 2000-01-19 12:54:36.000000000 -0500
+++ cmn/actual.cpp 2008-08-17 19:09:43.000000000 -0400
@@ -32,7 +32,8 @@
// Include Files
#if X11
-#include <strstream.h>
+#include <strstream>
+using namespace std;
#endif
#if WIN32
#include <strstrea.h>
@@ -1534,7 +1535,7 @@ Boolean Transmogifier::transmogify_targe
void *closure) {
// notThis is used to prevent transmogifying into the same class an object
// already is.
- ClassId notThis = (ClassId)closure;
+ ClassId notThis = (ClassId)(intptr_t)closure;
if (pc->classId == notThis) {
return False;
}