Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 11:20:25 +0200 (CEST)
From:      Helge Oldach <ports-xfig-jun11@oldach.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Greg Lewis <glewis@FreeBSD.org>
Subject:   ports/158099: ports/graphics/xfig does not compile without I18N
Message-ID:  <201106210920.p5L9KPwp092400@sep.oldach.net>
Resent-Message-ID: <201106211000.p5LA0JqR004524@freefall.freebsd.org>

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

>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@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:



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