summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-08-12 13:10:19 -0700
committerGitHub <noreply@github.com>2020-08-12 13:10:19 -0700
commit2d8ef5defe7a9307340276c52d36043fdbe933a7 (patch)
tree7a411b9710984e1a28c8a78627753f2d280d3ed1
parentd1f172a2f3c20592b36e12eff074d6750b134aa1 (diff)
parentf10ec9241e2d9e67811b7dd465ecc91ecebfe00b (diff)
Merge pull request #13063 from neheb/sendm
sendmail: fix compilation without sys/cdefs
-rw-r--r--mail/sendmail/Makefile2
-rw-r--r--mail/sendmail/patches/210-cdefs.patch10
2 files changed, 11 insertions, 1 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 512de95aa..c0155819a 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sendmail
PKG_VERSION:=8.15.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://artfiles.org/sendmail.org/pub/sendmail/ \
diff --git a/mail/sendmail/patches/210-cdefs.patch b/mail/sendmail/patches/210-cdefs.patch
new file mode 100644
index 000000000..53a93c3a0
--- /dev/null
+++ b/mail/sendmail/patches/210-cdefs.patch
@@ -0,0 +1,10 @@
+--- a/include/sm/os/sm_os_linux.h
++++ b/include/sm/os/sm_os_linux.h
+@@ -33,7 +33,6 @@
+ # endif /* LINUX_VERSION_CODE */
+ #endif /* SM_CONF_SHM */
+
+-#define SM_CONF_SYS_CDEFS_H 1
+ #ifndef SM_CONF_SEM
+ # define SM_CONF_SEM 2
+ #endif /* SM_CONF_SEM */