freebsd-ports/www/nginx/files/extra-patch-ngx_http_sflow_config.h
Sergey A. Osokin 3ae6fd417b Update:
o) third-party rtmp module from 0.1.10 to 0.2.3;		(*)
o) prefix path for third-party sflow module.

Requested by:	Rudolph Sand aka r dot sand at new-net dot net	(*)
2012-07-31 17:50:50 +00:00

11 lines
539 B
C

--- ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.h.orig 2012-07-31 21:36:49.000000000 +0400
+++ ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.h 2012-07-31 21:37:20.000000000 +0400
@@ -17,7 +17,7 @@
-----------------___________________________------------------
*/
-#define SFWB_DEFAULT_CONFIGFILE "/etc/hsflowd.auto"
+#define SFWB_DEFAULT_CONFIGFILE "%%PREFIX%%/etc/hsflowd.auto"
#define SFWB_SEPARATORS " \t\r\n="
#define SFWB_QUOTES "'\" \t\r\n"
/* SFWB_MAX LINE LEN must be enough to hold the whole list of targets */