Opened 11 years ago

Closed 11 years ago

#40870 closed defect (fixed)

vsftpd build failure on Mavericks (10.9)

Reported by: danielluke (Daniel J. Luke) Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: haspatch Cc:
Port: vsftpd

Description

vsftpd fails to build on 10.9 because it sets -Werror:

gcc -c sysstr.c -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wshadow -Werror -Wformat-security -D_FORTIFY_SOURCE=2  -idirafter dummyinc
sysstr.c:77:40: error: implicit conversion from enumeration type 'enum EVSFSysStrOpenMode' to different enumeration type 'enum EVSFSysUtilOpenMode' [-Werror,-Wenum-conversion]
  enum EVSFSysUtilOpenMode open_mode = kVSFSysStrOpenUnknown;
                           ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~~~~

Attached patch adds a Makefile reinplace to remove -Werror which allows it to build.

Attachments (1)

vsftpd_patch.diff (337 bytes) - added by danielluke (Daniel J. Luke) 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by danielluke (Daniel J. Luke)

Attachment: vsftpd_patch.diff added

comment:1 Changed 11 years ago by danielluke (Daniel J. Luke)

Keywords: haspatch added

comment:2 Changed 11 years ago by danielluke (Daniel J. Luke)

has duplicate #41258

comment:3 Changed 11 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed

maintainer timeout, committed in r113317

Note: See TracTickets for help on using tickets.