summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Zacsh2021-11-25 23:38:34 -0600
committerJonathan Zacsh2021-11-25 23:38:34 -0600
commit09191baf8b03ace1e3f8fcc0783dd3ba92b65763 (patch)
treea4d3abcc0ee2f771096018f0acef0df9cf379716
parent7c15607cede8bf091724f070eb75ae8d2e288954 (diff)
downloadaur-09191baf8b03ace1e3f8fcc0783dd3ba92b65763.tar.gz
fix stale pidcat-git AUR package
staleness caused by upstream change 17 months ago that tweaked the shebang, and broke the python2-shebang patch of this PKGBUILD: https://github.com/JakeWharton/pidcat/commit/e5fa59974b312727c503e42b1bf94e1ecf3e556d
-rw-r--r--PKGBUILD2
-rw-r--r--pidcat.patch8
2 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2878903b0e18..bb7171db5065 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ license=('Apache')
depends=('python2')
source=("git+$url.git" "pidcat.patch")
-md5sums=('SKIP' "88dd654d600d8de4ff42174d042f0a77")
+md5sums=('SKIP' "c9bfb27615710b5ddaaf74cef0042a17")
build() {
patch -N ${srcdir}/pidcat/pidcat.py pidcat.patch
diff --git a/pidcat.patch b/pidcat.patch
index 9308937f1663..9aa3934dd6fa 100644
--- a/pidcat.patch
+++ b/pidcat.patch
@@ -1,8 +1,8 @@
---- pidcat.py 2014-02-09 15:14:50.481729244 -0600
-+++ pidcat.new 2014-02-09 15:14:36.381617069 -0600
+--- pidcat.py 2021-11-25 14:45:02.836580689 -0600
+--- pidcat.new 2021-11-25 14:45:43.012328690 -0600
@@ -1,4 +1,4 @@
--#!/usr/bin/python -u
-+#!/usr/bin/python2 -u
+-#!/usr/bin/env -S python -u
++#!/usr/bin/env -S python2 -u
'''
Copyright 2009, The Android Open Source Project