diff options
Diffstat (limited to 'main/flashrom/spi-ioctl.patch')
-rw-r--r-- | main/flashrom/spi-ioctl.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main/flashrom/spi-ioctl.patch b/main/flashrom/spi-ioctl.patch index 235f2d508f..83c57d82e9 100644 --- a/main/flashrom/spi-ioctl.patch +++ b/main/flashrom/spi-ioctl.patch @@ -1,5 +1,5 @@ ---- flashrom-0.9.7.orig/linux_spi.c -+++ flashrom-0.9.7/linux_spi.c +--- flashrom-0.9.8.orig/linux_spi.c ++++ flashrom-0.9.8/linux_spi.c @@ -26,6 +26,7 @@ #include <errno.h> #include <ctype.h> @@ -8,8 +8,8 @@ #include <linux/types.h> #include <linux/spi/spidev.h> #include <sys/ioctl.h> ---- flashrom-0.9.7.orig/linux_spi.c -+++ flashrom-0.9.7/linux_spi.c +--- flashrom-0.9.8.orig/linux_spi.c ++++ flashrom-0.9.8/linux_spi.c @@ -22,7 +22,7 @@ #include <stdio.h> #include <string.h> @@ -19,12 +19,12 @@ #include <errno.h> #include <ctype.h> #include <unistd.h> ---- flashrom-0.9.7.orig/hwaccess.h -+++ flashrom-0.9.7/hwaccess.h +--- flashrom-0.9.8.orig/hwaccess.h ++++ flashrom-0.9.8/hwaccess.h @@ -25,9 +25,7 @@ #define __HWACCESS_H__ 1 - #if defined (__i386__) || defined (__x86_64__) + #if IS_X86 -#if defined(__GLIBC__) #include <sys/io.h> -#endif |