Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2003 21:21:46 +0100
From:      Thomas Moestl <t.moestl@tu-bs.de>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        sparc64@freebsd.org
Subject:   Re: open-motif-2.2.2_1 broken on sparc64
Message-ID:  <20031123202146.GA52242@timesink.dyndns.org>
In-Reply-To: <20031122223114.GA27817@xor.obsecurity.org>
References:  <20031122223114.GA27817@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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@tu-bs.de>	http://www.tu-bs.de/~y0015675/
              <tmm@FreeBSD.org>		http://people.FreeBSD.org/~tmm/
PGP fingerprint: 1C97 A604 2BD0 E492 51D0  9C0F 1FE6 4F1D 419C 776C

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-lib::Mrm::MrmItop.c"

--- 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 ;
 
 }

--ew6BAiZeqk4r7MaW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031123202146.GA52242>