vice: fix build with giflib-5.1.0; prevent installation to /usr/lib64
This commit is contained in:
parent
77340f1ad5
commit
627d67fb98
1 changed files with 7 additions and 0 deletions
|
@ -23,3 +23,10 @@ if [ "$build_option_pulseaudio" ]; then
|
||||||
else
|
else
|
||||||
configure_args+=" --without-pulse"
|
configure_args+=" --without-pulse"
|
||||||
fi
|
fi
|
||||||
|
pre_configure() {
|
||||||
|
# make it build with giflib-5.1.0
|
||||||
|
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
|
||||||
|
sed -i "/EGifCloseFile/s:sdata->fd:&, NULL:g" src/gfxoutputdrv/gifdrv.c
|
||||||
|
# Do not install data to /usr/lib64
|
||||||
|
sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue