diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-crypt/gcr/files/gcr-3.41.0-Unbreak-build-without-systemd.patch | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-crypt/gcr/files/gcr-3.41.0-Unbreak-build-without-systemd.patch')
-rw-r--r-- | app-crypt/gcr/files/gcr-3.41.0-Unbreak-build-without-systemd.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-crypt/gcr/files/gcr-3.41.0-Unbreak-build-without-systemd.patch b/app-crypt/gcr/files/gcr-3.41.0-Unbreak-build-without-systemd.patch new file mode 100644 index 000000000000..eac12c0a34a2 --- /dev/null +++ b/app-crypt/gcr/files/gcr-3.41.0-Unbreak-build-without-systemd.patch @@ -0,0 +1,27 @@ +From 96e76ee482dad2a0d71f9a5a5a6558d272d538ca Mon Sep 17 00:00:00 2001 +From: Antoine Jacoutot <ajacoutot@gnome.org> +Date: Sun, 24 Oct 2021 10:26:03 +0200 +Subject: [PATCH] Unbreak build without systemd. + +This fixes the check for WITH_SYSTEMD and prevents a fatal error: +'systemd/sd-daemon.h' file not found when building with systemd disabled. +--- + gcr/gcr-ssh-agent-service.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcr/gcr-ssh-agent-service.c b/gcr/gcr-ssh-agent-service.c +index 3b5a4ca..b7e8928 100644 +--- a/gcr/gcr-ssh-agent-service.c ++++ b/gcr/gcr-ssh-agent-service.c +@@ -39,7 +39,7 @@ + #include <glib/gstdio.h> + #include <gcr/gcr-base.h> + +-#ifdef WITH_SYSTEMD ++#if WITH_SYSTEMD + #include <systemd/sd-daemon.h> + #endif + +-- +2.35.1 + |