slackware-current/source/a/upower/81a89385a45d3de1028bcd86b3688fb465b4035c.patch

44 lines
1.2 KiB
Diff
Raw Normal View History

Thu Apr 13 01:10:11 UTC 2023 a/f2fs-tools-1.16.0-x86_64-1.txz: Upgraded. a/upower-1.90.0-x86_64-1.txz: Upgraded. kde/breeze-gtk-5.27.4-x86_64-3.txz: Rebuilt. [PATCH] gtk3: restore old icon size for titlebutton Thanks to marav. kde/kwin-5.27.4.1-x86_64-1.txz: Upgraded. l/at-spi2-core-2.48.0-x86_64-1.txz: Upgraded. l/gjs-1.76.0-x86_64-1.txz: Upgraded. l/glib-networking-2.76.0-x86_64-1.txz: Upgraded. l/glib2-2.76.1-x86_64-1.txz: Upgraded. l/gst-plugins-bad-free-1.22.2-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.22.2-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.22.2-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.22.2-x86_64-1.txz: Upgraded. l/gstreamer-1.22.2-x86_64-1.txz: Upgraded. l/librsvg-2.56.0-x86_64-1.txz: Upgraded. l/libsoup3-3.4.0-x86_64-1.txz: Upgraded. l/libwnck3-43.0-x86_64-1.txz: Upgraded. l/openal-soft-1.23.1-x86_64-1.txz: Upgraded. l/pygobject3-3.44.1-x86_64-1.txz: Upgraded. l/vte-0.72.0-x86_64-1.txz: Upgraded. n/dhcpcd-9.5.0-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-102.10.0-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/102.10.0/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2023-15/ https://www.mozilla.org/en-US/security/advisories/mfsa2023-15/#MFSA-TMP-2023-0001 https://www.cve.org/CVERecord?id=CVE-2023-29531 https://www.cve.org/CVERecord?id=CVE-2023-29532 https://www.cve.org/CVERecord?id=CVE-2023-29533 https://www.cve.org/CVERecord?id=CVE-2023-29535 https://www.cve.org/CVERecord?id=CVE-2023-29536 https://www.cve.org/CVERecord?id=CVE-2023-0547 https://www.cve.org/CVERecord?id=CVE-2023-29479 https://www.cve.org/CVERecord?id=CVE-2023-29539 https://www.cve.org/CVERecord?id=CVE-2023-29541 https://www.cve.org/CVERecord?id=CVE-2023-29542 https://www.cve.org/CVERecord?id=CVE-2023-29545 https://www.cve.org/CVERecord?id=CVE-2023-1945 https://www.cve.org/CVERecord?id=CVE-2023-29548 https://www.cve.org/CVERecord?id=CVE-2023-29550 (* Security fix *)
2023-04-13 03:10:11 +02:00
From 81a89385a45d3de1028bcd86b3688fb465b4035c Mon Sep 17 00:00:00 2001
From: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
Date: Fri, 21 Oct 2022 00:14:18 +0200
Subject: [PATCH] enumerator-udev: actually check for an idevice
up-enumerator-udev.c forgot to include the build config file, resulting in
HAVE_IDEVICE macro always being undefined.
This meant that the idevice backend was never actually instantiated - as
evidenced by the file not even compiling when this was fixed, due to
missing "up-device-idevice.h" include.
Fix both of these issues.
---
src/linux/up-enumerator-udev.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/linux/up-enumerator-udev.c b/src/linux/up-enumerator-udev.c
index 9e52d153..1182bdfd 100644
--- a/src/linux/up-enumerator-udev.c
+++ b/src/linux/up-enumerator-udev.c
@@ -18,6 +18,8 @@
*
*/
+#include "config.h"
+
#include <string.h>
#include <gudev/gudev.h>
@@ -29,6 +31,9 @@
#include "up-device-supply-battery.h"
#include "up-device-hid.h"
#include "up-device-wup.h"
+#ifdef HAVE_IDEVICE
+#include "up-device-idevice.h"
+#endif /* HAVE_IDEVICE */
struct _UpEnumeratorUdev {
UpEnumerator parent;
--
GitLab