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
distinfo
Makefile
pkg-descr
pkg-plist