diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-12-30 21:13:50 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-12-31 10:17:53 -0800 |
commit | c5928e2b1abc9cdbb122226dc6349857b4e2e51a (patch) | |
tree | 0a39238babb2c57e9a82e4c3381d7dc8be9bbbdc /meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb | |
parent | 475ff6954c7c78ea0b2bf6741c46973b1756d3c1 (diff) | |
download | meta-openembedded-c5928e2b1abc9cdbb122226dc6349857b4e2e51a.tar.gz |
postfix: fix build with glibc 2.34
Backport a patch to fix build against glibc 2.34 (e.g. on Fedora 35)
Fixes:
| In file included from attr_clnt.c:88:
| /usr/include/unistd.h:363:13: error: conflicting types for
‘closefrom’; have ‘void(int)’
| 363 | extern void closefrom (int __lowfd) __THROW;
| | ^~~~~~~~~
| In file included from attr_clnt.c:87:
| ./sys_defs.h:1506:12: note: previous declaration of ‘closefrom’ with
type ‘int(int)’
| 1506 | extern int closefrom(int);
| | ^~~~~~~~~
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb b/meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb index db5b41bfbd..e7bb3e9d32 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.4.12.bb @@ -13,6 +13,7 @@ SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P file://postfix-install.patch \ file://icu-config.patch \ file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ + file://0001-fix-build-with-glibc-2.34.patch \ " SRC_URI[sha256sum] = "18555183ae8b52a9e76067799279c86f9f2770cdef3836deb8462ee0a0855dec" UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.3(\.\d+)+).tar.gz" |