1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

misc/openhantek: Update 3.2.1 -> 3.2.2

This commit is contained in:
Yuri Victorovich 2021-04-18 19:11:28 -07:00
parent 3e906c01e9
commit 3d10d9af81
3 changed files with 4 additions and 17 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= openhantek
DISTVERSION= 3.2.1
DISTVERSION= 3.2.2
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1617730196
SHA256 (OpenHantek-OpenHantek6022-3.2.1_GH0.tar.gz) = ef37e5c8ae269df46b17d73b536732fa36ab269def3769eef033ba8b72c81116
SIZE (OpenHantek-OpenHantek6022-3.2.1_GH0.tar.gz) = 19806171
TIMESTAMP = 1618797814
SHA256 (OpenHantek-OpenHantek6022-3.2.2_GH0.tar.gz) = e0abedc817425ff9912abd06cd9ebbd14f66861b15f0124508d9ecb7e90e6024
SIZE (OpenHantek-OpenHantek6022-3.2.2_GH0.tar.gz) = 19821546

View File

@ -1,13 +0,0 @@
--- openhantek/src/main.cpp.orig 2020-07-01 17:59:30 UTC
+++ openhantek/src/main.cpp
@@ -163,8 +163,10 @@ int main( int argc, char *argv[] ) {
SelectSupportedDevice().showLibUSBFailedDialogModel( error );
return -1;
}
+#if !defined(__FreeBSD__) // see https://github.com/OpenHantek/OpenHantek6022/issues/101
if ( useLocale ) // localize USB error messages, supported: "en", "nl", "fr", "ru"
libusb_setlocale( QLocale::system().name().toLocal8Bit().constData() );
+#endif
// SelectSupportedDevive returns a real device unless demoMode is true
scopeDevice = SelectSupportedDevice().showSelectDeviceModal( context );