summaryrefslogtreecommitdiff
path: root/graphics/inventor/files/patch-SoXtRsrc.c++
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-06-08 15:26:57 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-06-08 15:26:57 +0000
commit6d73d3b15661c001b80751e0e4c22f71a1cc085b (patch)
treef9ba259bd0989e607e212aefda489e318ee2b420 /graphics/inventor/files/patch-SoXtRsrc.c++
parent- switch to USERS/GROUPS (diff)
- fix build on amd64, enable that platform
PR: 157704 Submitted by: gahr@FreeBSD.org Approved by: Christian Gusenbauer <c47g@gmx.at> (maintainer)
Diffstat (limited to 'graphics/inventor/files/patch-SoXtRsrc.c++')
-rw-r--r--graphics/inventor/files/patch-SoXtRsrc.c++11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/inventor/files/patch-SoXtRsrc.c++ b/graphics/inventor/files/patch-SoXtRsrc.c++
new file mode 100644
index 000000000000..d5701eca5cee
--- /dev/null
+++ b/graphics/inventor/files/patch-SoXtRsrc.c++
@@ -0,0 +1,11 @@
+--- 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