1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

misc/openhantek: Update 3.1.0 -> 3.1.1

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2020-07-01 18:06:50 +00:00
parent 89c98b5b96
commit 71b2c4b719
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540985
3 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= openhantek PORTNAME= openhantek
DISTVERSION= 3.1.0 DISTVERSION= 3.1.1
CATEGORIES= misc CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1589087001 TIMESTAMP = 1593620468
SHA256 (OpenHantek-OpenHantek6022-3.1.0_GH0.tar.gz) = 5a1233609ce38201f787770003ae47109a9be69d432ea908e971bf4d9eb6256f SHA256 (OpenHantek-OpenHantek6022-3.1.1_GH0.tar.gz) = 963ecf47a38da2fb4fc3601518fc94ed6b3915ec26a2d8891f8f4d7598b057bf
SIZE (OpenHantek-OpenHantek6022-3.1.0_GH0.tar.gz) = 20464522 SIZE (OpenHantek-OpenHantek6022-3.1.1_GH0.tar.gz) = 18920771

View File

@ -0,0 +1,13 @@
--- 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 );