Subject: pkg/23281: pkg parallel/clusterit needs simple patch for GCC3 - enclosed
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <waddell@caravan.com>
List: netbsd-bugs
Date: 10/27/2003 01:23:43
>Number:         23281
>Category:       pkg
>Synopsis:       pkg parallel/clusterit needs simple patch for GCC3 - enclosed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 27 01:24:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Harry Waddell
>Release:        i386-current
>Organization:
Caravan Electronic Publishing
>Environment:
NetBSD slump 1.6ZD NetBSD 1.6ZD (CARAVANMP) #19: Sat Oct 18 13:05:40 PDT 2003  waddell@slump:/usr/src/sys/arch/i386/compile/CARAVANMP i386

>Description:
GCC 3 no longer supports /usr/include/varargs.h, so clusterit won't compile on -current systems running gcc3
>How-To-Repeat:
cd /usr/pkgsrc/parallel/clusterit
make

>Fix:
the following minor change works ok on 1.6-release and -current:


--- clusterit-2.0/barrier/barrierd.c    2001-08-14 01:21:40.000000000 -0700
+++ clusterit-2.0-new/barrier/barrierd.c        2003-10-26 17:13:24.000000000 -0800
@@ -38,7 +38,7 @@
 #include <string.h>
 #include <strings.h>
 #include <syslog.h>
-#include <varargs.h>
+#include <stdarg.h>
 #include "../common/sockcommon.h"
 
 #if !defined(lint) && defined(__NetBSD__)

>Release-Note:
>Audit-Trail:
>Unformatted: