aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-devel
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-03-27 22:13:25 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-03-27 22:13:25 +0000
commita000e73aeed904692f2e393f1f6d49d4108e6069 (patch)
tree61dbde44c3e01d4d0130a055146b77bbb3936f15 /editors/openoffice.org-2-devel
parent5ced43a6b572f48aaedecb54000235c9afbd76bd (diff)
downloadports-a000e73aeed904692f2e393f1f6d49d4108e6069.tar.gz
ports-a000e73aeed904692f2e393f1f6d49d4108e6069.zip
Notes
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r--editors/openoffice.org-2-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel41
1 files changed, 41 insertions, 0 deletions
diff --git a/editors/openoffice.org-2-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel b/editors/openoffice.org-2-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel
index 99b8c566fb61..d72395251fca 100644
--- a/editors/openoffice.org-2-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel
+++ b/editors/openoffice.org-2-devel/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel
@@ -100,3 +100,44 @@
}
}
+--- ../bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx.orig Thu Mar 27 22:05:43 2003
++++ ../bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx Thu Mar 27 22:08:18 2003
+@@ -2,9 +2,9 @@
+ *
+ * $RCSfile: uno2cpp.cxx,v $
+ *
+- * $Revision: 1.3.48.1 $
++ * $Revision: 1.1.4.1 $
+ *
+- * last change: $Author: sb $ $Date: 2003/03/27 14:40:32 $
++ * last change: $Author: rt $ $Date: 2003/02/20 16:02:18 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+@@ -97,9 +97,7 @@
+ if (! pThis) dummy_can_throw_anything("xxx"); // address something
+
+ volatile long edx = 0, eax = 0; // for register returns
+- void * stackptr;
+ asm volatile (
+- "mov %%esp, %6\n\t"
+ // copy values
+ "mov %0, %%eax\n\t"
+ "mov %%eax, %%edx\n\t"
+@@ -123,11 +121,13 @@
+ "mov %%eax, %4\n\t"
+ "mov %%edx, %5\n\t"
+ // cleanup stack
+- "mov %6, %%esp\n\t"
++ "mov %0, %%eax\n\t"
++ "shl $2, %%eax\n\t"
++ "add %%eax, %%esp\n\t"
+ :
+- : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex),
+- "m"(eax), "m"(edx), "m"(stackptr)
++ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), "m"(eax), "m"(edx)
+ : "eax", "edx" );
++
+ switch( eReturnType )
+ {
+ case typelib_TypeClass_HYPER: