diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-06-20 05:06:54 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-06-20 05:06:54 +0800 |
commit | ee82f097b90485f11e8004e0940bf2a0ca8c4b6e (patch) | |
tree | 2cf265ee3529429bbbc37190ccdbc4ae2695e704 /emulators | |
parent | 058ce4c173785df655f26ed2aa9531905b3edef8 (diff) | |
download | freebsd-ports-gnome-ee82f097b90485f11e8004e0940bf2a0ca8c4b6e.tar.gz freebsd-ports-gnome-ee82f097b90485f11e8004e0940bf2a0ca8c4b6e.tar.zst freebsd-ports-gnome-ee82f097b90485f11e8004e0940bf2a0ca8c4b6e.zip |
emulators/rpcs3: restore patch comment
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/rpcs3/files/patch-3rdparty_hidapi_libusb_hid.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emulators/rpcs3/files/patch-3rdparty_hidapi_libusb_hid.c b/emulators/rpcs3/files/patch-3rdparty_hidapi_libusb_hid.c index 34c8c925484d..9a6b533c38ba 100644 --- a/emulators/rpcs3/files/patch-3rdparty_hidapi_libusb_hid.c +++ b/emulators/rpcs3/files/patch-3rdparty_hidapi_libusb_hid.c @@ -1,3 +1,11 @@ +3rdparty/hidapi/libusb/hid.c:458:18: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] + res = iconv(ic, &inptr, &inbytes, &outptr, &outbytes); + ^~~~~~ +/usr/local/include/iconv.h:85:43: note: passing argument to parameter 'inbuf' here +extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); + ^ +1 warning generated. + --- 3rdparty/hidapi/libusb/hid.c.orig 2017-04-29 01:03:27 UTC +++ 3rdparty/hidapi/libusb/hid.c @@ -397,7 +397,7 @@ static wchar_t *get_usb_string(libusb_device_handle *d |