ports/158099: ports/graphics/xfig does not compile without I18N

Helge Oldach ports-xfig-jun11 at oldach.net
Tue Jun 21 10:00:20 UTC 2011


>Number:         158099
>Category:       ports
>Synopsis:       ports/graphics/xfig does not compile without I18N
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 21 10:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 8.2-818 i386
>Organization:
>Environment:

System: FreeBSD localhost 8.2-818 FreeBSD 8.2-818 #0: Tue May 31 10:30:49 CEST 2011 toor at localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

I do not use the I18N config knob, as I don't need Japanese or Korean.

However, the local patch files/patch-Imakefile #defines I18N
unconditionally. Hence compilation breaks:


cc -c -O2 -pipe -fno-strict-aliasing       -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include/X11 -I. -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO                                              -DUSE_INLINE -DUSE_XPM -DXAW3D -DXAW3D1_5E                     -DUSE_JPEG -DI18N  -DNEWARROWTYPES    e_edit.c
e_edit.c: In function 'generic_window':
e_edit.c:3214: warning: cast from pointer to integer of different size
e_edit.c: In function 'str_panel':
e_edit.c:4252: error: 'XtNinternational' undeclared (first use in this function)
e_edit.c:4252: error: (Each undeclared identifier is reported only once
e_edit.c:4252: error: for each function it appears in.)
*** Error code 1

Stop in /usr/obj/usr/ports/graphics/xfig/work/xfig.3.2.5b.
*** Error code 1

Stop in /usr/ports/graphics/xfig.
*** Error code 1

Stop in /usr/ports/graphics/xfig.


>How-To-Repeat:

make

>Fix:

Please implement the I18N config knob appropriately.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list