mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
rsync: fix compilation for undefined reference ot makedev
This change fixes the following compilation error for rsync generator.c:(.text+0x4872): undefined reference to `makedev' Glibc removes sys/sysmacros.h which defines makedev from sys/types.h since v2.28. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
10
net/rsync/patches/001-fix-makedev-issue.patch
Normal file
10
net/rsync/patches/001-fix-makedev-issue.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/rsync.h
|
||||
+++ b/rsync.h
|
||||
@@ -307,6 +307,7 @@ enum delret {
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
+# include <sys/sysmacros.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
# include <sys/stat.h>
|
||||
Reference in New Issue
Block a user