summaryrefslogtreecommitdiff
path: root/user/pciutils/fix-linking-pci-malloc-Makefile.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 23:14:58 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 23:14:58 -0500
commitbc67c03b9689bdd3015d63ce401d0af4b835abc9 (patch)
tree2660faffaed5377a21573684cdd2654f2f3d94f2 /user/pciutils/fix-linking-pci-malloc-Makefile.patch
parente4c9aef3202e2b476c8573acbf45361afe69ac60 (diff)
downloadpackages-bc67c03b9689bdd3015d63ce401d0af4b835abc9.tar.gz
packages-bc67c03b9689bdd3015d63ce401d0af4b835abc9.tar.bz2
packages-bc67c03b9689bdd3015d63ce401d0af4b835abc9.tar.xz
packages-bc67c03b9689bdd3015d63ce401d0af4b835abc9.zip
user/pciutils: pull in, bump, fix
Diffstat (limited to 'user/pciutils/fix-linking-pci-malloc-Makefile.patch')
-rw-r--r--user/pciutils/fix-linking-pci-malloc-Makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/pciutils/fix-linking-pci-malloc-Makefile.patch b/user/pciutils/fix-linking-pci-malloc-Makefile.patch
new file mode 100644
index 000000000..a2b5f01f1
--- /dev/null
+++ b/user/pciutils/fix-linking-pci-malloc-Makefile.patch
@@ -0,0 +1,11 @@
+--- pciutils-3.2.1/Makefile.orig
++++ pciutils-3.2.1/Makefile
+@@ -2,7 +2,7 @@
+ # (c) 1998--2013 Martin Mares <mj@ucw.cz>
+
+ OPT=-O2
+-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
++CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC
+
+ VERSION=3.2.1
+ DATE=2013-11-10