--- - branch: MAIN date: Sun Oct 7 07:23:21 UTC 2012 files: - new: '1.42' old: '1.41' path: pkgsrc/net/libfetch/Makefile pathrev: pkgsrc/net/libfetch/Makefile@1.42 type: modified id: 20121007T072321Z.fd4224f8ba4c0a4188a16373be87aa3034c91190 log: | net/libfetch: Fix for gcc4.7 When building with gcc4.7, libfetch fails with the following error: ftp.c: In function 'unmappedaddr': ftp.c:149:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] cc1: all warnings being treated as errors *** Error code 1 The code is intentionally grouping an array of four uint8_t bytes into a uint32_t word. Add -Wno-strict-aliasing in makefile to fix build in gcc4.7. module: pkgsrc subject: 'CVS commit: pkgsrc/net/libfetch' unixtime: '1349594601' user: marino