mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
VLC: fix build
This commit is contained in:
@@ -105,10 +105,10 @@ REQUIRES_devel="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:liba52$secondaryArchSuffix
|
||||
devel:libass$secondaryArchSuffix
|
||||
devel:libavcodec$secondaryArchSuffix >= 57
|
||||
devel:libavformat$secondaryArchSuffix >= 57
|
||||
devel:libavutil$secondaryArchSuffix >= 55
|
||||
devel:libass$secondaryArchSuffix # crashes vlc-cache-gen
|
||||
devel:libavcodec$secondaryArchSuffix >= 58
|
||||
devel:libavformat$secondaryArchSuffix >= 58
|
||||
devel:libavutil$secondaryArchSuffix >= 56
|
||||
devel:libbluray$secondaryArchSuffix
|
||||
devel:libcaca$secondaryArchSuffix
|
||||
devel:libcddb$secondaryArchSuffix
|
||||
@@ -121,7 +121,7 @@ BUILD_REQUIRES="
|
||||
devel:libenca$secondaryArchSuffix
|
||||
devel:libfaad$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libfluidsynth$secondaryArchSuffix
|
||||
devel:libfluidsynth$secondaryArchSuffix # crashes vlc-cache-gen
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libfribidi$secondaryArchSuffix
|
||||
@@ -156,7 +156,7 @@ BUILD_REQUIRES="
|
||||
devel:libspeex$secondaryArchSuffix
|
||||
devel:libssh2$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libswscale$secondaryArchSuffix >= 4
|
||||
devel:libswscale$secondaryArchSuffix >= 5
|
||||
devel:libtag$secondaryArchSuffix
|
||||
devel:libtheora$secondaryArchSuffix
|
||||
devel:libtwolame$secondaryArchSuffix
|
||||
@@ -181,6 +181,17 @@ BUILD_PREREQUIRES="
|
||||
cmd:xargs
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# Remove unnecessary warnings about unimplemented pragmas on gcc for now.
|
||||
# config.h:798: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
|
||||
# config.h:799: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
|
||||
# doesn't work for some reason
|
||||
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
|
||||
|
||||
# _FORTIFY_SOURCE is set to 2 by default on Haiku, remove redefine warnings.
|
||||
sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die
|
||||
}
|
||||
BUILD()
|
||||
{
|
||||
autoreconf
|
||||
|
||||
Reference in New Issue
Block a user