summaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-lib/libpciaccess/fix-mtrr-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xorg-lib/libpciaccess/fix-mtrr-check.patch')
-rw-r--r--meta/packages/xorg-lib/libpciaccess/fix-mtrr-check.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libpciaccess/fix-mtrr-check.patch b/meta/packages/xorg-lib/libpciaccess/fix-mtrr-check.patch
new file mode 100644
index 0000000000..e2d9f62318
--- /dev/null
+++ b/meta/packages/xorg-lib/libpciaccess/fix-mtrr-check.patch
@@ -0,0 +1,19 @@
1---
2 configure.ac | 2 --
3 1 file changed, 2 deletions(-)
4
5--- libpciaccess-0.10.3.orig/configure.ac
6+++ libpciaccess-0.10.3/configure.ac
7@@ -89,12 +89,10 @@ esac
8 AM_CONDITIONAL(LINUX, [test "x$linux" = xyes])
9 AM_CONDITIONAL(FREEBSD, [test "x$freebsd" = xyes])
10 AM_CONDITIONAL(OPENBSD, [test "x$openbsd" = xyes])
11 AM_CONDITIONAL(SOLARIS, [test "x$solaris" = xyes])
12
13-AC_CHECK_FILE([/usr/include/asm/mtrr.h],
14- [have_mtrr_h="yes"], [have_mtrr_h="no"])
15 if test "x$have_mtrr_h" = xyes; then
16 AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])
17 fi
18
19 AC_SUBST(PCIACCESS_CFLAGS)