Skip to content
Snippets Groups Projects
Verified Commit 8aba5623 authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

patches: packages: drop patch for clamsmtp added by upstream

parent d0eb9dbc
Branches
Tags
No related merge requests found
From 394eca68454dfaaf76a5a48c5a1f55e92494aa57 Mon Sep 17 00:00:00 2001
From: Jan Pavlinec <jan.pavlinec@nic.cz>
Date: Fri, 8 Feb 2019 11:42:21 +0100
Subject: [PATCH] clamsmtp: backport compilation fix
---
mail/clamsmtp/Makefile | 2 +-
mail/clamsmtp/patches/010-fix-build.patch | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 mail/clamsmtp/patches/010-fix-build.patch
diff --git a/mail/clamsmtp/Makefile b/mail/clamsmtp/Makefile
index 449594b..3eb6d88 100644
--- a/mail/clamsmtp/Makefile
+++ b/mail/clamsmtp/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=clamsmtp
PKG_VERSION:=1.10
-PKG_RELEASE:=1
+PKG_RELEASE:=3
PKG_SOURCE_URL:=http://thewalter.net/stef/software/clamsmtp/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/mail/clamsmtp/patches/010-fix-build.patch b/mail/clamsmtp/patches/010-fix-build.patch
new file mode 100644
index 0000000..a285a77
--- /dev/null
+++ b/mail/clamsmtp/patches/010-fix-build.patch
@@ -0,0 +1,19 @@
+--- a/configure.in
++++ b/configure.in
+@@ -78,16 +78,6 @@ AC_CHECK_HEADERS([limits.h err.h paths.h],,)
+ AC_CHECK_HEADERS([unistd.h stdio.h stddef.h fcntl.h stdlib.h assert.h errno.h stdarg.h string.h netdb.h], ,
+ [echo "ERROR: Required C header missing"; exit 1])
+
+-# Check for linux type transparent proxy support
+-AC_CHECK_HEADERS([linux/netfilter_ipv4.h],
+- AC_DEFINE(LINUX_TRANSPARENT_PROXY, 1, [Whether the system supports a linux type transparent proxy]),
+- ,
+- [[
+- #ifdef HAVE_LIMITS_H
+- #include <limits.h>
+- #endif
+- ]] )
+-
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+ AC_TYPE_SIZE_T
--
2.7.4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment