aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-11-24 20:25:08 +0800
committerkris <kris@FreeBSD.org>2003-11-24 20:25:08 +0800
commit5d3cc54eef88cff96a7e308216f32814e64da45e (patch)
tree0abce154decef7483c5da2e5999459f74719bad8 /x11-toolkits
parent3c92e065b586fd8c63fd16ebe1ce808a40b4a472 (diff)
downloadfreebsd-ports-gnome-5d3cc54eef88cff96a7e308216f32814e64da45e.tar.gz
freebsd-ports-gnome-5d3cc54eef88cff96a7e308216f32814e64da45e.tar.zst
freebsd-ports-gnome-5d3cc54eef88cff96a7e308216f32814e64da45e.zip
Fix build on sparc64
Submitted by: tmm
Diffstat (limited to 'x11-toolkits')
-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 ;
+
+ }