New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22083 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

htp-1.16 Configure error - build failure

Reported by: basile.clout@… Owned by: hibou@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: htp

Description

On Snow Leopard and gcc 4.2 (the default), compilation fails with

snprintf.c: In function 'vasprintf':
snprintf.c:856: error: incompatible types in assignment
snprintf.c:864: error: incompatible types in assignment
make[1]: *** [snprintf.o] Error 1

The error does not appear with gcc-4.0

Attached is a patch that adds -DHAVE_VA_COPY to the Makefile.conf DEFINES.

Cheers

Basile

Attachments

patch-Makefile.config.diff (839 bytes) - added by basile.clout@… 4 years ago.

Change History

Changed 4 years ago by basile.clout@…

comment:1 Changed 4 years ago by macsforever2000@…

  • Keywords htp removed
  • Owner changed from macports-tickets@… to hibou@…

comment:2 Changed 4 years ago by hibou@…

I tested the provided patch on my Leopard 10.5.8, it works fine. I cannot test on Snow Leopard.

comment:3 Changed 4 years ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to fixed

I tested on Snow Leopard and it builds fine. r59890.

Note: See TracTickets for help on using tickets.