forked from openwrt/packages
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfixes - Fixed a bug involving non-English locales of Windows where machine installs using user-mode networking were rejected due to erroneous version detection (openwrt#20209). - Fixed a regression in --env-file handling (openwrt#19565). - Fixed a bug where podman inspect would fail when stat'ing a device failed. API - The network list compat API endpoint is now much faster (openwrt#20035). Openwrt updates: added patch to allow building with musl-1.2.4 Patch source is from gentoo https://github.com/vimproved/gentoo/blob/c4c349f11a4352be1965726eadfe3a8bd8a6fa9c/app-containers/podman/files/podman-4.5.0-fix-build-with-musl-1.2.4.patch Issue was discussed by @jefferyto at mattn/go-sqlite3#1177 Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com> (cherry picked from commit e25d417)
- Loading branch information
1 parent
0da9f62
commit 54d9824
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
From https://github.com/mattn/go-sqlite3/pull/1177/commits/65d6085c5d87280c0d6883c884ddb25f9273942f Mon Sep 17 00:00:00 2001 | ||
From: leso-kn <info@lesosoftware.com> | ||
Date: Mon, 10 Jul 2023 14:58:52 +0200 | ||
Subject: [PATCH] Fix musl build (#1164) | ||
|
||
--- a/vendor/github.com/mattn/go-sqlite3/sqlite3.go | ||
+++ b/vendor/github.com/mattn/go-sqlite3/sqlite3.go | ||
@@ -21,7 +21,7 @@ package sqlite3 | ||
#cgo CFLAGS: -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 | ||
#cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT | ||
#cgo CFLAGS: -Wno-deprecated-declarations | ||
-#cgo linux,!android CFLAGS: -DHAVE_PREAD64=1 -DHAVE_PWRITE64=1 | ||
+#cgo linux,!android CFLAGS: -DHAVE_PREAD=1 -DHAVE_PWRITE=1 | ||
#cgo openbsd CFLAGS: -I/usr/local/include | ||
#cgo openbsd LDFLAGS: -L/usr/local/lib | ||
#ifndef USE_LIBSQLITE3 |