Revert a non-backwards-compatible yet important change done for later releases, to adapt for a new glib2.0 version. We don't have the capacity to maintain glib2.0 in Backports, so simply revert it back to "the way it was."
parent
5cfce1a0f5
commit
ef16819f1a
@ -0,0 +1,23 @@
|
|||||||
|
From 62b77bb807aa2ac2c1df8eec372df771da8d2203 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dmitry Shachnev <mitya57@users.noreply.github.com>
|
||||||
|
Date: Tue, 29 Mar 2022 00:29:49 +0300
|
||||||
|
Subject: [PATCH] Replace gunixconnection.h file in gio-unix include dir check
|
||||||
|
(#74)
|
||||||
|
|
||||||
|
That file was moved from gio-unix to gio in GLib 2.71.1:
|
||||||
|
https://gitlab.gnome.org/GNOME/glib/-/commit/83d45c4f35dc87ba
|
||||||
|
---
|
||||||
|
cmake/find-modules/FindGLIB.cmake | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/cmake/find-modules/FindGLIB.cmake
|
||||||
|
+++ b/cmake/find-modules/FindGLIB.cmake
|
||||||
|
@@ -101,7 +101,7 @@ foreach (_component ${GLIB_FIND_COMPONEN
|
||||||
|
elseif (${_component} STREQUAL "gio-unix")
|
||||||
|
pkg_check_modules(GIO_UNIX gio-unix-2.0)
|
||||||
|
find_path(GLIB_GIO_UNIX_INCLUDE_DIR
|
||||||
|
- NAMES gio/gdesktopappinfo.h
|
||||||
|
+ NAMES gio/gunixconnection.h
|
||||||
|
HINTS ${GIO_UNIX_INCLUDEDIR}
|
||||||
|
PATH_SUFFIXES gio-unix-2.0)
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
revert_glib_fix.patch
|
Loading…
Reference in new issue