photon-rss: Bump to 2022.12.01

This commit is contained in:
Tee KOBAYASHI 2022-12-30 07:04:56 +09:00 committed by xtkoba
parent e86300ed5f
commit 9dde20c53d
2 changed files with 2 additions and 22 deletions

View File

@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://git.sr.ht/~ghost08/photon
TERMUX_PKG_DESCRIPTION="An RSS/Atom reader with the focus on speed, usability and a bit of unix philosophy"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
_COMMIT=53f440659b3871d233eddc700ad8f10e2b67b6f2
TERMUX_PKG_VERSION=2022.11.17
_COMMIT=02e0faa0a40f4772e996b58ec203337f7c0dd51c
TERMUX_PKG_VERSION=2022.12.01
# This repository does not accept ".git" suffix:
TERMUX_PKG_SRCURL=https://git.sr.ht/~ghost08/photon
TERMUX_PKG_SHA256=SKIP_CHECKSUM

View File

@ -1,20 +0,0 @@
--- a/imgproc/stdout_redirect.go
+++ b/imgproc/stdout_redirect.go
@@ -36,7 +36,7 @@
// Clone the pipe's writer to the actual Stdout descriptor; from this point
// on, writes to Stdout will go to w.
- if err = syscall.Dup2(int(w.Fd()), syscall.Stdout); err != nil {
+ if err = syscall.Dup3(int(w.Fd()), syscall.Stdout, 0); err != nil {
log.Fatal(err)
}
@@ -61,7 +61,7 @@
b := <-c.out
// Restore original Stdout.
- syscall.Dup2(c.origStdout, syscall.Stdout)
+ syscall.Dup3(c.origStdout, syscall.Stdout, 0)
syscall.Close(c.origStdout)
log.Println(string(b))