diff --git a/packages/x11/driver/xf86-video-openchrome/build b/packages/x11/driver/xf86-video-openchrome/build index 470a3f0af3..1a1885f09b 100755 --- a/packages/x11/driver/xf86-video-openchrome/build +++ b/packages/x11/driver/xf86-video-openchrome/build @@ -5,6 +5,9 @@ $SCRIPTS/build toolchain cd $PKG_BUILD + +xorg_drv_configure_prepend + ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ diff --git a/packages/x11/driver/xf86-video-openchrome/patches/10_cross-compile.diff b/packages/x11/driver/xf86-video-openchrome/patches/10_cross-compile.diff deleted file mode 100644 index afe46e0a38..0000000000 --- a/packages/x11/driver/xf86-video-openchrome/patches/10_cross-compile.diff +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur xf86-video-openchrome-0.2.903/configure xf86-video-openchrome-0.2.903.patch/configure ---- xf86-video-openchrome-0.2.903/configure 2009-05-18 21:39:54.297241592 +0200 -+++ xf86-video-openchrome-0.2.903.patch/configure 2009-05-18 21:39:22.851250949 +0200 -@@ -12859,7 +12859,7 @@ - if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 - else -- test "$cross_compiling" = yes && -+ test "$cross_compiling" = dummy && - { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 - $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} - { (exit 1); exit 1; }; } -@@ -12887,7 +12887,7 @@ - if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 - else -- test "$cross_compiling" = yes && -+ test "$cross_compiling" = dummy && - { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 - $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} - { (exit 1); exit 1; }; } -@@ -12915,7 +12915,7 @@ - if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 - else -- test "$cross_compiling" = yes && -+ test "$cross_compiling" = dummy && - { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 - $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} - { (exit 1); exit 1; }; }