From owner-svn-ports-all@freebsd.org Wed Aug 7 09:59:53 2019 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 47044C51A7; Wed, 7 Aug 2019 09:59:53 +0000 (UTC) (envelope-from zeising@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) server-signature RSA-PSS (4096 bits) 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 463RnP16dhz4VP8; Wed, 7 Aug 2019 09:59:53 +0000 (UTC) (envelope-from zeising@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 080A7AC38; Wed, 7 Aug 2019 09:59:53 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x779xqCc040742; Wed, 7 Aug 2019 09:59:52 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x779xqMt040740; Wed, 7 Aug 2019 09:59:52 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201908070959.x779xqMt040740@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Wed, 7 Aug 2019 09:59:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r508309 - in branches/2019Q3/devel/libpciaccess: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: in branches/2019Q3/devel/libpciaccess: . files X-SVN-Commit-Revision: 508309 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.29 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, 07 Aug 2019 09:59:53 -0000 Author: zeising Date: Wed Aug 7 09:59:52 2019 New Revision: 508309 URL: https://svnweb.freebsd.org/changeset/ports/508309 Log: MFH: r508214 devel/libpciaccess: Update to 0.16, fix regression Update devel/libpciaccess to 0.16. All local patches have been included in this version, so delete those files. Add a patch to fix a regression when using certain video drivers, xf86-video-mga, xf86-video-nv and xf86-video-vesa, at least, have been reported to have issues with 0.14. PR: 239065 (tracking the regression) Reported by: george@m5p.com, several others MFC after: 2019Q3 (fixes regression in 0.14) Sponsored by: B3 Init Obtained from: Graphics Team dev repo Approved by: ports-secteam (miwi) Added: branches/2019Q3/devel/libpciaccess/files/patch-src_freebsd__pci.c - copied unchanged from r508214, head/devel/libpciaccess/files/patch-src_freebsd__pci.c Deleted: branches/2019Q3/devel/libpciaccess/files/patch-configure.ac branches/2019Q3/devel/libpciaccess/files/patch-src-common_init.c branches/2019Q3/devel/libpciaccess/files/patch-src-freebsd_pci.c branches/2019Q3/devel/libpciaccess/files/patch-src-pciaccess_private.h Modified: branches/2019Q3/devel/libpciaccess/Makefile branches/2019Q3/devel/libpciaccess/distinfo Directory Properties: branches/2019Q3/ (props changed) Modified: branches/2019Q3/devel/libpciaccess/Makefile ============================================================================== --- branches/2019Q3/devel/libpciaccess/Makefile Wed Aug 7 09:58:15 2019 (r508308) +++ branches/2019Q3/devel/libpciaccess/Makefile Wed Aug 7 09:59:52 2019 (r508309) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libpciaccess -PORTVERSION= 0.14 +PORTVERSION= 0.16 CATEGORIES= devel MAINTAINER= x11@FreeBSD.org @@ -9,8 +9,6 @@ COMMENT= Generic PCI access library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING - -USES= autoreconf BUILD_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:misc/pciids RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:misc/pciids Modified: branches/2019Q3/devel/libpciaccess/distinfo ============================================================================== --- branches/2019Q3/devel/libpciaccess/distinfo Wed Aug 7 09:58:15 2019 (r508308) +++ branches/2019Q3/devel/libpciaccess/distinfo Wed Aug 7 09:59:52 2019 (r508309) @@ -1,3 +1,3 @@ -TIMESTAMP = 1560371905 -SHA256 (xorg/lib/libpciaccess-0.14.tar.bz2) = 3df543e12afd41fea8eac817e48cbfde5aed8817b81670a4e9e493bb2f5bf2a4 -SIZE (xorg/lib/libpciaccess-0.14.tar.bz2) = 361375 +TIMESTAMP = 1564692641 +SHA256 (xorg/lib/libpciaccess-0.16.tar.bz2) = 214c9d0d884fdd7375ec8da8dcb91a8d3169f263294c9a90c575bf1938b9f489 +SIZE (xorg/lib/libpciaccess-0.16.tar.bz2) = 366603 Copied: branches/2019Q3/devel/libpciaccess/files/patch-src_freebsd__pci.c (from r508214, head/devel/libpciaccess/files/patch-src_freebsd__pci.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q3/devel/libpciaccess/files/patch-src_freebsd__pci.c Wed Aug 7 09:59:52 2019 (r508309, copy of r508214, head/devel/libpciaccess/files/patch-src_freebsd__pci.c) @@ -0,0 +1,36 @@ +--- src/freebsd_pci.c.orig 2019-07-17 16:25:27 UTC ++++ src/freebsd_pci.c +@@ -421,24 +421,6 @@ pci_system_freebsd_destroy( void ) + freebsd_pci_sys = NULL; + } + +-static int +-pci_device_freebsd_has_kernel_driver( struct pci_device *dev ) +-{ +- struct pci_io io; +- +- io.pi_sel.pc_domain = dev->domain; +- io.pi_sel.pc_bus = dev->bus; +- io.pi_sel.pc_dev = dev->dev; +- io.pi_sel.pc_func = dev->func; +- +- if ( ioctl( freebsd_pci_sys->pcidev, PCIOCATTACHED, &io ) < 0 ) { +- return 0; +- } +- +- /* if io.pi_data is 0, no driver is attached */ +- return io.pi_data == 0 ? 0 : 1; +-} +- + static struct pci_io_handle * + pci_device_freebsd_open_legacy_io( struct pci_io_handle *ret, + struct pci_device *dev, pciaddr_t base, +@@ -614,7 +596,7 @@ static const struct pci_system_methods freebsd_pci_met + .fill_capabilities = pci_fill_capabilities_generic, + .enable = NULL, + .boot_vga = NULL, +- .has_kernel_driver = pci_device_freebsd_has_kernel_driver, ++ .has_kernel_driver = NULL, + + .open_device_io = pci_device_freebsd_open_io, + .open_legacy_io = pci_device_freebsd_open_legacy_io,