Opened 11 years ago

Last modified 11 years ago

#40434 closed defect

qpopper @4.0.9_0 - Compile error - Build failure — at Initial Version

Reported by: maurice@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: haspatch lion mountainlion Cc:
Port: qpopper

Description

{{ ---> Building qpopper Error: org.macports.build for port qpopper returned: command execution failed Please see the log file for port qpopper for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_qpopper/qpopper/main.log

}} {{ :info:build popper.c:153:25: error: conflicting types for 'getline' :info:build char * getline(); :info:build :info:build /usr/include/stdio.h:449:9: note: previous declaration is here :info:build ssize_t getline(char restrict, size_t * restrict, FILE * restrict) OSX_AVAILABLE_STARTING(MAC_10_7, IPHONE_4_3); :info:build :info:build popper.c:428:2: error: conflicting types for 'getline' :info:build *getline ( char *str, int size, POP *pPOP ) :info:build :info:build /usr/include/stdio.h:449:9: note: previous declaration is here }}

Problem appears to be that qpopper redefines getline and clang does not permit this. The fix appears to be cd

Change History (1)

Changed 11 years ago by maurice@…

Attachment: patch-popper.c added

Patch file to be added to ports/mail/qpopper/files

Note: See TracTickets for help on using tickets.