diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2020-04-27 17:33:31 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2020-04-27 17:33:31 +0000 |
commit | be672081d74efa1c6600080a4d916175d0d32022 (patch) | |
tree | 1ae2f6e01640875894af1a938e39c06e304456fc /www/nginx-devel/files | |
parent | Update to 1.11.0. (diff) |
Convert third-party ngx_http_h264_streaming module to dynamic.
Bump PORTREVISION.
Notes
Notes:
svn path=/head/; revision=533158
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r-- | www/nginx-devel/files/extra-patch-nginx_mod_h264_streaming-config | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-nginx_mod_h264_streaming-config b/www/nginx-devel/files/extra-patch-nginx_mod_h264_streaming-config new file mode 100644 index 000000000000..1acd8cd12405 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-nginx_mod_h264_streaming-config @@ -0,0 +1,41 @@ +--- ../nginx_mod_h264_streaming-2.2.7/config.orig 2020-04-27 12:01:37.153986000 -0400 ++++ ../nginx_mod_h264_streaming-2.2.7/config 2020-04-27 12:16:52.832788000 -0400 +@@ -1,26 +1,19 @@ + ngx_addon_name=ngx_http_h264_streaming_module +-HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_h264_streaming_module" +-CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -DBUILDING_NGINX" +- +-H264_STREAMING_MODULE_SOURCES="$ngx_addon_dir/src/ngx_http_h264_streaming_module.c \ ++ngx_module_name="$ngx_addon_name" ++ngx_module_type=HTTP_AUX_FILTER ++ngx_module_srcs="$ngx_addon_dir/src/ngx_http_h264_streaming_module.c \ + $ngx_addon_dir/src/moov.c \ + $ngx_addon_dir/src/mp4_io.c \ + $ngx_addon_dir/src/mp4_reader.c \ + $ngx_addon_dir/src/mp4_writer.c \ + $ngx_addon_dir/src/output_bucket.c \ + $ngx_addon_dir/src/output_mp4.c" +- +-for streaming_module_source in $H264_STREAMING_MODULE_SOURCES +-do +- already_included=NO +- for ngx_addon_src in $NGX_ADDON_SRCS +- do +- if [ "`basename $ngx_addon_src`" = "`basename $streaming_module_source`" ]; then +- already_included=YES +- break +- fi +- done +- if [ "$already_included" = "NO" ]; then +- NGX_ADDON_SRCS="$NGX_ADDON_SRCS $streaming_module_source" +- fi +-done ++ngx_module_deps="$ngx_addon_dir/src/mod_streaming_export.h \ ++ $ngx_addon_dir/src/moov.h \ ++ $ngx_addon_dir/src/mp4_io.h \ ++ $ngx_addon_dir/src/mp4_process.h \ ++ $ngx_addon_dir/src/mp4_reader.h \ ++ $ngx_addon_dir/src/mp4_writer.h \ ++ $ngx_addon_dir/src/output_bucket.h \ ++ $ngx_addon_dir/src/output_mp4.h" ++. auto/module |