From 4ec2641eb1050e50a57f963ef8fabc2625693618 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 11 Feb 2020 12:57:42 +0000 Subject: www/sarg: Update to 2.4.0 Sponsored by: Rubicon Communications, LLC (Netgate) --- www/sarg/files/patch-util.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 www/sarg/files/patch-util.c (limited to 'www/sarg/files/patch-util.c') diff --git a/www/sarg/files/patch-util.c b/www/sarg/files/patch-util.c new file mode 100644 index 000000000000..b030e98fab20 --- /dev/null +++ b/www/sarg/files/patch-util.c @@ -0,0 +1,21 @@ +--- util.c.orig 2020-02-11 12:29:43 UTC ++++ util.c +@@ -27,6 +27,9 @@ + // #define LEGACY_MY_ATOLL + // #define LEGACY_TESTVALIDUSERCHAR + ++#include ++#include ++ + #include "include/conf.h" + #include "include/defs.h" + +@@ -402,7 +405,7 @@ int is_absolute(const char *path) + + int PortableMkDir(const char *path,int mode) + { +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + int mkerror=mkdir(path,mode); + #else //mingw + (void)mode; -- cgit v1.2.3