Opened 7 weeks ago

Closed 7 weeks ago

#70497 closed defect (fixed)

glpong @1.3: error: incomplete definition of type 'struct png_struct_def'

Reported by: doomed-theory Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: glpong

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Warning: reinplace s|-lGLU||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_glpong/glpong/work/glpong-1.3/src/Makefile
Warning: reinplace s|-lGL||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_glpong/glpong/work/glpong-1.3/src/Makefile
--->  Building glpong
Error: Failed to build glpong: command execution failed

Attachments (1)

main.log (289.5 KB) - added by doomed-theory 7 weeks ago.

Download all attachments as: .zip

Change History (3)

Changed 7 weeks ago by doomed-theory

Attachment: main.log added

comment:1 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: glpong added; GLPong removed
Summary: glpong @1.3 install failedglpong @1.3: error: incomplete definition of type 'struct png_struct_def'

The error in the log is:

image.c:87:42: error: incomplete definition of type 'struct png_struct_def'

So glpong is not compatible with libpng 1.5 or later, which we have had in MacPorts for a long time already, so this port has been broken for a long time.

#59554 is an example of this problem in another port and how it can be fixed.

comment:2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 1c40b40154530a6542f6cd3ce7b4a6dcb775d45f/macports-ports (master):

glpong: Fix build with libpng 1.5+

Closes: #70497

Note: See TracTickets for help on using tickets.