vice: fix build with giflib-5.1.0; prevent installation to /usr/lib64
This commit is contained in:
parent
77340f1ad5
commit
627d67fb98
|
@ -23,3 +23,10 @@ if [ "$build_option_pulseaudio" ]; then
|
|||
else
|
||||
configure_args+=" --without-pulse"
|
||||
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 New Issue
Block a user