Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 13:26:55 +0400 (MSD)
From:      Maxim Maximov <mcsi@localhost.my.domain.agava.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41006: print/transfig doesn't compile on current
Message-ID:  <200207260926.g6Q9QtXR039623@localhost.my.domain>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207260926.g6Q9QtXR039623>