aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx-devel
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2011-05-26 20:49:30 +0800
committerosa <osa@FreeBSD.org>2011-05-26 20:49:30 +0800
commitba41c13ea41628bb53b3e9f03726eed1cde9e4d8 (patch)
treed9f7325417c439d0350f531bbd078f82910a89aa /www/nginx-devel
parent1e02a35381b9ea00ea23c623679bb58f6ece69df (diff)
downloadfreebsd-ports-gnome-ba41c13ea41628bb53b3e9f03726eed1cde9e4d8.tar.gz
freebsd-ports-gnome-ba41c13ea41628bb53b3e9f03726eed1cde9e4d8.tar.zst
freebsd-ports-gnome-ba41c13ea41628bb53b3e9f03726eed1cde9e4d8.zip
Add vendor patch for fix build with
% configure ... --without-http_auth_basic_module ... Bump PORTREVISION is unnecessary, because http_auth_basic module is enabled by default.
Diffstat (limited to 'www/nginx-devel')
-rw-r--r--www/nginx-devel/files/patch-src::core::ngx_crypt.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/nginx-devel/files/patch-src::core::ngx_crypt.c b/www/nginx-devel/files/patch-src::core::ngx_crypt.c
new file mode 100644
index 000000000000..e457612ecd41
--- /dev/null
+++ b/www/nginx-devel/files/patch-src::core::ngx_crypt.c
@@ -0,0 +1,19 @@
+Index: src/core/ngx_crypt.c
+===================================================================
+--- src/core/ngx_crypt.c (revision 3925)
++++ src/core/ngx_crypt.c (working copy)
+@@ -12,6 +12,8 @@
+ #endif
+
+
++#if (NGX_CRYPT)
++
+ static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt,
+ u_char **encrypted);
+ static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt,
+@@ -232,3 +234,5 @@
+ }
+
+ #endif /* NGX_HAVE_SHA1 */
++
++#endif /* NGX_CRYPT */