wine: fix sane related build failure
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Jul 2015 11:15:00 +0000 (13:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Jul 2015 15:16:40 +0000 (17:16 +0200)
commitff89e1eb0cdb8ebe9cbd2cf944f43ed132afcb17
treebe0974818cca8278269876ba0879f7cc9d94ae96
parentae0d54ab77a1dcb4af3b5515d3e3a99203e100f2
wine: fix sane related build failure

If sane is installed system-wide on the build machine, then the
sane-config binary found is the one of the system, which returns
incorrect library paths for cross-compilation.

To fix this, this commit adds a patch to wine to make it support a
SANE_CONFIG environment variable, and then adjusts wine.mk to
explicitly pass the path to $(STAGING_DIR)/usr/bin/sane-config.

Fixes:

  http://autobuild.buildroot.org/results/8bd/8bdc1eed55075313403aa8a6c9af6a427bce198e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/wine/0003-sane-config-fix.patch [new file with mode: 0644]
package/wine/wine.mk