From 635e8294364e08c813392966a61a4f39e8ac03a9 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 22 Sep 2021 16:00:31 -0400 Subject: ffs 11.14 rc1 --- freefilesync/debian/patches/ffs_icon_loader.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 freefilesync/debian/patches/ffs_icon_loader.patch (limited to 'freefilesync/debian/patches/ffs_icon_loader.patch') diff --git a/freefilesync/debian/patches/ffs_icon_loader.patch b/freefilesync/debian/patches/ffs_icon_loader.patch new file mode 100644 index 0000000..2575ec5 --- /dev/null +++ b/freefilesync/debian/patches/ffs_icon_loader.patch @@ -0,0 +1,20 @@ +Summary: Solve libglib2.0 problem in sketchy manner +Date: 2021-09-22 +Version: 11.14 +Author: bgstack15 +Message: +Warning! I have absolutely no idea what I am doing. Check https://freefilesync.org/forum/viewtopic.php?t=8780 for future developments. +In Devuan Ceres, starting in 2021-08 with libglib2.0-0=2.68.3-2 the file icon_loader.cpp fails to compile. By removing the static_cast, this file can compile. The built application throws all sorts of GLib-GObject-CRITICIAL messages but the application operates. +Downgrade to "deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20210801T144205Z/ unstable main non-free contrib" in /etc/apt/sources.list and install the exact libglib version necessary to compile without this patch. +$ sudo apt-get -V install libglib2.0-0=2.66.8-1 libglib2.0-bin=2.66.8-1 libglib2.0-data=2.66.8-1 libglib2.0-dev=2.66.8-1 libglib2.0-dev-bin=2.66.8-1 libglib2.0-0:i386=2.66.8-1 +--- 11.13-0/FreeFileSync/Source/base/icon_loader.cpp 2021-09-22 07:35:40.991208133 -0400 ++++ 11.14-0/FreeFileSync/Source/base/icon_loader.cpp 2021-09-22 14:40:10.981215352 -0400 +@@ -216,7 +216,7 @@ + //the remaining icon types won't block! + assert(GDK_IS_PIXBUF(gicon) || G_IS_THEMED_ICON(gicon) || G_IS_EMBLEMED_ICON(gicon)); + +- return FileIconHolder(static_cast(::g_object_ref(gicon)) /*pass ownership*/, maxSize); ++ return FileIconHolder(gicon /*pass ownership*/, maxSize); + + } + -- cgit