photon-rss: Bump to 2022.11.17

This commit is contained in:
Tee KOBAYASHI 2022-11-18 22:17:45 +09:00 committed by xtkoba
parent 090244b05e
commit a037a1751a
2 changed files with 22 additions and 2 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=600ea9a50ecb49e21c4cc9c65e2a9cad69b32cf2
TERMUX_PKG_VERSION=2022.03.16
_COMMIT=53f440659b3871d233eddc700ad8f10e2b67b6f2
TERMUX_PKG_VERSION=2022.11.17
# This repository does not accept ".git" suffix:
TERMUX_PKG_SRCURL=https://git.sr.ht/~ghost08/photon
TERMUX_PKG_SHA256=SKIP_CHECKSUM

View File

@ -0,0 +1,20 @@
--- 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))