Subject: Re: parallel/pvm3 doesn't build
To: Berndt Josef Wulf <wulf@ping.net.au>
From: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
List: tech-pkg
Date: 12/09/2006 11:44:45
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Dec 09, 2006 at 11:09:38AM +1030, Berndt Josef Wulf wrote:
> is there anone working on fixing parallel/pvm3? It used to build under gcc-3.x 
> but since gcc-4.x it breaks. It unfortunately breaks math/scilab, a matlab 
> replacement.

I think the attached two patches fix pvm3, but I seem to remember that
scilab will fail later because of some f2c brokeness about integer
sizes (at least on i386). 


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-local-ab

--- src/global.h.orig	2006-10-15 16:57:27.000000000 +0200
+++ src/global.h	2006-10-15 16:52:38.000000000 +0200
@@ -318,6 +318,8 @@
 
 /* General Trace Globals Declarations */
 
+#include <pvmtev.h>
+
 extern	struct Pvmtevdid pvmtevdidlist[];
 
 extern	struct Pvmtevinfo pvmtevinfo[];

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-local-aa

--- conf/NETBSDI386.def.orig	2006-10-15 16:40:54.000000000 +0200
+++ conf/NETBSDI386.def	2006-10-15 16:50:00.000000000 +0200
@@ -1,5 +1,5 @@
 ARCHCFLAGS	=	-DCTIMEISTIMET -DSOCKADHASLEN -DRSHCOMMAND=\"${SSH}\" \
-				-DHASERRORVARS -DNOREXEC -DNEEDMENDIAN -DSYSERRISCONST
+			-DHASERRORVARS -DNOREXEC -DNEEDMENDIAN -DSYSERRISCONST -DHASSTDLIB
 ARCHDLIB	=
 ARCHDOBJ	=
 ARCHLIB		=

--3V7upXqbjpZ4EhLz--