Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#32164 closed defect (fixed)

abiword: ‘struct png_info_struct’ has no member named ‘trans’

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: png Cc: ryandesign (Ryan Carsten Schmidt)
Port: abiword

Description

I get a lot of errors like this when trying to build Abiword:

../../wv/magick/png.c:3767: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3768: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3769: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3770: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3777: error: ‘struct png_info_struct’ has no member named ‘trans’
../../wv/magick/png.c:3779: error: ‘struct png_info_struct’ has no member named ‘trans’
../../wv/magick/png.c:3784: error: ‘struct png_info_struct’ has no member named ‘trans’
../../wv/magick/png.c:3785: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3785: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3785: error: ‘struct png_info_struct’ has no member named ‘trans_values’
../../wv/magick/png.c:3785: error: ‘struct png_info_struct’ has no member named ‘trans_values’

Attachments (1)

main.log (143.8 KB) - added by rudloff@… 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by rudloff@…

Attachment: main.log added

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

Keywords: png added; tiger removed

libpng 1.4.x incompatibility. These fields just need to be renamed. The abiword port is really out of date however. See #17012 filed three years ago requesting the port be updated.

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

r87422. It still doesn't build though, now complaining "libole2/ms-ole.c:18:28: error: libole2/ms-ole.h: No such file or directory". It's probably pointless to work further on patching this old version; someone should instead try to update the port to the latest version.

comment:3 Changed 13 years ago by rudloff@…

Would it be worth it to create a port for libole2 ?

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

No. This is not a port. This is code that's in the abiword source distribution.

Fixed that error in r87424 by adding -I. at the start of cppflags. Next error is:

./libole2/ms-ole.h:80: error: expected specifier-qualifier-list before ‘ssize_t’

We could probably sit here for a long time fixing these errors, and in the end, we'd end up with a 5-year-old piece of software. All this has probably already been fixed upstream years ago. It would be better to update the port to the current version.

Note: See TracTickets for help on using tickets.