Browse Source
Merge pull request #13063 from neheb/sendm
sendmail: fix compilation without sys/cdefs
lilik-openwrt-22.03
Rosen Penev
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
11 additions and
1 deletions
-
mail/sendmail/Makefile
-
mail/sendmail/patches/210-cdefs.patch
|
|
@ -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/ \
|
|
|
|
|
|
@ -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 */ |