Opened 11 years ago

Closed 11 years ago

#22083 closed defect (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by basile.clout@…

Attachment: patch-Makefile.config.diff added

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

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

comment:2 Changed 11 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 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.