summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix/files/0001-fix-build-with-glibc-2.34.patch
Commit message (Collapse)AuthorAgeFilesLines
* postfix: fix build with glibc 2.34Yi Zhao2021-12-311-0/+46
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>