vlc: fix gcc6 build again
This commit is contained in:
parent
c1d9ac97b1
commit
90159a7c5c
|
@ -71,8 +71,7 @@ pre_configure() {
|
||||||
sed -i -e "s|/usr/share/fonts/truetype/freefont|/usr/share/fonts/TTF|" \
|
sed -i -e "s|/usr/share/fonts/truetype/freefont|/usr/share/fonts/TTF|" \
|
||||||
-e 's,freetype/ftsynth.h,freetype2/ftsynth.h,' \
|
-e 's,freetype/ftsynth.h,freetype2/ftsynth.h,' \
|
||||||
modules/text_renderer/freetype.c
|
modules/text_renderer/freetype.c
|
||||||
_gccver=$(gcc --version|awk '/^gcc / { print $3 }')
|
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
|
||||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
|
||||||
# Apply the gcc6 patches
|
# Apply the gcc6 patches
|
||||||
patch -p1 < ${FILESDIR}/vlc-2.2.4-gcc6_fixes-1.patch
|
patch -p1 < ${FILESDIR}/vlc-2.2.4-gcc6_fixes-1.patch
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue