From owner-svn-ports-head@freebsd.org Mon Aug 5 21:29:29 2019 Return-Path: Delivered-To: svn-ports-head@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 3AD5DAE050; Mon, 5 Aug 2019 21:29:29 +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 462WB10n0Yz4FxP; Mon, 5 Aug 2019 21:29:29 +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 F1F8E21CCD; Mon, 5 Aug 2019 21:29:28 +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 x75LTS5L031564; Mon, 5 Aug 2019 21:29:28 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x75LTSkD031562; Mon, 5 Aug 2019 21:29:28 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201908052129.x75LTSkD031562@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Mon, 5 Aug 2019 21:29:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508214 - in head/devel/libpciaccess: . files X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: in head/devel/libpciaccess: . files X-SVN-Commit-Revision: 508214 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2019 21:29:29 -0000 Author: zeising Date: Mon Aug 5 21:29:28 2019 New Revision: 508214 URL: https://svnweb.freebsd.org/changeset/ports/508214 Log: 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 Added: head/devel/libpciaccess/files/patch-src_freebsd__pci.c (contents, props changed) Deleted: head/devel/libpciaccess/files/patch-configure.ac head/devel/libpciaccess/files/patch-src-common_init.c head/devel/libpciaccess/files/patch-src-freebsd_pci.c head/devel/libpciaccess/files/patch-src-pciaccess_private.h Modified: head/devel/libpciaccess/Makefile head/devel/libpciaccess/distinfo Modified: head/devel/libpciaccess/Makefile ============================================================================== --- head/devel/libpciaccess/Makefile Mon Aug 5 21:00:13 2019 (r508213) +++ head/devel/libpciaccess/Makefile Mon Aug 5 21:29:28 2019 (r508214) @@ -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: head/devel/libpciaccess/distinfo ============================================================================== --- head/devel/libpciaccess/distinfo Mon Aug 5 21:00:13 2019 (r508213) +++ head/devel/libpciaccess/distinfo Mon Aug 5 21:29:28 2019 (r508214) @@ -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 Added: head/devel/libpciaccess/files/patch-src_freebsd__pci.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libpciaccess/files/patch-src_freebsd__pci.c Mon Aug 5 21:29:28 2019 (r508214) @@ -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,