New graphics/cairo does not build on RELENG_4

Scott Allendorf scott-allendorf at uiowa.edu
Sat Oct 14 18:11:47 PDT 2006


The new graphics/cairo port does not compile on a relatively recent 
(Oct. 1) RELENG_4.  I have attached the end of the make output below. 
It looks like it just needs the defines INT16_MIN and INT16_MAX.  These 
could be defined in cairo-1.2.4/src/cairo-wideint-private.h.  I have 
verified that doing this allows the compile to complete.

Thank you for all of your efforts.  Please let me know how I may help 
fix this problem.

Cheers,

Scott

============================================================================
  cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src 
-I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include 
-I/usr/local/include -I/usr/X11R6/include -Wall -Wsign-compare 
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -D_THREAD_SAFE 
-I/usr/X11R6/include -O -pipe -march=pentiumpro -c cairo-scaled-font.c 
-Wp,-MD,.deps/cairo-scaled-font.TPlo  -fPIC -DPIC -o 
.libs/cairo-scaled-font.o
cairo-scaled-font.c: In function `_cairo_scaled_font_glyph_device_extents':
cairo-scaled-font.c:826: `INT16_MAX' undeclared (first use in this function)
cairo-scaled-font.c:826: (Each undeclared identifier is reported only once
cairo-scaled-font.c:826: for each function it appears in.)
cairo-scaled-font.c:826: `INT16_MIN' undeclared (first use in this function)
*** Error code 1

Stop in /home/sca/usr/ports/graphics/cairo/work/cairo-1.2.4/src.
*** Error code 1

Stop in /home/sca/usr/ports/graphics/cairo/work/cairo-1.2.4/src.
*** Error code 1

Stop in /home/sca/usr/ports/graphics/cairo/work/cairo-1.2.4.
*** Error code 1

Stop in /home/sca/usr/ports/graphics/cairo/work/cairo-1.2.4.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
============================================================================

-- 
Scott C. Allendorf                     Email:  scott-allendorf at uiowa.edu
UNIX Systems Administrator             Office:       216A Van Allen Hall
Department of Physics and Astronomy    Voice:             (319) 335-0003
The University of Iowa                 FAX:               (319) 335-1753
Iowa City, Iowa  52242-1479            ICBM:  41 39 43.6 N  91 31 55.1 W

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3202 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061015/b28f649b/smime.bin


More information about the freebsd-gnome mailing list