summaryrefslogtreecommitdiff
path: root/www-servers/nginx/files/http_brotli-detect-brotli-r3.patch
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2023-07-05 00:08:34 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2023-07-05 00:08:34 +0200
commit69b8a7a72af666dacd90cf627d225a64e6580763 (patch)
treed9aa8fe58fef6f074bd0b1f83d095d4703a5a433 /www-servers/nginx/files/http_brotli-detect-brotli-r3.patch
parentd272278e8d6d533d8a832526a955759678f03a61 (diff)
downloadportage-69b8a7a72af666dacd90cf627d225a64e6580763.tar.gz
portage-69b8a7a72af666dacd90cf627d225a64e6580763.tar.bz2
portage-69b8a7a72af666dacd90cf627d225a64e6580763.zip
Dropping www-servers/nginx as already upstream
Diffstat (limited to 'www-servers/nginx/files/http_brotli-detect-brotli-r3.patch')
-rw-r--r--www-servers/nginx/files/http_brotli-detect-brotli-r3.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/www-servers/nginx/files/http_brotli-detect-brotli-r3.patch b/www-servers/nginx/files/http_brotli-detect-brotli-r3.patch
deleted file mode 100644
index 9ccb8c2..0000000
--- a/www-servers/nginx/files/http_brotli-detect-brotli-r3.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/filter/config
-+++ b/filter/config
-@@ -42,22 +42,13 @@ fi
- ngx_module_type=HTTP_FILTER
- ngx_module_name=ngx_http_brotli_filter_module
-
--brotli="$ngx_addon_dir/deps/brotli/c"
--if [ ! -f "$brotli/include/brotli/encode.h" ]; then
-- brotli="/usr/local"
--fi
--if [ ! -f "$brotli/include/brotli/encode.h" ]; then
-- brotli="/usr"
--fi
-+brotli=$(pkg-config --variable=prefix libbrotlienc)
-+
- if [ ! -f "$brotli/include/brotli/encode.h" ]; then
- cat << END
-
- $0: error: \
--Brotli library is missing from the $brotli directory.
--
--Please make sure that the git submodule has been checked out:
--
-- cd $ngx_addon_dir && git submodule update --init && cd $PWD
-+Brotli library not found. Don't you have app-arch/brotli installed?
-
- END
- exit 1