diff --git a/filesystem/parted/centos/patches/syscalls.patch b/filesystem/parted/centos/patches/syscalls.patch index 287a30553..497cd04fd 100644 --- a/filesystem/parted/centos/patches/syscalls.patch +++ b/filesystem/parted/centos/patches/syscalls.patch @@ -1,10 +1,17 @@ -From: "Allain Legacy" +From 0da33d97a8c20125922b5967988a2849d801ca0c Mon Sep 17 00:00:00 2001 +From: Allain Legacy +Date: Fri, 28 Sep 2018 02:28:30 +0800 +Subject: + --- -Index: parted-3.1/libparted/arch/linux.c -=================================================================== ---- parted-3.1.orig/libparted/arch/linux.c -+++ parted-3.1/libparted/arch/linux.c -@@ -1646,12 +1646,14 @@ _device_close (PedDevice* dev) + libparted/arch/linux.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c +index 6e78faf..27f706b 100644 +--- a/libparted/arch/linux.c ++++ b/libparted/arch/linux.c +@@ -1673,12 +1673,14 @@ _device_close (PedDevice* dev) #if SIZEOF_OFF_T < 8 @@ -19,7 +26,7 @@ Index: parted-3.1/libparted/arch/linux.c loff_t llseek (unsigned int fd, loff_t offset, unsigned int whence) -@@ -1659,11 +1661,20 @@ llseek (unsigned int fd, loff_t offset, +@@ -1686,11 +1688,20 @@ llseek (unsigned int fd, loff_t offset, unsigned int whence) loff_t result; int retval; @@ -40,3 +47,6 @@ Index: parted-3.1/libparted/arch/linux.c return (retval==-1 ? (loff_t) retval : result); } +-- +2.7.4 +