termux-packages/packages/algernon/lib-pq-user_posix.go.patch

16 lines
834 B
Diff
Raw Normal View History

2021-10-23 16:51:22 +02:00
https://github.com/lib/pq/pull/1060
2021-10-23 17:05:12 +02:00
diff --git a/vendor/github.com/lib/pq/user_posix.go b/vendor/github.com/lib/pq/user_posix.go
2021-10-23 16:51:22 +02:00
index 227a948e..5f2d439b 100644
2021-10-23 17:05:12 +02:00
--- a/vendor/github.com/lib/pq/user_posix.go
+++ b/vendor/github.com/lib/pq/user_posix.go
2021-10-23 16:51:22 +02:00
@@ -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