Opened 12 years ago

Closed 12 years ago

#36192 closed defect (fixed)

abiword-x11 @2.8.6 does not build with libpng 1.5

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: abiword-x11

Description

Hello!

The error is this:

libtool: compile:  /usr/bin/llvm-g++-4.2 -DHAVE_CONFIG_H -I. -I../../../.. -D_REENTRANT -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libgsf-1 -I/opt/local/include/libxml2 -I/opt/local/include/wv -I/opt/local/include/enchant -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/librsvg-2.0 -I../../../.. -I../../../../goffice-bits -I../../../../src/af/ev/gtk -I../../../../src/af/ev/xp -I../../../../src/af/gr/gtk -I../../../../src/af/gr/xp -I../../../../src/af/util/unix -I../../../../src/af/util/xp -I../../../../src/af/xap/gtk -I../../../../src/af/xap/xp -I/opt/local/include -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow -pipe -O2 -arch x86_64 -MT ut_test.lo -MD -MP -MF .deps/ut_test.Tpo -c ut_test.cpp -o ut_test.o >/dev/null 2>&1
ut_png.cpp: In function ‘bool UT_PNG_getDimensions(const UT_ByteBuf*, UT_sint32&, UT_sint32&)’:
ut_png.cpp:74: error: invalid use of incomplete type ‘struct png_struct_def’
/opt/local/include/png.h:854: error: forward declaration of ‘struct png_struct_def’
make[6]: *** [ut_png.lo] Error 1
make[6]: *** Waiting for unfinished jobs....

The version of libpng installed is libpng @1.5.12_0.

Attachments (1)

main.log (124.4 KB) - added by ballapete (Peter "Pete" Dyballa) 12 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: abiword-x11 @2.8.6 does not build because of libpng issueabiword-x11 @2.8.6 does not build with libpng 1.5

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.