From 87a59bbc3eeac8832122384293b0e399f7abc772 Mon Sep 17 00:00:00 2001 From: Lucy Phipps Date: Sat, 23 Oct 2021 15:51:22 +0100 Subject: [PATCH] algernon: update to 1.12.14 --- packages/algernon/build.sh | 4 ++-- packages/algernon/lib-pq-user_posix.go.patch | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 packages/algernon/lib-pq-user_posix.go.patch diff --git a/packages/algernon/build.sh b/packages/algernon/build.sh index f76c40151..9733b7cc7 100644 --- a/packages/algernon/build.sh +++ b/packages/algernon/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://algernon.roboticoverlords.org/ TERMUX_PKG_DESCRIPTION="Small self-contained web server with Lua, Markdown, QUIC, Redis and PostgreSQL support" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=1.12.12 +TERMUX_PKG_VERSION=1.12.14 TERMUX_PKG_SRCURL=https://github.com/xyproto/algernon/archive/$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=6127eb975da960fd8aa7732c82f3b5e62d14ea763801778552bdbeec28846bf7 +TERMUX_PKG_SHA256=cab5b01923142e0326ea2a01797814bb2e8ea9f7c6c41a3ea0ae7df3b667e86e TERMUX_PKG_AUTO_UPDATE=true termux_step_make() { diff --git a/packages/algernon/lib-pq-user_posix.go.patch b/packages/algernon/lib-pq-user_posix.go.patch new file mode 100644 index 000000000..a6ff2373e --- /dev/null +++ b/packages/algernon/lib-pq-user_posix.go.patch @@ -0,0 +1,15 @@ +https://github.com/lib/pq/pull/1060 +diff --git a/src/vendor/github.com/lib/pq/user_posix.go b/src/vendor/github.com/lib/pq/user_posix.go +index 227a948e..5f2d439b 100644 +--- a/src/vendor/github.com/lib/pq/user_posix.go ++++ b/src/vendor/github.com/lib/pq/user_posix.go +@@ -1,7 +1,7 @@ + // Package pq is a pure Go Postgres driver for the database/sql package. + +-//go:build aix || darwin || dragonfly || freebsd || linux || nacl || netbsd || openbsd || plan9 || solaris || rumprun || illumos +-// +build aix darwin dragonfly freebsd linux nacl netbsd openbsd plan9 solaris rumprun illumos ++//go:build aix || darwin || dragonfly || freebsd || (linux && !android) || nacl || netbsd || openbsd || plan9 || solaris || rumprun || illumos ++// +build aix darwin dragonfly freebsd linux,!android nacl netbsd openbsd plan9 solaris rumprun illumos + + package pq +