Opened 12 years ago

Closed 6 years ago

#37561 closed defect (fixed)

VisualBoyAdvance: invalid use of incomplete type ‘struct png_struct_def’

Reported by: egor7@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: VisualBoyAdvance

Description

port install VisualBoyAdvance fails. Part of main.log:

:info:build ../Util.cpp: In function ‘bool utilWritePNGFile(const char*, int, int, u8*)’:
:info:build ../Util.cpp:82: error: invalid use of incomplete type ‘struct png_struct_def’
:info:build /opt/local/include/png.h:857: error: forward declaration of ‘struct png_struct_def’
:info:build ../Util.cpp: In function ‘gzFile_s* utilGzOpen(const char*, const char*)’:
:info:build ../Util.cpp:987: error: invalid conversion from ‘int (*)(void*, void*, unsigned int)’ to ‘int (*)(gzFile_s*, void*, unsigned int)’
:info:build make[2]: *** [Util.o] Error 1

Attachments (1)

main.log (102.2 KB) - added by egor7@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by egor7@…

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Milestone: MacPorts 2.1.3
Owner: changed from macports-tickets@… to jtonio@…

In the future, please Cc the port maintainer(s) and do not set the Milestone field.

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

Summary: port install VisualBoyAdvance failsVisualBoyAdvance: invalid use of incomplete type ‘struct png_struct_def’

This is an incompatibility with libpng 1.4 and later.

VisualBoy Advance has not had a new release since 2004, so it appears to be dead. Maybe someone has already written a patch to fix this problem.

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: jtonio@… deleted
Status: newassigned

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: assignedclosed

In 4f9c2bda66493117326c6e0a9bdf5222747d3686/macports-ports (master):

VisualBoyAdvance: Fix more build failures

Closes: #37561

Note: See TracTickets for help on using tickets.