From 63816dab84b55ea24728dee5bd05d26b7a70a889 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Mon, 19 Dec 2022 19:17:14 -0600 Subject: [PATCH] quota: update to 4.09 Signed-off-by: W. Michael Petullo --- utils/quota/Makefile | 4 ++-- utils/quota/patches/010-cdefs.patch | 18 ------------------ .../patches/020-remove-reallocarray.patch | 11 ----------- 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 utils/quota/patches/010-cdefs.patch delete mode 100644 utils/quota/patches/020-remove-reallocarray.patch diff --git a/utils/quota/Makefile b/utils/quota/Makefile index 74b59429c..bb844173a 100644 --- a/utils/quota/Makefile +++ b/utils/quota/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=quota -PKG_VERSION:=4.06 +PKG_VERSION:=4.09 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/linuxquota -PKG_HASH:=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d +PKG_HASH:=9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9 PKG_MAINTAINER:=W. Michael Petullo PKG_LICENSE:=GPL-2.0-or-later diff --git a/utils/quota/patches/010-cdefs.patch b/utils/quota/patches/010-cdefs.patch deleted file mode 100644 index a44978e7e..000000000 --- a/utils/quota/patches/010-cdefs.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/quota.h -+++ b/quota.h -@@ -1,7 +1,6 @@ - #ifndef GUARD_QUOTA_H - #define GUARD_QUOTA_H - --#include - #include - #include - -@@ -182,6 +181,6 @@ enum { - #endif - #endif - --long quotactl __P((int, const char *, qid_t, caddr_t)); -+long quotactl (int, const char *, qid_t, caddr_t); - - #endif /* _QUOTA_ */ diff --git a/utils/quota/patches/020-remove-reallocarray.patch b/utils/quota/patches/020-remove-reallocarray.patch deleted file mode 100644 index 75c7a5d9b..000000000 --- a/utils/quota/patches/020-remove-reallocarray.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/quota.c -+++ b/quota.c -@@ -385,7 +385,7 @@ int main(int argc, char **argv) - break; - case 259: - fscount++; -- fsnames = reallocarray(fsnames, fscount, sizeof(char *)); -+ fsnames = realloc(fsnames, fscount * sizeof(char *)); - if (!fsnames) - die(1, _("Not enough memory for filesystem names")); - fsnames[fscount - 1] = optarg;