Date: Mon, 12 Jan 2009 13:11:03 GMT From: Peter Vereshagin <peter@vereshagin.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/130420: p5-Imager XS lacks of freetype header Message-ID: <200901121311.n0CDB3IH008575@www.freebsd.org> Resent-Message-ID: <200901121320.n0CDK41J094175@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130420 >Category: ports >Synopsis: p5-Imager XS lacks of freetype header >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: Mon Jan 12 13:20:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Peter Vereshagin >Release: 7.1-STABLE >Organization: Private >Environment: FreeBSD screwed.box 7.1-STABLE FreeBSD 7.1-STABLE #1: Sat Jan 10 14:27:57 SAMT 2009 toor@screwed.box:/usr/local/src/sys/i386/compile/OPER i386 >Description: the font.c of p5-Imager fails to compile without ft2build.h inclusion. It does after patch of the include presence. === ===> Building for p5-Imager-0.67_1 cc -c -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2/freetype -I/usr/local/include/freetype1/freetype -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -DVERSION=\"0.67\" -DXS_VERSION=\"0.67\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DOS_freebsd -I/usr/local/include -O2 -fno-strict-aliasing -pipe font.c In file included from font.c:772: /usr/local/include/freetype2/freetype/freetype.h:20:2: error: #error "`ft2build.h' hasn't been included yet!" /usr/local/include/freetype2/freetype/freetype.h:21:2: error: #error "Please always use macros to include FreeType header files." /usr/local/include/freetype2/freetype/freetype.h:22:2: error: #error "Example:" /usr/local/include/freetype2/freetype/freetype.h:23:2: error: #error " #include <ft2build.h>" /usr/local/include/freetype2/freetype/freetype.h:24:2: error: #error " #include FT_FREETYPE_H" *** Error code 1 === >How-To-Repeat: cd /usr/ports/graphics/p5-Imager make >Fix: #include <ft2build.h> at the line 20 of font.h But unsure if it's right thing to do. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901121311.n0CDB3IH008575>