nixpkgs/pkgs/development/libraries/libdbusmenu/requires-glib.patch
ralismark 3fe4a8820c libdbusmenu: require glib-2.0 in pkg-config
libdbusmenu-glib has headers which include <glib.h>, but does not
declare glib as a dependency. This causes include errors if you try to
build with just libdbusmenu-glib.
2023-07-05 13:21:15 +10:00

12 lines
273 B
Diff

--- a/libdbusmenu-glib/dbusmenu-glib-0.4.pc.in
+++ b/libdbusmenu-glib/dbusmenu-glib-0.4.pc.in
@@ -5,7 +5,7 @@
includedir=@includedir@
Cflags: -I${includedir}/libdbusmenu-glib-0.4
-Requires:
+Requires: glib-2.0
Libs: -L${libdir} -ldbusmenu-glib
Name: libdbusmenu-glib