aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2021-01-27 22:40:58 +0100
committerMilan P. Stanić <mps@arvanta.net>2021-01-27 21:56:18 +0000
commit03ae75743fba1d0f4f05923c5c689dbfc72ce4f5 (patch)
treeb5eef9356368985994245d5e21deebd4973af770
parentf217e47a519eaf5dff182af889153b8db2c0743b (diff)
downloadaports-03ae75743fba1d0f4f05923c5c689dbfc72ce4f5.tar.gz
aports-03ae75743fba1d0f4f05923c5c689dbfc72ce4f5.tar.bz2
aports-03ae75743fba1d0f4f05923c5c689dbfc72ce4f5.tar.xz
community/libudev-zero: upgrade to 0.4.7
-rw-r--r--community/libudev-zero/5bfaa9d6e5343805a3bcb2387aa96458d580c1b0.patch38
-rw-r--r--community/libudev-zero/APKBUILD11
2 files changed, 4 insertions, 45 deletions
diff --git a/community/libudev-zero/5bfaa9d6e5343805a3bcb2387aa96458d580c1b0.patch b/community/libudev-zero/5bfaa9d6e5343805a3bcb2387aa96458d580c1b0.patch
deleted file mode 100644
index 3b9ad55def..0000000000
--- a/community/libudev-zero/5bfaa9d6e5343805a3bcb2387aa96458d580c1b0.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 5bfaa9d6e5343805a3bcb2387aa96458d580c1b0 Mon Sep 17 00:00:00 2001
-From: Mikael Olenfalk <mikael@olenfalk.se>
-Date: Thu, 14 Jan 2021 09:09:37 +0000
-Subject: [PATCH] Add dummy udev_device_get_usec_since_initialized() impl
-
----
- udev.h | 1 +
- udev_device.c | 5 +++++
- 2 files changed, 6 insertions(+)
-
-diff --git a/udev.h b/udev.h
-index 51ba317..bc61ce3 100644
---- a/udev.h
-+++ b/udev.h
-@@ -22,6 +22,7 @@ struct udev *udev_new(void);
- struct udev *udev_ref(struct udev *udev);
- struct udev *udev_unref(struct udev *udev);
-
-+unsigned long long udev_device_get_usec_since_initialized(struct udev_device *udev_device);
- const char *udev_device_get_syspath(struct udev_device *udev_device);
- const char *udev_device_get_sysname(struct udev_device *udev_device);
- const char *udev_device_get_sysnum(struct udev_device *udev_device);
-diff --git a/udev_device.c b/udev_device.c
-index e189659..87631a5 100644
---- a/udev_device.c
-+++ b/udev_device.c
-@@ -19,6 +19,11 @@ struct udev_device {
- int refcount;
- };
-
-+unsigned long long udev_device_get_usec_since_initialized(struct udev_device *udev_device)
-+{
-+ return 0ull;
-+}
-+
- const char *udev_device_get_syspath(struct udev_device *udev_device)
- {
- return udev_device_get_property_value(udev_device, "SYSPATH");
diff --git a/community/libudev-zero/APKBUILD b/community/libudev-zero/APKBUILD
index cb47c44929..691224d84d 100644
--- a/community/libudev-zero/APKBUILD
+++ b/community/libudev-zero/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=libudev-zero
-pkgver=0.4.5
-pkgrel=1
+pkgver=0.4.7
+pkgrel=0
pkgdesc="libudev replacement to use whatever device manager"
url="https://github.com/illiliti/libudev-zero/"
arch="all"
@@ -12,9 +12,7 @@ makedepends="linux-headers"
provides="udev"
replaces="udev"
subpackages="$pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/illiliti/libudev-zero/archive/$pkgver.tar.gz
- 5bfaa9d6e5343805a3bcb2387aa96458d580c1b0.patch
- "
+source="$pkgname-$pkgver.tar.gz::https://github.com/illiliti/libudev-zero/archive/$pkgver.tar.gz"
build() {
make PREFIX=/usr
@@ -24,5 +22,4 @@ package() {
make DESTDIR=$pkgdir PREFIX=/usr install
}
-sha512sums="cc63a266284f60ab8b4d91ff9e7bade6df18c632fa867afe4c1b2cc2ec1e92cf40cc7ad0d693bd3c318994bcfcba0e548461061284131090a2ceb4aa268eaf73 libudev-zero-0.4.5.tar.gz
-20ca776e1c2afce4405dbd67ff902531bc6c9209edfcbb59d128d70f988fb89be3ea70bd27a394516472985bbad6d48e2323dafe7e4a420a110b0471618e379e 5bfaa9d6e5343805a3bcb2387aa96458d580c1b0.patch"
+sha512sums="11b3973609dece5d6cea633dadc83d49b29ab71ee46d076cb844ed46f6c0698ee64b7dff0005c3423028d02c15d636ace3f623f3eaeb244ac3ba6625e29257b8 libudev-zero-0.4.7.tar.gz"