mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
clamsmtp: fix build after linuxHeaders update to 4.15
This commit is contained in:
parent
fd0f15f11c
commit
7d62c2c7ca
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0apr1pxifw6f1rbbsdrrwzs1dnhybg4hda3qqhqcw7p14r5xnbx5";
|
sha256 = "0apr1pxifw6f1rbbsdrrwzs1dnhybg4hda3qqhqcw7p14r5xnbx5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./header-order.patch ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "SMTP filter that allows to check for viruses using the ClamAV
|
description = "SMTP filter that allows to check for viruses using the ClamAV
|
||||||
anti-virus software";
|
anti-virus software";
|
||||||
|
25
pkgs/servers/mail/clamsmtp/header-order.patch
Normal file
25
pkgs/servers/mail/clamsmtp/header-order.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/common/smtppass.c b/common/smtppass.c
|
||||||
|
index d9be1ba..4a366f4 100644
|
||||||
|
--- a/common/smtppass.c
|
||||||
|
+++ b/common/smtppass.c
|
||||||
|
@@ -60,15 +60,15 @@
|
||||||
|
|
||||||
|
#include "usuals.h"
|
||||||
|
|
||||||
|
-#ifdef LINUX_TRANSPARENT_PROXY
|
||||||
|
-#include <linux/netfilter_ipv4.h>
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#include "compat.h"
|
||||||
|
#include "sock_any.h"
|
||||||
|
#include "stringx.h"
|
||||||
|
#include "sppriv.h"
|
||||||
|
|
||||||
|
+#ifdef LINUX_TRANSPARENT_PROXY
|
||||||
|
+#include <linux/netfilter_ipv4.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/* -----------------------------------------------------------------------
|
||||||
|
* STRUCTURES
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user