Skip to content

Commit

Permalink
sysutils/pciutils: Update to 3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 7, 2023
1 parent 1ee6623 commit 4455330
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
6 changes: 3 additions & 3 deletions 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
22 changes: 13 additions & 9 deletions 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

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

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

Expand All @@ -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
Expand Down

0 comments on commit 4455330

Please sign in to comment.