Date: Wed, 24 Mar 2004 00:50:03 +0900 (JST) From: Tateoka Takamichi <tate@cs.uec.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64621: [patch] ports/x11-toolkits/pango compilation failed Message-ID: <200403231550.i2NFo3RX056281@frei.cs.uec.ac.jp> Resent-Message-ID: <200403231600.i2NG0eeC093383@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64621 >Category: ports >Synopsis: [patch] ports/x11-toolkits/pango compilation failed >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 23 08:00:39 PST 2004 >Closed-Date: >Last-Modified: >Originator: Tateoka Takamichi >Release: FreeBSD 4.9-RELEASE-p4 i386 >Organization: Univ. of Electro-Communications >Environment: System: FreeBSD frei.cs.uec.ac.jp 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #0: Mon Mar 22 19:39:27 JST 2004 root@frei.cs.uec.ac.jp:/usr/src/sys/compile/SMP i386 ports tree updated with cvsup today (March 24, 2004). freetype2-2.1.7_2 and fontconfig-2.2.2,1 are installed by ports. >Description: make in ports/x11-toolkits/pango is failed with compilation error. >How-To-Repeat: # cd /usr/ports/x11-toolkits/pango # make [snip] cc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/X11R6/etc\" -DLIBDIR=\"/usr/X11R6/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I../.. -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/X11R6/include -O -pipe -Wall -c pango-ot-info.c -fPIC -DPIC -o .libs/pango-ot-info.o pango-ot-info.c:25: freetype/ftmodapi.h: No such file or directory gmake[3]: *** [pango-ot-info.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.2.5/pango/opentype' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.2.5/pango' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.2.5' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/x11-toolkits/pango. # >Fix: Following patch will fix the problem. The macro FT_MODULE_H is described at http://freetype.sourceforge.net/freetype2/docs/reference/ft2-header_file_macros.html#FT_MODULE_H *** files/patch-pango_opentype_pango-ot-info.c.orig Wed Mar 17 06:29:03 2004 --- files/patch-pango_opentype_pango-ot-info.c Wed Mar 24 00:39:33 2004 *************** *** 1,11 **** --- pango/opentype/pango-ot-info.c.orig Tue Mar 16 16:18:19 2004 +++ pango/opentype/pango-ot-info.c Tue Mar 16 16:17:38 2004 ! @@ -22,7 +22,7 @@ #include "pango-ot-private.h" #include "fterrcompat.h" #include <freetype/internal/ftobjs.h> -#include <freetype/ftmodule.h> ! +#include <freetype/ftmodapi.h> static void pango_ot_info_class_init (GObjectClass *object_class); static void pango_ot_info_finalize (GObject *object); --- 1,12 ---- --- pango/opentype/pango-ot-info.c.orig Tue Mar 16 16:18:19 2004 +++ pango/opentype/pango-ot-info.c Tue Mar 16 16:17:38 2004 ! @@ -22,7 +22,8 @@ #include "pango-ot-private.h" #include "fterrcompat.h" #include <freetype/internal/ftobjs.h> -#include <freetype/ftmodule.h> ! +#include <ft2build.h> ! +#include FT_MODULE_H static void pango_ot_info_class_init (GObjectClass *object_class); static void pango_ot_info_finalize (GObject *object); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403231550.i2NFo3RX056281>