open-motif-2.2.2_1 broken on sparc64
Thomas Moestl
t.moestl at tu-bs.de
Sun Nov 23 12:20:37 PST 2003
On Sat, 2003/11/22 at 14:31:14 -0800, Kris Kennaway wrote:
> http://bento.freebsd.org/errorlogs/sparc64-5-latest/open-motif-2.2.2_1.log
>
> Can someone please investigate? This package is supposed to be
> included on the disc 1 image.
The attached patch should fix that.
- Thomas
--
Thomas Moestl <t.moestl at tu-bs.de> http://www.tu-bs.de/~y0015675/
<tmm at FreeBSD.org> http://people.FreeBSD.org/~tmm/
PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C
-------------- next part --------------
--- 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 ;
}
More information about the freebsd-sparc64
mailing list