From c7c3961cdcc7d3a0b265e35a9a76c7bda76f2b43 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Mar 2019 13:40:36 +0100 Subject: extra/conky: remove obsolete patch --- extra/conky/PKGBUILD | 8 -------- extra/conky/fix-type-mismatch.patch | 13 ------------- 2 files changed, 21 deletions(-) delete mode 100644 extra/conky/PKGBUILD delete mode 100644 extra/conky/fix-type-mismatch.patch (limited to 'extra') diff --git a/extra/conky/PKGBUILD b/extra/conky/PKGBUILD deleted file mode 100644 index 506fad26..00000000 --- a/extra/conky/PKGBUILD +++ /dev/null @@ -1,8 +0,0 @@ -#see https://github.com/brndnmtthws/conky/issues/759 -sha256sums+=('842a3377b1d4fcaff8ec409b68fe6b05a9faf500f29b4d8e21cec3b4cd5b7da2') -source+=('fix-type-mismatch.patch') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i "${srcdir}/fix-type-mismatch.patch" -} diff --git a/extra/conky/fix-type-mismatch.patch b/extra/conky/fix-type-mismatch.patch deleted file mode 100644 index a84d05e2..00000000 --- a/extra/conky/fix-type-mismatch.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/linux.cc b/src/linux.cc -index 0a7d4331..09fa6c99 100644 ---- a/src/linux.cc -+++ b/src/linux.cc -@@ -1169,7 +1169,7 @@ static int open_sysfs_sensor(const char *dir, const char *dev, const char *type, - fd = open(path, O_RDONLY); - if (fd < 0) { - /* if it fails, strip the /device from dev and attempt again */ -- size_t len_to_trunc = std::max(7UL, strnlen(buf, 255)) - 7; -+ size_t len_to_trunc = std::max((size_t)7UL, strnlen(buf, 255)) - 7; - buf[len_to_trunc] = 0; - snprintf(path, 255, "%s%s/%s%d_input", dir, dev, type, n); - fd = open(path, O_RDONLY); -- cgit v1.2.3-70-g09d2