summaryrefslogtreecommitdiffstats
path: root/source/a/upower
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/upower')
-rw-r--r--source/a/upower/81a89385a45d3de1028bcd86b3688fb465b4035c.patch43
-rwxr-xr-xsource/a/upower/upower.SlackBuild5
2 files changed, 1 insertions, 47 deletions
diff --git a/source/a/upower/81a89385a45d3de1028bcd86b3688fb465b4035c.patch b/source/a/upower/81a89385a45d3de1028bcd86b3688fb465b4035c.patch
deleted file mode 100644
index ff80079ea..000000000
--- a/source/a/upower/81a89385a45d3de1028bcd86b3688fb465b4035c.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-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
-
diff --git a/source/a/upower/upower.SlackBuild b/source/a/upower/upower.SlackBuild
index ba6b2bdb7..a3a9a8a21 100755
--- a/source/a/upower/upower.SlackBuild
+++ b/source/a/upower/upower.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=upower
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -91,9 +91,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix libimobiledevice support:
-zcat $CWD/81a89385a45d3de1028bcd86b3688fb465b4035c.patch.gz | patch -p1 --verbose || exit 1
-
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"