summaryrefslogtreecommitdiff
path: root/graphics/inventor/files/patch-SoDragger.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-SoDragger.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-SoDragger.c++')
-rw-r--r--graphics/inventor/files/patch-SoDragger.c++11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/inventor/files/patch-SoDragger.c++ b/graphics/inventor/files/patch-SoDragger.c++
new file mode 100644
index 000000000000..cead07ba5e21
--- /dev/null
+++ b/graphics/inventor/files/patch-SoDragger.c++
@@ -0,0 +1,11 @@
+--- lib/interaction/src/draggers/SoDragger.c++.orig 2011-06-08 14:34:05.000000000 +0200
++++ lib/interaction/src/draggers/SoDragger.c++ 2011-06-08 14:34:13.000000000 +0200
+@@ -686,7 +686,7 @@
+ int indexInPath = tempPathToThis->getIndex(numFmHead+1);
+
+ int numKidsNow = children->getLength();
+-#if (_MIPS_SZPTR == 64 || __ia64)
++#if (_MIPS_SZPTR == 64 || __ia64 || __amd64__)
+ int numKidsBefore = (int) ((long) (*tempPathNumKidsHack)[numFmHead]);
+ #else
+ int numKidsBefore = (int) (*tempPathNumKidsHack)[numFmHead];