aboutsummaryrefslogtreecommitdiffstats
path: root/testing/litespeed/include.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-08-26 19:48:55 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-08-28 06:32:17 +0000
commitb4dc428b069d192ff5d9bf0f008fc5ff1bce20da (patch)
tree68de6c2e338521059f2d9386b049a1107443b98a /testing/litespeed/include.patch
parent71038f0019450e04407d876b780f09139cee90d5 (diff)
downloadaports-b4dc428b069d192ff5d9bf0f008fc5ff1bce20da.tar.bz2
aports-b4dc428b069d192ff5d9bf0f008fc5ff1bce20da.tar.xz
testing/litespeed: upgrade to 1.4.27
Diffstat (limited to 'testing/litespeed/include.patch')
-rw-r--r--testing/litespeed/include.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/testing/litespeed/include.patch b/testing/litespeed/include.patch
index 49938c2e1e..29d055753d 100644
--- a/testing/litespeed/include.patch
+++ b/testing/litespeed/include.patch
@@ -1,20 +1,22 @@
---- a/src/util/pcutil.cpp
-+++ b/src/util/pcutil.cpp
-@@ -21,6 +21,7 @@
- #include <ctype.h>
- #include <stdlib.h>
- #include <unistd.h>
-+#include <string.h>
+--- a/src/main/httpserver.cpp
++++ b/src/main/httpserver.cpp
+@@ -127,7 +127,7 @@
- #ifdef __linux
- #include <sched.h>
+ #if defined(__FreeBSD__ ) || defined(__NetBSD__) || defined(__OpenBSD__) \
+ || defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
+-#include <sys/sysctl.h>
++#include <linux/sysctl.h>
+ #endif
+
+ #define FILEMODE 0644
--- a/src/main/lshttpdmain.cpp
+++ b/src/main/lshttpdmain.cpp
-@@ -45,7 +45,6 @@
+@@ -46,7 +46,7 @@
#include <util/stringlist.h>
#include <util/signalutil.h>
#include <util/vmembuf.h>
-#include <sys/sysctl.h>
++#include <linux/sysctl.h>
#include <extensions/cgi/cgidworker.h>
#include <extensions/registry/extappregistry.h>