add missing includes for ports-gcc
This commit is contained in:
parent
eb6fc20e3c
commit
dab0d498b5
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2018/10/24 14:28:11 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2018/12/01 21:49:30 naddy Exp $
|
||||
|
||||
# note, this isn't really maintained upstream any more
|
||||
# see e2guardian.org for a maintained fork
|
||||
|
||||
COMMENT = content scanning web filter
|
||||
DISTNAME = dansguardian-2.12.0.3
|
||||
REVISION = 3
|
||||
REVISION = 4
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
CATEGORIES = www net
|
||||
|
||||
|
13
www/dansguardian/patches/patch-src_ImageContainer_cpp
Normal file
13
www/dansguardian/patches/patch-src_ImageContainer_cpp
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_ImageContainer_cpp,v 1.1 2018/12/01 21:49:30 naddy Exp $
|
||||
|
||||
Index: src/ImageContainer.cpp
|
||||
--- src/ImageContainer.cpp.orig
|
||||
+++ src/ImageContainer.cpp
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <fstream>
|
||||
#include <stdexcept>
|
||||
#include <cerrno>
|
||||
+#include <cstring>
|
||||
#include <limits.h>
|
||||
|
||||
|
13
www/dansguardian/patches/patch-src_SocketArray_cpp
Normal file
13
www/dansguardian/patches/patch-src_SocketArray_cpp
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_SocketArray_cpp,v 1.1 2018/12/01 21:49:30 naddy Exp $
|
||||
|
||||
Index: src/SocketArray.cpp
|
||||
--- src/SocketArray.cpp.orig
|
||||
+++ src/SocketArray.cpp
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <syslog.h>
|
||||
#include <cerrno>
|
||||
+#include <cstring>
|
||||
|
||||
|
||||
// GLOBALS
|
13
www/dansguardian/patches/patch-src_UDSocket_cpp
Normal file
13
www/dansguardian/patches/patch-src_UDSocket_cpp
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_UDSocket_cpp,v 1.1 2018/12/01 21:49:30 naddy Exp $
|
||||
|
||||
Index: src/UDSocket.cpp
|
||||
--- src/UDSocket.cpp.orig
|
||||
+++ src/UDSocket.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <pwd.h>
|
||||
#include <cerrno>
|
||||
+#include <cstring>
|
||||
#include <unistd.h>
|
||||
#include <stdexcept>
|
||||
#include <stddef.h>
|
Loading…
Reference in New Issue
Block a user