Subject: pkg/23244: devel/pccts fails to build on macppc-current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 10/23/2003 21:50:28
>Number: 23244
>Category: pkg
>Synopsis: devel/pccts fails to build on macppc-current
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 23 11:51:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: matthew green
>Release: NetBSD 1.6ZD
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
System: NetBSD what-time-is-love.eterna.com.au 1.6ZD NetBSD 1.6ZD (_what_) #141: Sun Oct 19 21:03:51 EST 2003 mrg@phat-bass.eterna.com.au:/home/obj/macppc/usr/src/sys/arch/macppc/compile/_what_ macppc
Architecture: powerpc
Machine: macppc
>Description:
building devel/pccts on macppc with GCC3 fails due to attempting
to use <varargs.h> (i assume it will fail on all -current.) it
has code to use <stdarg.h> but it fails to enable it in two files
and ends up trying to include <varargs.h> instead.
>How-To-Repeat:
build something that wants to install devel/pccts in -current.
>Fix:
this patch fixes sorlist.c, and a similar patch is also necessary
for sorcerer/lib/sintstack.c.
--- pccts/sorcerer/lib/sorlist.c.orig 1999-06-30 11:15:56.000000000 +1000
+++ pccts/sorcerer/lib/sorlist.c 2003-10-23 21:47:33.000000000 +1000
@@ -29,15 +29,15 @@
#include <stdio.h>
#include <setjmp.h>
+#include "CASTBase.h"
+#include "sorlist.h"
+
#ifdef PCCTS_USE_STDARG
#include <stdarg.h>
#else
#include <varargs.h>
#endif
-#include "CASTBase.h"
-#include "sorlist.h"
-
/* Iterate over a list of elements; returns ptr to a new element
* in list upon every call and NULL when no more are left.
* Very useful like this:
>Release-Note:
>Audit-Trail:
>Unformatted: