aboutsummaryrefslogtreecommitdiff
path: root/devel/libpci/files
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-10-30 13:47:26 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-10-30 13:47:26 +0000
commitb97e9dc92d3df40aa5348a008602591b28430fa5 (patch)
tree3deb5d2b6c6eabcd011f282d9ce786279d2e330b /devel/libpci/files
parent97f8811dad0b8ef50f4fc6ea2e85d2491d1c6e17 (diff)
Notes
Diffstat (limited to 'devel/libpci/files')
-rw-r--r--devel/libpci/files/patch-Makefile13
-rw-r--r--devel/libpci/files/pci.h12
2 files changed, 25 insertions, 0 deletions
diff --git a/devel/libpci/files/patch-Makefile b/devel/libpci/files/patch-Makefile
new file mode 100644
index 000000000000..a17952c2b73a
--- /dev/null
+++ b/devel/libpci/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig Sat Jan 4 15:53:01 2003
++++ Makefile Fri Jun 13 21:20:28 2003
+@@ -2,9 +2,7 @@
+ # Makefile for Linux PCI Utilities
+ # (c) 1998--2003 Martin Mares <mj@ucw.cz>
+
+-OPT=-O2 -fomit-frame-pointer
+-#OPT=-O2 -g
+-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes
++CFLAGS += -Wall -W -Wno-parentheses -Wstrict-prototypes
+
+ VERSION=2.1.11
+ #SUFFIX=-pre2
diff --git a/devel/libpci/files/pci.h b/devel/libpci/files/pci.h
new file mode 100644
index 000000000000..f1d60518aed4
--- /dev/null
+++ b/devel/libpci/files/pci.h
@@ -0,0 +1,12 @@
+--- lib/pci.h.orig Thu Oct 30 15:57:58 2003
++++ lib/pci.h Thu Oct 30 16:04:23 2003
+@@ -11,8 +11,7 @@
+ #ifndef _PCI_LIB_H
+ #define _PCI_LIB_H
+
+-#include "config.h"
+-#include "header.h"
++#define OS_FREEBSD
+
+ /*
+ * Types