diff options
author | David Seifert <soap@gentoo.org> | 2021-08-19 20:37:02 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-08-19 20:37:02 +0200 |
commit | 15e52a540301f86835a5d174d1ef453ba94ae4b8 (patch) | |
tree | b18fb3780a7f388474945366bd17892ada0b4439 | |
parent | app-admin/conky: Remove unused patch. (diff) | |
download | gentoo-15e52a540301f86835a5d174d1ef453ba94ae4b8.tar.gz gentoo-15e52a540301f86835a5d174d1ef453ba94ae4b8.tar.bz2 gentoo-15e52a540301f86835a5d174d1ef453ba94ae4b8.zip |
net-fs/nfs-utils: remove dead patch
* The patch was being double applied, because the
original commit is already part of all releases.
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-2.4.2-Ensure-consistent-struct-stat.patch | 115 | ||||
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-2.5.3-r1.ebuild | 5 | ||||
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-2.5.4.ebuild | 5 |
3 files changed, 2 insertions, 123 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-2.4.2-Ensure-consistent-struct-stat.patch b/net-fs/nfs-utils/files/nfs-utils-2.4.2-Ensure-consistent-struct-stat.patch deleted file mode 100644 index 8541a985ffa5..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-2.4.2-Ensure-consistent-struct-stat.patch +++ /dev/null @@ -1,115 +0,0 @@ -From 1378280398ef9f5cd45f5542ae2945b9a360b132 Mon Sep 17 00:00:00 2001 -From: Doug Nazar <nazard@nazar.ca> -Date: Sun, 17 Nov 2019 14:31:33 -0500 -Subject: [PATCH] Ensure consistent struct stat definition - -Although 2fbc62e2a13fc ("Fix include order between config.h and stat.h") -reorganized those files that were already including config.h, not all -files were including config.h. - -Fixes at least stack smashing crashes in mountd on 32-bit systems. - -Signed-off-by: Doug Nazar <nazard@nazar.ca> -Signed-off-by: Steve Dickson <steved@redhat.com> ---- - support/junction/junction.c | 4 ++++ - support/misc/file.c | 4 ++++ - support/misc/mountpoint.c | 4 ++++ - support/nfs/cacheio.c | 4 ++++ - utils/mount/fstab.c | 4 ++++ - utils/nfsdcld/legacy.c | 4 ++++ - 6 files changed, 24 insertions(+) - -diff --git a/support/junction/junction.c b/support/junction/junction.c -index ab6caa6..41cce26 100644 ---- a/support/junction/junction.c -+++ b/support/junction/junction.c -@@ -27,6 +27,10 @@ - #include <config.h> - #endif - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <sys/types.h> - #include <sys/stat.h> - -diff --git a/support/misc/file.c b/support/misc/file.c -index e7c3819..06f6bb2 100644 ---- a/support/misc/file.c -+++ b/support/misc/file.c -@@ -22,6 +22,10 @@ - #include <config.h> - #endif - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <sys/stat.h> - - #include <string.h> -diff --git a/support/misc/mountpoint.c b/support/misc/mountpoint.c -index c6217f2..14d6731 100644 ---- a/support/misc/mountpoint.c -+++ b/support/misc/mountpoint.c -@@ -7,6 +7,10 @@ - #include <config.h> - #endif - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <string.h> - #include "xcommon.h" - #include <sys/stat.h> -diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c -index 9dc4cf1..7c4cf37 100644 ---- a/support/nfs/cacheio.c -+++ b/support/nfs/cacheio.c -@@ -19,6 +19,10 @@ - #include <config.h> - #endif - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <nfslib.h> - #include <inttypes.h> - #include <stdio.h> -diff --git a/utils/mount/fstab.c b/utils/mount/fstab.c -index eedbdda..8b0aaf1 100644 ---- a/utils/mount/fstab.c -+++ b/utils/mount/fstab.c -@@ -11,6 +11,10 @@ - #include <config.h> - #endif - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <errno.h> - #include <stdio.h> - #include <fcntl.h> -diff --git a/utils/nfsdcld/legacy.c b/utils/nfsdcld/legacy.c -index 07f477a..3c6bea6 100644 ---- a/utils/nfsdcld/legacy.c -+++ b/utils/nfsdcld/legacy.c -@@ -19,6 +19,10 @@ - #include <config.h> - #endif - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <stdio.h> - #include <dirent.h> - #include <string.h> --- -1.8.3.1 - diff --git a/net-fs/nfs-utils/nfs-utils-2.5.3-r1.ebuild b/net-fs/nfs-utils/nfs-utils-2.5.3-r1.ebuild index f23ef6c8d927..9d0e1b2310be 100644 --- a/net-fs/nfs-utils/nfs-utils-2.5.3-r1.ebuild +++ b/net-fs/nfs-utils/nfs-utils-2.5.3-r1.ebuild @@ -63,10 +63,7 @@ BDEPEND=" virtual/pkgconfig " -PATCHES=( - "${FILESDIR}"/${PN}-2.5.2-no-werror.patch - "${FILESDIR}"/${PN}-2.4.2-Ensure-consistent-struct-stat.patch -) +PATCHES=( "${FILESDIR}"/${PN}-2.5.2-no-werror.patch ) pkg_setup() { linux-info_pkg_setup diff --git a/net-fs/nfs-utils/nfs-utils-2.5.4.ebuild b/net-fs/nfs-utils/nfs-utils-2.5.4.ebuild index f23ef6c8d927..9d0e1b2310be 100644 --- a/net-fs/nfs-utils/nfs-utils-2.5.4.ebuild +++ b/net-fs/nfs-utils/nfs-utils-2.5.4.ebuild @@ -63,10 +63,7 @@ BDEPEND=" virtual/pkgconfig " -PATCHES=( - "${FILESDIR}"/${PN}-2.5.2-no-werror.patch - "${FILESDIR}"/${PN}-2.4.2-Ensure-consistent-struct-stat.patch -) +PATCHES=( "${FILESDIR}"/${PN}-2.5.2-no-werror.patch ) pkg_setup() { linux-info_pkg_setup |