summaryrefslogtreecommitdiff
path: root/www/nginx/files/extra-patch-nginx-thumbextractor-module-config
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2024-06-15 09:12:03 +0200
committerJochen Neumeister <joneum@FreeBSD.org>2024-06-15 09:14:52 +0200
commitf054a3856d6ba8527d2544f1a7d06eada1314987 (patch)
treeaf29bfb8256c704e0ff9f0e1f5aab7ddcdc5088d /www/nginx/files/extra-patch-nginx-thumbextractor-module-config
parentdevel/py-jsonrpclib-pelix: Update to 0.4.3.3 (diff)
www/nginx: Update to 1.26.0
Adoption of the changes of nginx-devel during the devel phase 1.25.x Changelogs: https://nginx.org/en/CHANGES-1.26 Sponsored by: Netzkommund GmbH
Diffstat (limited to 'www/nginx/files/extra-patch-nginx-thumbextractor-module-config')
-rw-r--r--www/nginx/files/extra-patch-nginx-thumbextractor-module-config25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/nginx/files/extra-patch-nginx-thumbextractor-module-config b/www/nginx/files/extra-patch-nginx-thumbextractor-module-config
new file mode 100644
index 000000000000..6324fd9fcc52
--- /dev/null
+++ b/www/nginx/files/extra-patch-nginx-thumbextractor-module-config
@@ -0,0 +1,25 @@
+--- ../nginx-video-thumbextractor-module-e81f850/config.orig 2024-02-22 08:49:55.972829000 -0500
++++ ../nginx-video-thumbextractor-module-e81f850/config 2024-02-22 08:50:05.036983000 -0500
+@@ -1,9 +1,14 @@
+ ngx_addon_name=ngx_http_video_thumbextractor_module
+-ngx_feature_libs="-lavformat -lavcodec -lavutil -lavfilter -lswscale -lswresample -lpostproc -ljpeg"
+-HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name"
+-CORE_INCS="$CORE_INCS \
+- $ngx_addon_dir/src \
+- $ngx_addon_dir/include"
+-NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
+- ${ngx_addon_dir}/src/ngx_http_video_thumbextractor_module.c"
+-CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
++ngx_module_libs="-lavformat -lavcodec -lavutil -lavfilter -lswscale -lswresample -lpostproc -ljpeg"
++ngx_module_incs="$ngx_addon_dir/include $ngx_addon_dir/src"
++
++if test -n "$ngx_module_link"; then
++ ngx_module_type=HTTP
++ ngx_module_name=$ngx_addon_name
++ ngx_module_srcs="${ngx_addon_dir}/src/ngx_http_video_thumbextractor_module.c"
++ . auto/module
++else
++ HTTP_MODULES="$HTTP_MODULES $ngx_addon_name"
++ NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
++ ${ngx_addon_dir}/src/ngx_http_video_thumbextractor_module.c"
++fi