@@ -34,6 +34,13 @@ stdenv.mkDerivation rec {
3434 ./tests-add-test-cases-for-import-without-uid.patch
3535 ./allow-import-of-previously-known-keys-even-without-UI.patch
3636 ./accept-subkeys-with-a-good-revocation-but-no-self-sig.patch
37+ ] ++ lib.optional stdenv.isDarwin [
38+ # Remove an innocent warning printed on systems without procfs
39+ # https://dev.gnupg.org/T5656
40+ (fetchpatch {
41+ url = "https://raw.githubusercontent.com/Homebrew/formula-patches/890be5f6af88e7913d177af87a50129049e681bb/gnupg/2.3.3-proc-error.patch";
42+ sha256 = "sha256-oiTa7Nf+AEmhZ683CJEaCb559PXJ6RpSSgRLpxz4CKU=";
43+ })
3744 ];
3845 postPatch = ''
3946 sed -i 's,hkps://hkps.pool.sks-keyservers.net,hkps://keys.openpgp.org,g' configure doc/dirmngr.texi doc/gnupg.info-1