From de695d0703239cb5ad8cbdd294a880586ce7bc08 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Fri, 11 Oct 2019 18:25:40 +0200 Subject: [PATCH] parted: update to 3.3. --- srcpkgs/parted/patches/fix-glibc-2.27.patch | 42 --------------------- srcpkgs/parted/patches/fix-includes.patch | 10 ----- srcpkgs/parted/template | 6 +-- 3 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 srcpkgs/parted/patches/fix-glibc-2.27.patch delete mode 100644 srcpkgs/parted/patches/fix-includes.patch diff --git a/srcpkgs/parted/patches/fix-glibc-2.27.patch b/srcpkgs/parted/patches/fix-glibc-2.27.patch deleted file mode 100644 index b2ea15ce5f4..00000000000 --- a/srcpkgs/parted/patches/fix-glibc-2.27.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 5cb16c0474fd4b28ed58ac06fecfc76a7f1fa9fb Mon Sep 17 00:00:00 2001 -From: maxice8 -Date: Sat, 22 Sep 2018 23:08:51 -0300 -Subject: [PATCH] libparted/arch/linux.c: add missing sys/sysmacros.h include - for 'minor', 'major' - -otherwise fails on glibc >= 2.27 with - -arch/linux.c: In function '_dm_is_part': -arch/linux.c:551:28: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] - if (!_is_dm_major (major (deps->device[0]))) - ^~~~~ -arch/linux.c: In function '_device_probe_type': -arch/linux.c:648:44: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] - arch_specific->minor = dev_minor = minor (dev_stat.st_rdev); - ^~~~~ - mknod - CCLD libparted.la - -../libparted/.libs/libparted.so: undefined reference to `major' -../libparted/.libs/libparted.so: undefined reference to `minor' -collect2: error: ld returned 1 exit status ---- - libparted/arch/linux.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c -index 0f18904..a15854f 100644 ---- libparted/arch/linux.c -+++ libparted/arch/linux.c -@@ -41,6 +41,7 @@ - #include /* for uname() */ - #include - #include -+#include - #ifdef ENABLE_DEVICE_MAPPER - #include - #endif --- -2.19.0 - - diff --git a/srcpkgs/parted/patches/fix-includes.patch b/srcpkgs/parted/patches/fix-includes.patch deleted file mode 100644 index aa39609f750..00000000000 --- a/srcpkgs/parted/patches/fix-includes.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- libparted/fs/xfs/platform_defs.h -+++ libparted/fs/xfs/platform_defs.h -@@ -35,6 +35,7 @@ - #define __XFS_PLATFORM_DEFS_H__ - - #include -+#include - #include - #include - #include diff --git a/srcpkgs/parted/template b/srcpkgs/parted/template index 03b6bd4b61e..c8946b570ca 100644 --- a/srcpkgs/parted/template +++ b/srcpkgs/parted/template @@ -1,7 +1,7 @@ # Template file for 'parted' pkgname=parted -version=3.2 -revision=7 +version=3.3 +revision=1 build_style=gnu-configure # parted wants off_t as 64bit type configure_args="ac_cv_sizeof_off_t=8" @@ -12,7 +12,7 @@ maintainer="Orphaned " license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/parted/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4 +checksum=57e2b4bd87018625c515421d4524f6e3b55175b472302056391c5f7eccb83d44 libparted_package() { short_desc+=" - shared library"