Index: head/misc/openhantek/Makefile =================================================================== --- head/misc/openhantek/Makefile (revision 518076) +++ head/misc/openhantek/Makefile (revision 518077) @@ -1,27 +1,24 @@ # $FreeBSD$ PORTNAME= openhantek -DISTVERSION= g20190903 +DISTVERSION= 3.0.0 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfftw3.so:math/fftw3 USES= cmake compiler:c++11-lang gl localbase qt:5 USE_GITHUB= yes GH_ACCOUNT= OpenHantek -GH_TAGNAME= e7e0c7b -USE_QT= core gui opengl printsupport widgets buildtools_build qmake_build +GH_PROJECT= OpenHantek6022 # there's also the openhantek account +USE_QT= core gui opengl printsupport widgets buildtools_build linguist_build qmake_build USE_GL= gl glu PLIST_FILES= bin/OpenHantek - -post-patch: - @${GREP} -rl "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} 's|||' .include Index: head/misc/openhantek/distinfo =================================================================== --- head/misc/openhantek/distinfo (revision 518076) +++ head/misc/openhantek/distinfo (revision 518077) @@ -1,3 +1,3 @@ -TIMESTAMP = 1573368045 -SHA256 (OpenHantek-openhantek-g20190903-e7e0c7b_GH0.tar.gz) = c4237a4a84f0efaa889bda570f442eb08bcf1b157f0aae8da0979e6fd59d9ef5 -SIZE (OpenHantek-openhantek-g20190903-e7e0c7b_GH0.tar.gz) = 11613267 +TIMESTAMP = 1574309115 +SHA256 (OpenHantek-OpenHantek6022-3.0.0_GH0.tar.gz) = 7c756a6d3861b08a48a15fe14f633018c7ce8fba2f6a4961d5b403144f71f9e9 +SIZE (OpenHantek-OpenHantek6022-3.0.0_GH0.tar.gz) = 19666574 Index: head/misc/openhantek/files/patch-openhantek_src_usb_uploadFirmware.cpp =================================================================== --- head/misc/openhantek/files/patch-openhantek_src_usb_uploadFirmware.cpp (nonexistent) +++ head/misc/openhantek/files/patch-openhantek_src_usb_uploadFirmware.cpp (revision 518077) @@ -0,0 +1,12 @@ +--- openhantek/src/usb/uploadFirmware.cpp.orig 2019-11-21 06:06:23 UTC ++++ openhantek/src/usb/uploadFirmware.cpp +@@ -39,7 +39,9 @@ bool UploadFirmware::startUpload(USBDevice *device) { + temp_firmware_path->open(); + + /* We need to claim the first interface */ ++#if !defined(__FreeBSD__) + libusb_set_auto_detach_kernel_driver(handle, 1); ++#endif + int status = libusb_claim_interface(handle, 0); + if (status != LIBUSB_SUCCESS) { + errorMessage = TR("libusb_claim_interface() failed: %1").arg(libusb_error_name(status)); Property changes on: head/misc/openhantek/files/patch-openhantek_src_usb_uploadFirmware.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/openhantek/pkg-message =================================================================== --- head/misc/openhantek/pkg-message (nonexistent) +++ head/misc/openhantek/pkg-message (revision 518077) @@ -0,0 +1,38 @@ +[ +{ type: install + message: <