Menu

#266 libpng 1.6.30 fails to build on arm64

libpng_code
closed-fixed
None
5
2017-09-03
2017-07-02
No

Hi,

libpng 1.6.30 fails to build on arm64 on freebsd (it used to build fine with version 1.6.29)

The error is:

%%%
libtool: compile: cc -DHAVE_CONFIG_H -I. -O2 -pipe -fno-strict-aliasing -MT arm/filter_neon.lo -MD -MP -MF arm/.deps/filter_neon.Tpo -c arm/filter_neon.S -fPIC -DPIC -o arm/.libs/filter_neon.o
arm/../pngpriv.h:476:24: error: unexpected token in argument list
typedef unsigned long int png_ptruint;
^
*** Error code 1

Stop.
%%%

I worked around the issue with attached patch, but i'm not sure it's correct.

1 Attachments

Discussion

  • Glenn Randers-Pehrson

    Thanks. I think your patch is a little better than the one I pushed to
    the git libpng16 branch yesterday.

     
  • Glenn Randers-Pehrson

    Fixed in libpng-1.6.31beta01.

     
  • Glenn Randers-Pehrson

    • status: open --> closed-fixed
    • assigned_to: Glenn Randers-Pehrson
     

Log in to post a comment.