From 06d3ae8210c86ef18d80d98711370282b0382397 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sun, 19 Nov 2017 03:31:33 +0000 Subject: Update to 3.5.6 Changes: https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ChangeLog --- devel/libpci/Makefile | 4 ++-- devel/libpci/distinfo | 6 +++--- devel/libpci/files/patch-lib-fbsd-device.c | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 devel/libpci/files/patch-lib-fbsd-device.c (limited to 'devel') diff --git a/devel/libpci/Makefile b/devel/libpci/Makefile index 1ff9dd409ade..f268d25a0f04 100644 --- a/devel/libpci/Makefile +++ b/devel/libpci/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libpci -PORTVERSION= 3.5.5 +PORTVERSION= 3.5.6 CATEGORIES= devel MASTER_SITES= KERNEL_ORG/software/utils/pciutils \ ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \ @@ -37,7 +37,7 @@ LIBPCI_FILES= include/pci/config.h \ post-patch: @${LN} -s . ${WRKSRC}/lib/pci @${REINPLACE_CMD} -e '/^CC=/d; /^CFLAGS=/ s|=|+=|; /^IDSDIR=/ s|$$|/pciids|; /^OPT=/d; /^PREFIX=/d' ${WRKSRC}/Makefile - @${REINPLACE_CMD} 's|^#include "|&pci/|' ${WRKSRC}/lib/pci.h + @${REINPLACE_CMD} -e 's|^#include "|&pci/|' ${WRKSRC}/lib/pci.h do-configure: @cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} lib/config.h diff --git a/devel/libpci/distinfo b/devel/libpci/distinfo index 0c5824f66f3f..04efd47d6f50 100644 --- a/devel/libpci/distinfo +++ b/devel/libpci/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1499364176 -SHA256 (pciutils-3.5.5.tar.xz) = 1d62f8fa192f90e61c35a6fc15ff3cb9a7a792f782407acc42ef67817c5939f5 -SIZE (pciutils-3.5.5.tar.xz) = 324676 +TIMESTAMP = 1511061060 +SHA256 (pciutils-3.5.6.tar.xz) = f346eeb90cce0910c05b877fe49eadc760fa084c0455fd313e39d4b2c2d4bb21 +SIZE (pciutils-3.5.6.tar.xz) = 328256 diff --git a/devel/libpci/files/patch-lib-fbsd-device.c b/devel/libpci/files/patch-lib-fbsd-device.c new file mode 100644 index 000000000000..6f32908b6412 --- /dev/null +++ b/devel/libpci/files/patch-lib-fbsd-device.c @@ -0,0 +1,20 @@ +--- lib/fbsd-device.c.orig 2017-11-17 12:57:00 UTC ++++ lib/fbsd-device.c +@@ -254,7 +254,7 @@ fbsd_read(struct pci_dev *d, int pos, by + + if (d->access->fd_rw < 0) + { +- d->access->warn("fbsd_read: missing permissions"); ++ d->access->warning("fbsd_read: missing permissions"); + return 0; + } + +@@ -303,7 +303,7 @@ fbsd_write(struct pci_dev *d, int pos, b + + if (d->access->fd_rw < 0) + { +- d->access->warn("fbsd_write: missing permissions"); ++ d->access->warning("fbsd_write: missing permissions"); + return 0; + } + -- cgit