main/msm-fb-refresher: update to 0.2
The patch from drebrez has been upstreamed.
This commit is contained in:
parent
4631c2c879
commit
14d60fe243
2 changed files with 4 additions and 37 deletions
|
@ -1,31 +0,0 @@
|
|||
From 56589e6d0da89d687e1d84f0cf2a1efbc8d05adc Mon Sep 17 00:00:00 2001
|
||||
From: drebrez <drebrez@gmail.com>
|
||||
Date: Sun, 2 Dec 2018 02:15:32 +0100
|
||||
Subject: [PATCH] Perform ioctl even if there are errors
|
||||
|
||||
---
|
||||
refresher.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
mode change 100644 => 100755 refresher.c
|
||||
|
||||
diff --git a/refresher.c b/refresher.c
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index 997a1ec..a49e7cb
|
||||
--- a/refresher.c
|
||||
+++ b/refresher.c
|
||||
@@ -38,8 +38,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
if(argc > 1 && !strcmp(argv[1], "--loop"))
|
||||
{
|
||||
- while(ioctl(fd, FBIOPAN_DISPLAY, &var) >= 0)
|
||||
+ while(1) {
|
||||
+ ioctl(fd, FBIOPAN_DISPLAY, &var);
|
||||
usleep(16666);
|
||||
+ }
|
||||
perror("Failed FBIOPAN_DISPLAY");
|
||||
return 1;
|
||||
}
|
||||
--
|
||||
2.19.1
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=msm-fb-refresher
|
||||
pkgver=0.1
|
||||
pkgrel=3
|
||||
pkgver=0.2
|
||||
pkgrel=0
|
||||
pkgdesc="Display refresher for Qualcomm devices"
|
||||
arch="all"
|
||||
url="https://github.com/AsteroidOS/msm-fb-refresher"
|
||||
|
@ -12,7 +12,6 @@ source="
|
|||
msm-fb-refresher.init
|
||||
00-msm-fb-refresher.sh
|
||||
00-msm-fb-refresher.files
|
||||
0001-Perform-ioctl-even-if-there-are-errors.patch
|
||||
"
|
||||
builddir="${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
|
@ -35,8 +34,7 @@ package() {
|
|||
install -Dm755 "$srcdir/00-msm-fb-refresher.files" \
|
||||
"$initfsdir/files/00-msm-fb-refersher.files"
|
||||
}
|
||||
sha512sums="6c39f2a2eccf5c4b4dc89e91b69385ad89cfd3fdef3121d32e88f2811b3a6df1ca15c5f8df8df7eced7133e99abdf54034bc82e9d871f40bfc4271b9a0474e15 msm-fb-refresher-0.1.tar.gz
|
||||
sha512sums="5e2920cf86f2e373e2411a89cf3ac6745af042ff7d91ae581f26b72772bc9ab621ea4154bc33ef57dce0c04ba3f88ee3b9f98c2a17b2579df368b0929cf0bfa7 msm-fb-refresher-0.2.tar.gz
|
||||
5820e02dcb1cd927bcd6c8548307936a12f0dde1b92f15a931134b8d4a41f4b5e8811c6969d9b11a6a31d40da218b24ee274614936f6e50bcd6e794346f99c13 msm-fb-refresher.init
|
||||
1b6168037293db465a5a55d5c263cb60ac46cccb601329b193110bbdffc23207b3d38419d2ad128020bf4ddbcdb868e8fa2f561764adf02c7db0526b0177ee5a 00-msm-fb-refresher.sh
|
||||
906c0d672682a9f0e3e8e07e207a557b8a1659e2e6021cb95c4b9886aed3b9ea477638c00ce9e4193b52dcfab7da317d9840cc576f29c7c7158cc11fd368be84 00-msm-fb-refresher.files
|
||||
0dabbead89190cf8167fface2513cd342731362a701c397c06cbee6336bd0a197c1d11f6c63c38c97222d9dfaf2d25e3305ed447f9b10e137565d2d48cca9ff4 0001-Perform-ioctl-even-if-there-are-errors.patch"
|
||||
906c0d672682a9f0e3e8e07e207a557b8a1659e2e6021cb95c4b9886aed3b9ea477638c00ce9e4193b52dcfab7da317d9840cc576f29c7c7158cc11fd368be84 00-msm-fb-refresher.files"
|
||||
|
|
Loading…
Reference in a new issue