summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xlib_libpciaccess/xlib_libpciaccess-0.10.3-fix_mtrr_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/xlib_libpciaccess/xlib_libpciaccess-0.10.3-fix_mtrr_check.patch')
-rw-r--r--package/x11r7/xlib_libpciaccess/xlib_libpciaccess-0.10.3-fix_mtrr_check.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/x11r7/xlib_libpciaccess/xlib_libpciaccess-0.10.3-fix_mtrr_check.patch b/package/x11r7/xlib_libpciaccess/xlib_libpciaccess-0.10.3-fix_mtrr_check.patch
deleted file mode 100644
index 6608d0dbb..000000000
--- a/package/x11r7/xlib_libpciaccess/xlib_libpciaccess-0.10.3-fix_mtrr_check.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -uNr xlib_libpciaccess-0.10.3.orig/configure.ac xlib_libpciaccess-0.10.3/configure.ac
---- xlib_libpciaccess-0.10.3.orig/configure.ac 2009-02-09 18:35:50.000000000 -0800
-+++ xlib_libpciaccess-0.10.3/configure.ac 2009-02-09 18:38:56.000000000 -0800
-@@ -91,10 +91,12 @@
- AM_CONDITIONAL(OPENBSD, [test "x$openbsd" = xyes])
- AM_CONDITIONAL(SOLARIS, [test "x$solaris" = xyes])
-
--AC_CHECK_FILE([/usr/include/asm/mtrr.h],
-- [have_mtrr_h="yes"], [have_mtrr_h="no"])
--if test "x$have_mtrr_h" = xyes; then
-- AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])
-+if test "$cross_compiling" != yes; then
-+AC_CHECK_FILE([/usr/include/asm/mtrr.h],
-+ [have_mtrr_h="yes"], [have_mtrr_h="no"])
-+if test "x$have_mtrr_h" = xyes; then
-+ AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])
-+fi
- fi
-
- AC_SUBST(PCIACCESS_CFLAGS)