1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/archivers/p7zip
Raphael Kubo da Costa 191e95b340 Add a patch to fix the build with Clang 6.0.
../../../../CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to -2147024809, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
        case E_INVALIDARG          : txt = "E_INVALIDARG"; break ;
             ^
    ../../../../CPP/Common/MyWindows.h:89:22: note: expanded from macro 'E_INVALIDARG'
    #define E_INVALIDARG ((HRESULT)0x80070057L)
                         ^

HRESULT causes the macro to be parsed as a signed long, so we need to force it
to be checked as an unsigned long instead.

PR:		224930
2018-01-05 21:45:13 +00:00
..
files Add a patch to fix the build with Clang 6.0. 2018-01-05 21:45:13 +00:00
distinfo Update to 16.02. 2016-11-30 12:44:03 +00:00
Makefile Also pass -fPIC for arm and armv6. 2017-10-07 19:23:17 +00:00
pkg-descr
pkg-plist