diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2018-05-13 14:24:20 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2018-05-13 14:24:20 +0000 |
commit | dc790db2367d4974e263da5522311b2fea882121 (patch) | |
tree | c511e0f394f1f3f751e51c60f8ec34d6a330e6fe /www/nginx-devel/files | |
parent | Update databases/elixir-timex_ecto to version 3.3.0. (diff) |
Speed-up the port's build by enable multiple jobs build.
While I'm here update third-party vod module to recent 1.23 version.
Bump PORTREVISION.
PR: 228127
Notes
Notes:
svn path=/head/; revision=469797
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r-- | www/nginx-devel/files/extra-patch-nginx-vod-module-config | 4 | ||||
-rw-r--r-- | www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c | 20 |
2 files changed, 22 insertions, 2 deletions
diff --git a/www/nginx-devel/files/extra-patch-nginx-vod-module-config b/www/nginx-devel/files/extra-patch-nginx-vod-module-config index d71f81774644..de3a85fccc57 100644 --- a/www/nginx-devel/files/extra-patch-nginx-vod-module-config +++ b/www/nginx-devel/files/extra-patch-nginx-vod-module-config @@ -1,5 +1,5 @@ ---- ../nginx-vod-module-1.22/config.orig 2018-04-24 17:51:34.654430000 -0400 -+++ ../nginx-vod-module-1.22/config 2018-04-24 18:10:13.517041000 -0400 +--- ../nginx-vod-module-1.23/config.orig 2018-04-24 17:51:34.654430000 -0400 ++++ ../nginx-vod-module-1.23/config 2018-04-24 18:10:13.517041000 -0400 @@ -154,8 +154,12 @@ ngx_feature_run=no ngx_feature_incs="#include <libxml/parser.h> diff --git a/www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c b/www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c new file mode 100644 index 000000000000..0bbe7e427ed5 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c @@ -0,0 +1,20 @@ +--- ../nginx-vod-module-1.23/vod/filters/audio_encoder.c.orig 2018-05-13 10:05:51.704192000 -0400 ++++ ../nginx-vod-module-1.23/vod/filters/audio_encoder.c 2018-05-13 10:08:30.590029000 -0400 +@@ -100,7 +100,7 @@ + encoder->channel_layout = params->channel_layout; + encoder->channels = params->channels; + encoder->bit_rate = params->bitrate; +- encoder->flags |= CODEC_FLAG_GLOBAL_HEADER; // make the codec generate the extra data ++ encoder->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; // make the codec generate the extra data + + avrc = avcodec_open2(encoder, encoder_codec, NULL); + if (avrc < 0) +@@ -139,7 +139,7 @@ + { + audio_encoder_state_t* state = context; + +- if ((state->encoder->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE) != 0) ++ if ((state->encoder->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE) != 0) + { + return 0; + } |