Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www/dansguardian: fix build on SmartOS #143

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions www/dansguardian/distinfo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RMD160 (dansguardian-2.8.0.6.source.tar.gz) = cf3493b26b4fcd5b366a6fe472e3c6c9e3
Size (dansguardian-2.8.0.6.source.tar.gz) = 212737 bytes
SHA1 (patch-DataBuffer.cpp) = 7447cb436dffdda90192c5ac731add5224c26898
SHA1 (patch-DynamicURLList.cpp) = a4a4472a1e387d850c64d3cfb9f75091bb8c4df6
SHA1 (patch-FDTunnel.cpp) = 4148d6f8a62c69713a816dfb5a7065bfb199dca3
SHA1 (patch-FOptionContainer.cpp) = b86ee1542d9aace89192c8c41399dd38b7972d0f
SHA1 (patch-FatController.cpp) = 1e3eb5d866f5ec5edda9f3e6e8e7a2b107e99d04
SHA1 (patch-ListContainer.cpp) = e38034615e831c9dd45eb861f97a6c2cf381e631
Expand All @@ -18,6 +19,7 @@ SHA1 (patch-aa) = c4af2622ee48dedb15f5a22874c1c1bff5ea51ef
SHA1 (patch-dansguardian.cpp) = 93b34d9ca5ce371c178e68f0054088f177843407
SHA1 (patch-fbsd.in) = c030c845e66225212052012e09d81f3b8817d97c
SHA1 (patch-linux.in) = 2ea47d4f5c5787302cc983939ea2454df29da5ef
SHA1 (patch-md5.cpp) = 5d7a685da18602a7ae17d6e592b2ad05016c011f
SHA1 (patch-nbsd.in) = e1d4fa9d7a839b1458c0bacdea30f70112c67a75
SHA1 (patch-obsd.in) = 0002cc48b4e7201add7546e40b0a6f4fba70fe4e
SHA1 (patch-solaris.in) = aaa8b67f398a2b56d7679f5c636d14aee1bfe3e7
13 changes: 13 additions & 0 deletions www/dansguardian/patches/patch-FDTunnel.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$NetBSD$

--- FDTunnel.cpp.orig 2005-08-13 23:47:57.000000000 +0000
+++ FDTunnel.cpp
@@ -34,6 +34,8 @@
#ifdef __BSD
#include "autoconf/select.h"
#include <string.h>
+#elif defined(__sun)
+ #include <string.h>
#else
#include <sys/select.h>
#endif
15 changes: 15 additions & 0 deletions www/dansguardian/patches/patch-md5.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD$

--- md5.cpp.orig 2005-08-13 23:47:57.000000000 +0000
+++ md5.cpp
@@ -30,7 +30,9 @@
//These lines modified Tue 24th February 2004 by Daniel Barron
#include "autoconf/platform.h"
#ifdef __ENDIANH
- #include __ENDIANH
+ #if !defined(__sun)
+ #include __ENDIANH
+ #endif
#else
#include <endian.h>
#endif