freebsd-ports/graphics/inventor/files/patch-SoXtRsrc.c++
Pietro Cerutti 6d73d3b156 - fix build on amd64, enable that platform
PR:		157704
Submitted by:	gahr@FreeBSD.org
Approved by:	Christian Gusenbauer <c47g@gmx.at> (maintainer)
2011-06-08 15:26:57 +00:00

11 lines
448 B
C++

--- libSoXt/src/SoXtRsrc.c++.orig 2011-06-08 14:39:34.000000000 +0200
+++ libSoXt/src/SoXtRsrc.c++ 2011-06-08 14:39:43.000000000 +0200
@@ -145,7 +145,7 @@
classList = new XrmQuark[listSize];
for (q = 0, s = len - 1;
s >= 0; q++, s--) {
-#if (_MIPS_SZPTR == 64 || __ia64)
+#if (_MIPS_SZPTR == 64 || __ia64 || __amd64__)
nameList[q] = (XrmQuark) ((long) nameplist[s]);
classList[q] = (XrmQuark) ((long) classplist[s]);
#else