git: 4455330ac3f7 - main - sysutils/pciutils: Update to 3.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 07 May 2023 16:13:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4455330ac3f7aa70fb4edbdfefc62b3202c2fae5

commit 4455330ac3f7aa70fb4edbdfefc62b3202c2fae5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-07 16:03:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-07 16:03:27 +0000

    sysutils/pciutils: Update to 3.10.0
    
    Changes:        https://github.com/pciutils/pciutils/blob/master/ChangeLog
---
 sysutils/pciutils/Makefile             |  2 +-
 sysutils/pciutils/distinfo             |  6 +++---
 sysutils/pciutils/files/patch-Makefile | 22 +++++++++++++---------
 3 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index d091a566796e..1a1b73f2196c 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pciutils
-PORTVERSION=	3.9.0
+PORTVERSION=	3.10.0
 CATEGORIES=	sysutils
 MASTER_SITES=	KERNEL_ORG/software/utils/pciutils \
 		LOCAL/sunpoet
diff --git a/sysutils/pciutils/distinfo b/sysutils/pciutils/distinfo
index fbbdbeb2adbd..4490fcd78285 100644
--- a/sysutils/pciutils/distinfo
+++ b/sysutils/pciutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674589548
-SHA256 (pciutils-3.9.0.tar.xz) = cdea7ae97239dee23249a09c68a19a287a3f109fbeb2c232ebb616cb38599012
-SIZE (pciutils-3.9.0.tar.xz) = 431624
+TIMESTAMP = 1683227595
+SHA256 (pciutils-3.10.0.tar.xz) = 238a2e27166730e53a17fe07bfad229e07fa39b618117e5944b6d7eda9fbb0e9
+SIZE (pciutils-3.10.0.tar.xz) = 444080
diff --git a/sysutils/pciutils/files/patch-Makefile b/sysutils/pciutils/files/patch-Makefile
index d6c4eaff5e3b..536b904e3597 100644
--- a/sysutils/pciutils/files/patch-Makefile
+++ b/sysutils/pciutils/files/patch-Makefile
@@ -1,16 +1,16 @@
---- Makefile.orig	2022-11-20 11:58:03 UTC
+--- Makefile.orig	2023-05-01 12:59:54 UTC
 +++ Makefile
 @@ -1,8 +1,8 @@
  # Makefile for The PCI Utilities
- # (c) 1998--2022 Martin Mares <mj@ucw.cz>
+ # (c) 1998--2023 Martin Mares <mj@ucw.cz>
  
 -OPT=-O2
 -CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
 +#OPT=-O2
 +CFLAGS+=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
  
- VERSION=3.9.0
- DATE=2022-11-20
+ VERSION=3.10.0
+ DATE=2023-05-01
 @@ -32,11 +32,11 @@ HWDB=
  ABI_VERSION=3
  
@@ -25,24 +25,28 @@
  MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
  INCDIR=$(PREFIX)/include
  LIBDIR=$(PREFIX)/lib
-@@ -46,11 +46,11 @@ PKGCFDIR=$(LIBDIR)/pkgconfig
+@@ -45,13 +45,13 @@ PKGCFDIR=$(LIBDIR)/pkgconfig
+ # Commands
  INSTALL=install
  DIRINSTALL=install -d
- STRIP=-s
 -ifdef CROSS_COMPILE
+-STRIP=--strip-program $(CROSS_COMPILE)-strip
 -CC=$(CROSS_COMPILE)gcc
 -else
+-STRIP=-s
 -CC=cc
 -endif
 +#ifdef CROSS_COMPILE
++#STRIP=--strip-program $(CROSS_COMPILE)-strip
 +#CC=$(CROSS_COMPILE)gcc
 +#else
++#STRIP=-s
 +#CC=cc
 +#endif
  AR=$(CROSS_COMPILE)ar
  RANLIB=$(CROSS_COMPILE)ranlib
  DLLTOOL=$(CROSS_COMPILE)dlltool
-@@ -66,7 +66,7 @@ PCIINC_INS=lib/config.h lib/header.h lib/pci.h lib/typ
+@@ -67,7 +67,7 @@ PCIINC_INS=lib/config.h lib/header.h lib/pci.h lib/typ
  
  export
  
@@ -51,7 +55,7 @@
  
  lib/$(PCIIMPLIB): $(PCIINC) force
  	$(MAKE) -C lib all
-@@ -82,8 +82,8 @@ PCIINC+=compat/getopt.h
+@@ -83,8 +83,8 @@ PCIINC+=compat/getopt.h
  COMMON+=compat/getopt.o
  endif
  
@@ -62,7 +66,7 @@
  
  LSPCIINC=lspci.h pciutils.h $(PCIINC)
  lspci.o: lspci.c $(LSPCIINC)
-@@ -106,7 +106,7 @@ update-pciids: update-pciids.sh
+@@ -107,7 +107,7 @@ update-pciids: update-pciids.sh
  	chmod +x $@
  
  # The example of use of libpci