diff --git a/devel/librevisa/files/patch-src_usb_usb__resource__creator.cpp b/devel/librevisa/files/patch-src_usb_usb__resource__creator.cpp new file mode 100644 index 000000000000..79a54c12a5d4 --- /dev/null +++ b/devel/librevisa/files/patch-src_usb_usb__resource__creator.cpp @@ -0,0 +1,11 @@ +--- src/usb/usb_resource_creator.cpp.orig 2013-04-08 15:47:56 UTC ++++ src/usb/usb_resource_creator.cpp +@@ -293,7 +293,7 @@ bool usb_resource::creator::open_device_and_get_serial + { + uint8_t bLength; + uint8_t bDescriptorType; +- uint16_t bString[0]; ++ char16_t bString[0]; + }; + + /// @todo may not be portable everywhere diff --git a/devel/librevisa/files/patch-src_usb_usb__string.h b/devel/librevisa/files/patch-src_usb_usb__string.h new file mode 100644 index 000000000000..d7bc6393e889 --- /dev/null +++ b/devel/librevisa/files/patch-src_usb_usb__string.h @@ -0,0 +1,11 @@ +--- src/usb/usb_string.h.orig 2013-01-07 10:35:29 UTC ++++ src/usb/usb_string.h +@@ -25,7 +25,7 @@ namespace usb { + namespace librevisa { + namespace usb { + +-typedef std::basic_string usb_string; ++typedef std::basic_string usb_string; + + } + }