ports/140315: [PATCH] devel/libpci: update to 3.1.4
Florian Smeets
flo at kasimir.com
Thu Nov 5 14:50:04 UTC 2009
>Number: 140315
>Category: ports
>Synopsis: [PATCH] devel/libpci: update to 3.1.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 05 14:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Florian Smeets
>Release: FreeBSD 7.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD mail.solomo.de 7.2-STABLE FreeBSD 7.2-STABLE #10: Fri Oct 16 15:21:55 CEST 2009
>Description:
- Update to 3.1.4
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- libpci-3.1.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/libpci.orig/Makefile /usr/ports/devel/libpci/Makefile
--- /usr/ports/devel/libpci.orig/Makefile 2009-08-19 21:50:30.000000000 +0200
+++ /usr/ports/devel/libpci/Makefile 2009-11-05 15:24:58.000000000 +0100
@@ -6,8 +6,7 @@
#
PORTNAME= libpci
-PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTVERSION= 3.1.4
CATEGORIES= devel
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
${MASTER_SITE_KERNEL_ORG} \
diff -ruN --exclude=CVS /usr/ports/devel/libpci.orig/distinfo /usr/ports/devel/libpci/distinfo
--- /usr/ports/devel/libpci.orig/distinfo 2007-10-28 22:24:39.000000000 +0100
+++ /usr/ports/devel/libpci/distinfo 2009-11-05 15:24:58.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (pciutils-2.2.8.tar.gz) = c0b742521a13ef624b9a0a237f46c1c8
-SHA256 (pciutils-2.2.8.tar.gz) = 8bdbcac28a80e05799c3e788bbb24417059537aff53b8bf16c7c8e08b3979fa2
-SIZE (pciutils-2.2.8.tar.gz) = 232602
+MD5 (pciutils-3.1.4.tar.gz) = 63567627e6a73b6c8c29d08d3f5e640c
+SHA256 (pciutils-3.1.4.tar.gz) = 676b941ddaf912387092c6925597b14cef4f35f495bdbb229c1e5947151a1b20
+SIZE (pciutils-3.1.4.tar.gz) = 305747
diff -ruN --exclude=CVS /usr/ports/devel/libpci.orig/files/patch-Makefile /usr/ports/devel/libpci/files/patch-Makefile
--- /usr/ports/devel/libpci.orig/files/patch-Makefile 2007-11-11 16:53:03.000000000 +0100
+++ /usr/ports/devel/libpci/files/patch-Makefile 2009-11-05 15:24:58.000000000 +0100
@@ -1,12 +1,12 @@
---- Makefile.orig Sat Jan 4 15:53:01 2003
-+++ Makefile Fri Jun 13 21:20:28 2003
+--- ./Makefile.orig 2009-08-14 12:33:49.000000000 +0000
++++ ./Makefile 2009-11-05 14:19:37.000000000 +0000
@@ -1,8 +1,7 @@
# Makefile for The PCI Utilities
- # (c) 1998--2007 Martin Mares <mj at ucw.cz>
+ # (c) 1998--2009 Martin Mares <mj at ucw.cz>
-OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-fPIC -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
- VERSION=2.2.8
- DATE=2007-10-19
+ VERSION=3.1.4
+ DATE=2009-08-14
diff -ruN --exclude=CVS /usr/ports/devel/libpci.orig/files/patch-lib::Makefile /usr/ports/devel/libpci/files/patch-lib::Makefile
--- /usr/ports/devel/libpci.orig/files/patch-lib::Makefile 2007-11-11 16:53:03.000000000 +0100
+++ /usr/ports/devel/libpci/files/patch-lib::Makefile 2009-11-05 15:24:58.000000000 +0100
@@ -1,10 +1,10 @@
---- lib/Makefile.orig Thu Dec 26 22:28:33 2002
-+++ lib/Makefile Sat Jun 28 05:39:36 2003
-@@ -56,6 +56,7 @@
+--- ./lib/Makefile.orig 2009-11-05 14:19:48.000000000 +0000
++++ ./lib/Makefile 2009-11-05 14:20:01.000000000 +0000
+@@ -49,6 +49,7 @@
rm -f $@
$(AR) rcs $@ $^
$(RANLIB) $@
+ $(CC) $(CFLAGS) -shared $^ -o libpci.so
-
- $(PCILIBPC): $(PCILIBPC).in
- sed <$< >$@ -e 's, at PREFIX@,$(PREFIX),' \
+ else
+ CFLAGS += -fPIC -fvisibility=hidden
+ $(PCILIB): $(addsuffix .o,$(OBJS))
diff -ruN --exclude=CVS /usr/ports/devel/libpci.orig/files/pci.h /usr/ports/devel/libpci/files/pci.h
--- /usr/ports/devel/libpci.orig/files/pci.h 2007-10-28 22:24:39.000000000 +0100
+++ /usr/ports/devel/libpci/files/pci.h 2009-11-05 15:24:58.000000000 +0100
@@ -1,15 +1,17 @@
---- lib/pci.h.orig Thu Oct 30 15:57:58 2003
-+++ lib/pci.h Thu Oct 30 16:04:23 2003
-@@ -9,9 +9,9 @@
- #ifndef _PCI_LIB_H
+--- ./lib/pci.h.orig 2009-11-05 14:12:36.000000000 +0000
++++ ./lib/pci.h 2009-11-05 14:13:09.000000000 +0000
+@@ -10,11 +10,11 @@
#define _PCI_LIB_H
+ #ifndef PCI_CONFIG_H
-#include "config.h"
++#include <pci/config.h>
+ #endif
+
-#include "header.h"
-#include "types.h"
-+#include <pci/config.h>
+#include <pci/header.h>
+#include <pci/types.h>
- #define PCI_LIB_VERSION 0x020204
+ #define PCI_LIB_VERSION 0x030100
--- libpci-3.1.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list