From owner-svn-ports-all@freebsd.org Thu May 10 23:15:01 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E719FDA5C9; Thu, 10 May 2018 23:15:01 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C30C37E871; Thu, 10 May 2018 23:14:58 +0000 (UTC) (envelope-from sunpoet@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 3E80A2707E; Thu, 10 May 2018 23:14:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4ANEvju094999; Thu, 10 May 2018 23:14:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4ANEv7B094997; Thu, 10 May 2018 23:14:57 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201805102314.w4ANEv7B094997@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 10 May 2018 23:14:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469602 - in head/devel/libpci: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/libpci: . files X-SVN-Commit-Revision: 469602 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.25 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: Thu, 10 May 2018 23:15:01 -0000 Author: sunpoet Date: Thu May 10 23:14:57 2018 New Revision: 469602 URL: https://svnweb.freebsd.org/changeset/ports/469602 Log: Fix device scan - Bump PORTREVISION for package change PR: 227252 Reported by: doktornotor Tested by: Obtained from: https://github.com/pciutils/pciutils/commit/58d9f25f25c0070c3c3df3073f375d87a9163e88 Modified: head/devel/libpci/Makefile head/devel/libpci/files/patch-lib-fbsd-device.c Modified: head/devel/libpci/Makefile ============================================================================== --- head/devel/libpci/Makefile Thu May 10 23:14:51 2018 (r469601) +++ head/devel/libpci/Makefile Thu May 10 23:14:57 2018 (r469602) @@ -3,6 +3,7 @@ PORTNAME= libpci PORTVERSION= 3.5.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= KERNEL_ORG/software/utils/pciutils \ ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \ Modified: head/devel/libpci/files/patch-lib-fbsd-device.c ============================================================================== --- head/devel/libpci/files/patch-lib-fbsd-device.c Thu May 10 23:14:51 2018 (r469601) +++ head/devel/libpci/files/patch-lib-fbsd-device.c Thu May 10 23:14:57 2018 (r469602) @@ -1,5 +1,14 @@ --- lib/fbsd-device.c.orig 2017-11-17 12:57:00 UTC +++ lib/fbsd-device.c +@@ -143,7 +143,7 @@ fbsd_scan(struct pci_access *a) + t = pci_alloc_dev(a); + t->bus = matches[i].pc_sel.pc_bus; + t->dev = matches[i].pc_sel.pc_dev; +- t->dev = matches[i].pc_sel.pc_dev; ++ t->func = matches[i].pc_sel.pc_func; + t->domain = matches[i].pc_sel.pc_domain; + t->domain_16 = matches[i].pc_sel.pc_domain; + t->vendor_id = matches[i].pc_vendor; @@ -254,7 +254,7 @@ fbsd_read(struct pci_dev *d, int pos, by if (d->access->fd_rw < 0)