-
Notifications
You must be signed in to change notification settings - Fork 4
/
sysutils-pciutils.diff
41 lines (40 loc) · 1.47 KB
/
sysutils-pciutils.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# HG changeset patch
# Parent f8491ff906928ceadfbd577a9c0ad36daaef0775
diff -r f8491ff90692 sysutils/pciutils/distinfo
--- a/sysutils/pciutils/distinfo Sat Mar 14 00:06:16 2015 -0400
+++ b/sysutils/pciutils/distinfo Sat Mar 14 00:06:23 2015 -0400
@@ -7,3 +7,4 @@
SHA1 (patch-ab) = 8837e3a6e6c87802614b50ac511d1c1b7375b908
SHA1 (patch-ac) = 4b90e99c051391b9cd3a6c1f5781f41b4a855c29
SHA1 (patch-ad) = bfe9069e96fd46798afec73c93ad71db3a0e0e37
+SHA1 (patch-aq) = 5546296816722c621aeb777ccd6f316c04173182
diff -r f8491ff90692 sysutils/pciutils/patches/patch-aq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/pciutils/patches/patch-aq Sat Mar 14 00:06:23 2015 -0400
@@ -0,0 +1,26 @@
+diff -r 285cb9c34d4e lib/configure
+--- lib/configure Fri Jul 20 01:48:40 2012 +0000
++++ lib/configure Fri Jul 20 01:49:39 2012 +0000
+@@ -68,7 +68,7 @@
+ echo >>$c '#define PCI_PATH_PROC_BUS_PCI "/proc/bus/pci"'
+ echo >>$c '#define PCI_PATH_SYS_BUS_PCI "/sys/bus/pci"'
+ case $cpu in
+- i?86|x86_64) echo_n " i386-ports"
++ disabled-i?86|disabled-x86_64) echo_n " i386-ports"
+ echo >>$c '#define PCI_HAVE_PM_INTEL_CONF'
+ ;;
+ esac
+diff -r 285cb9c34d4e lib/names-net.c
+--- lib/names-net.c Fri Jul 20 01:48:40 2012 +0000
++++ lib/names-net.c Fri Jul 20 01:49:39 2012 +0000
+@@ -5,6 +5,10 @@
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
++
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE
++#endif
+
+ #include <string.h>
+ #include <stdlib.h>