From owner-freebsd-ports@FreeBSD.ORG Tue Nov 25 03:08:15 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 338B416A4CE for ; Tue, 25 Nov 2003 03:08:15 -0800 (PST) Received: from sanne.nlnetlabs.nl (sanne.nlnetlabs.nl [213.154.224.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6A1A43FE9 for ; Tue, 25 Nov 2003 03:08:12 -0800 (PST) (envelope-from ted@sanne.nlnetlabs.nl) Received: from sanne.nlnetlabs.nl (localhost [127.0.0.1]) by sanne.nlnetlabs.nl (8.12.10/8.12.10) with ESMTP id hAPB81sn024753 for ; Tue, 25 Nov 2003 12:08:01 +0100 (CET) (envelope-from ted@sanne.nlnetlabs.nl) Received: (from ted@localhost) by sanne.nlnetlabs.nl (8.12.10/8.12.10/Submit) id hAPB80Wf024752 for freebsd-ports@freebsd.org; Tue, 25 Nov 2003 12:08:00 +0100 (CET) (envelope-from ted) Message-Id: <200311251108.hAPB80Wf024752@sanne.nlnetlabs.nl> From: ted@sanne.nlnetlabs.nl (Ted Lindgreen) Date: Tue, 25 Nov 2003 12:08:00 +0100 X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: freebsd-ports@freebsd.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on sanne.nlnetlabs.nl Subject: Problem compiling magicpoint-1.09a on current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2003 11:08:15 -0000 Compiling magicpoint-1.09a on 5.2-BETA produces: petje# make ===> Extracting for magicpoint-1.09a .... In file included from rlelib.c:15: /usr/include/varargs.h:34:2: #error " is obsolete with this version of GCC." /usr/include/varargs.h:35:2: #error "Change your code to use instead." *** Error code 1 Stop in /stable/usr/ports/misc/magicpoint/work/magicpoint-1.09a/image. .... Configure knows about this, and defines HAVE_STDARG_H. But, while in grammar.c this is tested and properly dealt with, it's not in image/rlelib.c. Adding this test in image/rlelib.c, however, does not help either, because it is compiled without this flag. A quick workaround is to just change "#include " into "#include " in image/rlelib.c. Regards, -- ted