(address . bug-guix@gnu.org)
Let's find the patch files whose filenames are not referenced anywhere,
except possibly in 'gnu/local.mk':
$ for patch in gnu/packages/patches/*; do result=$(grep -rI ${patch##*/}) \
&& test ${result%%:*} != "gnu/local.mk" || echo $patch; done
gnu/packages/patches/gcc-libiberty-printf-decl.patch
gnu/packages/patches/grub-CVE-2015-8370.patch
gnu/packages/patches/grub-freetype.patch
gnu/packages/patches/grub-gets-undeclared.patch
gnu/packages/patches/guile-arm-fixes.patch
gnu/packages/patches/hypre-doc-tables.patch
gnu/packages/patches/hypre-ldflags.patch
gnu/packages/patches/mplayer2-theora-fix.patch
gnu/packages/patches/readline-7.0-mingw.patch
gnu/packages/patches/soprano-find-clucene.patch
gnu/packages/patches/util-linux-CVE-2017-2616.patch
gnu/packages/patches/xf86-video-intel-compat-api.patch
gnu/packages/patches/xf86-video-intel-glibc-2.20.patch
Specific notes for each file:
gcc-libiberty-printf-decl.patch: Added in
b810a85019ab3c4ee1f889d0751b8eb06157dadc and mentioned in the
commit message but never used, AFAICT. Ludo?
gnu/packages/patches/grub-CVE-2015-8370.patch,
gnu/packages/patches/grub-freetype.patch,
gnu/packages/patches/grub-gets-undeclared.patch: Unused since grub was
updated to 2.02~beta3 in 4c7260011e219eb3ebf5da976ab107dbd5997829.
gnu/packages/patches/guile-arm-fixes.patch: Unused since guile was
updated to 2.0.12 in 923d9caa1800fb48b1745cf9ef0fd294a423d4cd,
4f07bb6b433a7fa2fdcb5f465f7b9dfdf0140dae.
gnu/packages/patches/hypre-doc-tables.patch,
gnu/packages/patches/hypre-ldflags.patch: Added but not used in
528bb46436be39a4f4d3e7b3e908c34e92cca5f8. I pinged Eric on #guix.
gnu/packages/patches/mplayer2-theora-fix.patch: Unused since
a6d605e648643cd98582bf1e339bf60706d7c6c6
gnu/packages/patches/readline-7.0-mingw.patch: Introduced in
ae12d586275cdd96db23fb01bf840b2055b5b979, but never used. Jan, can you
take a look?
gnu/packages/patches/soprano-find-clucene.patch: Unused since
dbbb45dd7318528ea92a56992be789d0b5cf2120.
gnu/packages/patches/util-linux-CVE-2017-2616.patch: Unused since
util-linux was updated to 2.29.2 in
83090f6ae7eb5353049b253f74670d72d9387463. The history of this update is
very confusing.
gnu/packages/patches/xf86-video-intel-compat-api.patch,
gnu/packages/patches/xf86-video-intel-glibc-2.20.patch: Unused since
6cc328b43b1ae2cc1d201844cff7c619187cca5e.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlj4/SIACgkQJkb6MLrK
fwj7KhAAttkKTVzSl9GUQrrUIRk2V8T6HBILuLvlEHu9iDPBUT239J6PlqzUHwro
OIhzCHnad0VpDq5nNqi5f4f+4YhC7zabZXhm2Tkxt8cmzrmsjIyzfJ9CK9YAZaU2
S/PLZc2svmQmvm7HRFmVwVIYN9zG3KJ0+HS6qnYb6UCln8wsExIlmAjOHWRfk8w6
o4II/0F0mTxYq17yNsmbodBq77o8tgS2VVVGc6NrO6SE4XVwGEVhZnnR8QzXGFLf
SrKTOVgwKqI0S2mkN9OwHtf8KuWh1v54BE3240UxxIEhJ6Raz1MaSjjz8nqiZbsq
VtbzCbYCTmzWx/jE0PILPFWnfMZX59i0Gbu5uzooeoZMbI0binmUAKg6VnEq4DSR
r20YRCUjReQQiRbLcTUzFDwKR1TybYtWwdQicG6YpGIrhxtnyWjNMdroZBd7fZxr
spttzFlRfULiCo3hIvSWWDJRiSX1RVhckKFnvpfG6be3eidZlDYAEfSu3qFbmhmn
MQPZX7cL/cfkDiE/zdy7BPlqWTsCXTenA0O+0G+k732CLbDleR9nCHdamurwXpwJ
KDWSzRolIN65myvAHuENOrM1yKtkAzJoKQYgYHfUUOC+f1vHRWtSB65+s4Iz1Ljl
vhYOu0RhDRDBnpkD8LuS4tDp4fDxwIHrFkRl/0Z84RdCy/VjVMg=
=Oybd
-----END PGP SIGNATURE-----