summaryrefslogtreecommitdiff
path: root/dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-03-20 10:38:31 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-03-20 10:38:31 +0000
commit1423841eb6ef3c5fa2363cc38e04665ef4e06fe9 (patch)
treeccaf40869c153758108057b1f58bdcb9ae7dc1df /dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch
parent552af195ef0fa68211e82f170106f41e8d4b95f2 (diff)
downloadgentoo-1423841eb6ef3c5fa2363cc38e04665ef4e06fe9.tar.gz
gentoo-1423841eb6ef3c5fa2363cc38e04665ef4e06fe9.tar.bz2
gentoo-1423841eb6ef3c5fa2363cc38e04665ef4e06fe9.zip
dev-cpp/sdbus-c++: New package
Including older 0.9.0 version for msalsdk-dbusclient. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch')
-rw-r--r--dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch b/dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch
new file mode 100644
index 000000000000..d6f018fda175
--- /dev/null
+++ b/dev-cpp/sdbus-c++/files/sdbus-c++-static-libsystemd.patch
@@ -0,0 +1,10 @@
+systemd does not include pkg-config dependencies for static linking.
+
+diff -Naur a/src/libsystemd/libsystemd.pc.in b/src/libsystemd/libsystemd.pc.in
+--- a/src/libsystemd/libsystemd.pc.in 2022-01-18 11:35:43.000000000 +0000
++++ b/src/libsystemd/libsystemd.pc.in 2022-03-05 21:24:47.139338880 +0000
+@@ -18,3 +18,4 @@
+ Version: {{PROJECT_VERSION}}
+ Libs: -L${libdir} -lsystemd
+ Cflags: -I${includedir}
++Requires: libcap