1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update to 3.5.6

Changes:	https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ChangeLog
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-11-19 03:31:33 +00:00
parent 5de1ec4251
commit 6f992983df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454473
3 changed files with 25 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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;
}