Subject: pkg/25653: print/transfig build fails on recent FreeBSD, trival fix included
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: pkgsrc-bugs
Date: 05/20/2004 19:18:20
>Number:         25653
>Category:       pkg
>Synopsis:       print/transfig build fails on recent FreeBSD, trival fix included
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 20 19:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        N/A
>Organization:
>Environment:
FreeBSD mainframe.w.lub.pl 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 05:36:22 GMT 2004     root@cypress.btc.adpatec.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
===> Building for transfig-3.2.4nb1
making all in ./fig2dev...
cd dev; /usr/pkg/bin/bmake DEFINES="-DUSE_PNG -DUSE_XPM -I/usr/pkg/include -I/usr/pkg/include/X11 -DNFSS 
-DA4            -DLATEX2E_GRAPHICS   -DDVIPS -DI18N -DFIG2DEV_LIBDIR=\\\"/usr/pkg/X11R6/lib/fig2dev\\\" -
DBITMAPDIR=\\\"/usr/pkg/X11R6/lib/X11/xfig/bitmaps\\\"" libtransfig.a
gcc -pipe    -I.. -I../..  -I/usr/pkg/X11R6/include  -I/usr/pkg/X11R6/include   -DCSRG_BASED  -DFUNCPROTO
=15 -DNARROWPROTO   -DUSE_PNG -DUSE_XPM -I/usr/pkg/include -I/usr/pkg/include/X11 -DNFSS -DA4           -
DLATEX2E_GRAPHICS   -DDVIPS -DI18N -DFIG2DEV_LIBDIR=\"/usr/pkg/X11R6/lib/fig2dev\" -DBITMAPDIR=\"/usr/pkg
/X11R6/lib/X11/xfig/bitmaps\"    -I/usr/pkg/include -I/usr/pkg/X11R6/include -I/usr/include -I/usr/pkg/in
clude/freetype2 -c genbox.c
In file included from genbox.c:22:
../fig2dev.h:213: error: conflicting types for `sys_nerr'
/usr/include/stdio.h:347: error: previous declaration of `sys_nerr'
*** Error code 1

Stop.
bmake: stopped in /usr/obj/pkgsrc/print/transfig/work.j1/transfig.3.2.4/fig2dev/dev
*** Error code 1


>How-To-Repeat:
Get FreeBSD 5.2.1, compile transfig
>Fix:

     http://pkgsrc.w.lub.pl/transfig-FreeBSD.diff
>Release-Note:
>Audit-Trail:
>Unformatted: