From owner-svn-ports-all@freebsd.org Wed Dec 2 21:05:56 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65EA14A6168; Wed, 2 Dec 2020 21:05:56 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmWj02SGxz3pCd; Wed, 2 Dec 2020 21:05:56 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 435035EE8; Wed, 2 Dec 2020 21:05:56 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B2L5ueG062962; Wed, 2 Dec 2020 21:05:56 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0B2L5ubU062961; Wed, 2 Dec 2020 21:05:56 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202012022105.0B2L5ubU062961@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 2 Dec 2020 21:05:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r556853 - head/devel/urjtag X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/devel/urjtag X-SVN-Commit-Revision: 556853 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 21:05:56 -0000 Author: yuri Date: Wed Dec 2 21:05:55 2020 New Revision: 556853 URL: https://svnweb.freebsd.org/changeset/ports/556853 Log: devel/urjtag: Add the NOASYNC option to possibly work around bugs like bug#251533 PR: 251533 Reported by: Torfinn Ingolfsen Modified: head/devel/urjtag/Makefile Modified: head/devel/urjtag/Makefile ============================================================================== --- head/devel/urjtag/Makefile Wed Dec 2 21:01:59 2020 (r556852) +++ head/devel/urjtag/Makefile Wed Dec 2 21:05:55 2020 (r556853) @@ -3,7 +3,7 @@ PORTNAME= urjtag DISTVERSION= 2019.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF @@ -23,7 +23,7 @@ CONFIGURE_ARGS= --enable-stapl INSTALL_TARGET= install-strip -OPTIONS_DEFINE= FTDI JEDEC NLS PYTHON USB +OPTIONS_DEFINE= FTDI JEDEC NOASYNC NLS PYTHON USB OPTIONS_DEFAULT= FTDI USB OPTIONS_SUB= yes @@ -34,6 +34,8 @@ FTDI_CONFIGURE_WITH= libftdi JEDEC_DESC= Experimental JEDEC flash detection JEDEC_CONFIGURE_ENABLE= jedec-exp +NOASYNC_DESC= Disable the libftdi async mode # possible workaround for bugs like bug#251533 + NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls @@ -43,5 +45,8 @@ PYTHON_BROKEN= ld: error: unable to find library -l- USB_DESC= USB JTAG adapters support #USB_CONFIGURE_ON= --with-libusb=/usr # causes libusb to not be recognized: https://sourceforge.net/p/urjtag/bugs/133/ USB_CONFIGURE_OFF= --without-libusb + +post-patch-NOASYNC-on: + @${REINPLACE_CMD} -e 's|"ftdi_read_data_submit"|"ftdi_read_data_submitx"|' ${WRKSRC}/configure .include