aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/open-motif
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-11-24 12:25:08 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-11-24 12:25:08 +0000
commitb3583d09a32352cf033c55af74b80ed05518afaf (patch)
tree9b654792f8d7eaefd2916ab0ef33e7c71681b583 /x11-toolkits/open-motif
parent781689327209cff658f907c15f00dda4cf47f14d (diff)
downloadports-b3583d09a32352cf033c55af74b80ed05518afaf.tar.gz
ports-b3583d09a32352cf033c55af74b80ed05518afaf.zip
Fix build on sparc64
Submitted by: tmm
Notes
Notes: svn path=/head/; revision=94759
Diffstat (limited to 'x11-toolkits/open-motif')
-rw-r--r--x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c b/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c
new file mode 100644
index 000000000000..62e693af0399
--- /dev/null
+++ b/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c
@@ -0,0 +1,16 @@
+--- lib/Mrm/MrmItop.c~ Fri Jan 11 14:56:23 2002
++++ lib/Mrm/MrmItop.c Sun Nov 23 19:42:03 2003
+@@ -642,10 +642,11 @@
+ * Local variables
+ */
+ Cardinal result ; /* function results */
++ IDBResource resid ;
+
+ if ( (result=Idb__FIL_Valid((IDBFile)file_id)) != MrmSUCCESS ) return result ;
+- result = Idb__RID_NextRID ((IDBFile)file_id,
+- (IDBResource *)resource_id_return) ;
++ result = Idb__RID_NextRID ((IDBFile)file_id, &resid) ;
++ if ( result == MrmSUCCESS ) *resource_id_return = resid;
+ return result ;
+
+ }