From owner-freebsd-ports Fri Jul 26 2:40:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA83A37B400 for ; Fri, 26 Jul 2002 02:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF76A43E5E for ; Fri, 26 Jul 2002 02:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6Q9e2JU051544 for ; Fri, 26 Jul 2002 02:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6Q9e25s051543; Fri, 26 Jul 2002 02:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 114C137B400 for ; Fri, 26 Jul 2002 02:31:31 -0700 (PDT) Received: from ultra.agava.ru (ppp198.garnet.ru [195.209.59.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ACA843E5E for ; Fri, 26 Jul 2002 02:31:20 -0700 (PDT) (envelope-from mcsi@localhost.my.domain.agava.ru) Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.12.5/8.12.5) with ESMTP id g6Q9Qt6A039624 for ; Fri, 26 Jul 2002 13:26:56 +0400 (MSD) (envelope-from mcsi@localhost.my.domain) Received: (from mcsi@localhost) by localhost.my.domain (8.12.5/8.12.5/Submit) id g6Q9QtXR039623; Fri, 26 Jul 2002 13:26:55 +0400 (MSD) (envelope-from mcsi) Message-Id: <200207260926.g6Q9QtXR039623@localhost.my.domain> Date: Fri, 26 Jul 2002 13:26:55 +0400 (MSD) From: Maxim Maximov Reply-To: Maxim Maximov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41006: print/transfig doesn't compile on current Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41006 >Category: ports >Synopsis: print/transfig doesn't compile on current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 26 02:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Maxim Maximov >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD localhost.my.domain 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Sat Jul 20 01:03:35 MSD 2002 mcsi@localhost:/usr/obj/usr/src/sys/ULTRA i386 >Description: cd /usr/ports/print/transfig make build ... making all in ./fig2dev... cd dev; make DEFINES="-DUSE_PNG -DUSE_JPEG -DUSE_XPM -I/usr/X11R6/include/X11 -I/include -DNFSS -DLATEX2E_GRAPHICS -DDVIPS -DI18N -DFIG2DEV_LIBDIR=\\\"/usr/X11R6/lib/X11/fig2dev\\\" -DBITMAPDIR=\\\"/usr/X11R6/lib/X11/xfig/bitmaps\\\"" libtransfig.a cc -O -pipe -march=pentiumpro -I.. -I../.. -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_PNG -DUSE_JPEG -DUSE_XPM -I/usr/X11R6/include/X11 -I/include -DNFSS -DLATEX2E_GRAPHICS -DDVIPS -DI18N -DFIG2DEV_LIBDIR=\"/usr/X11R6/lib/X11/fig2dev\" -DBITMAPDIR=\"/usr/X11R6/lib/X11/xfig/bitmaps\" -c genbox.c In file included from genbox.c:22: ../fig2dev.h:190: conflicting types for `sys_nerr' /usr/include/stdio.h:338: previous declaration of `sys_nerr' *** Error code 1 Stop in /var/tmp/usr/ports/print/transfig/work/transfig.3.2.3d/fig2dev/dev. *** Error code 1 Stop in /var/tmp/usr/ports/print/transfig/work/transfig.3.2.3d/fig2dev. *** Error code 1 Stop in /var/tmp/usr/ports/print/transfig/work/transfig.3.2.3d. Exit 1 >How-To-Repeat: See description. >Fix: --- fig2dev/fig2dev.h.orig Fri Jul 26 12:48:07 2002 +++ fig2dev/fig2dev.h Fri Jul 26 12:44:44 2002 @@ -186,7 +186,7 @@ #endif /* MAXPATHLEN */ #endif /* PATH_MAX */ -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__FreeBSD__) extern int sys_nerr, errno; #endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message