diff --git a/srcpkgs/attract/patches/ffmpeg4.patch b/srcpkgs/attract/patches/ffmpeg4.patch new file mode 100644 index 0000000000..ebb5eb3ec0 --- /dev/null +++ b/srcpkgs/attract/patches/ffmpeg4.patch @@ -0,0 +1,26 @@ +--- src/media.cpp 2017-11-19 00:08:04.000000000 +0100 ++++ src/media.cpp 2018-05-08 22:32:36.387186528 +0200 +@@ -970,11 +970,11 @@ + + size_t avio_ctx_buffer_size = 4096; + uint8_t *avio_ctx_buffer = (uint8_t *)av_malloc( avio_ctx_buffer_size +- + FF_INPUT_BUFFER_PADDING_SIZE ); ++ + AV_INPUT_BUFFER_PADDING_SIZE ); + + memset( avio_ctx_buffer + avio_ctx_buffer_size, + 0, +- FF_INPUT_BUFFER_PADDING_SIZE ); ++ AV_INPUT_BUFFER_PADDING_SIZE ); + + m_imp->m_io_ctx = avio_alloc_context( avio_ctx_buffer, + avio_ctx_buffer_size, 0, z, &fe_zip_read, +@@ -1030,7 +1030,7 @@ + // + m_audio->buffer = (sf::Int16 *)av_malloc( + MAX_AUDIO_FRAME_SIZE +- + FF_INPUT_BUFFER_PADDING_SIZE ++ + AV_INPUT_BUFFER_PADDING_SIZE + + codec_ctx->sample_rate ); + + sf::SoundStream::initialize( + diff --git a/srcpkgs/attract/template b/srcpkgs/attract/template index 4e303bda65..1279f6b1de 100644 --- a/srcpkgs/attract/template +++ b/srcpkgs/attract/template @@ -1,7 +1,7 @@ # Template file for 'attract' pkgname=attract version=2.3.0 -revision=2 +revision=3 build_style=gnu-makefile hostmakedepends="pkg-config" make_build_args="VERBOSE=1"