aboutsummaryrefslogtreecommitdiff
path: root/tools/util-linux/patches
Commit message (Collapse)AuthorAge
* tools/util-linux: build with mesonRosen Penev2025-07-31
| | | | | | | | | | | | Simplifies Makefile by quite a bit. Added an upstream backport fixing compilation with older OS. Added a curses patch so -Dauto_features=disabled can work properly. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19598 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: util-linux: refresh patchesRobert Marko2025-07-30
| | | | | | | util-linux needs to be refreshed, so do so. Fixes: 4fd61171294d ("tools/util-linux: fix libuuid linking") Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools/util-linux: fix libuuid linkingRosen Penev2025-07-29
| | | | | | | | | | | | The pkgconfig file that autotools uses is wrong for static libraries. meson does the right thing but for static libraries, .private entries need to move to non .private. Fixes compilation with at least mtd-utils. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19597 Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools/util-linux: include macOS system uuid headerMichael Pratt2025-07-26
| | | | | | | | | | | | | | | | | | | The type definition of uuid_string_t and possibly other details used by macOS SDKs like XCode is missing from util-linux. Headers on macOS have a different inclusion guard compared to the unique util-linux "_UL" prefix. This uuid.h header is guaranteed to be present since macOS 10.8 and iOS 6 even without the presence of XCode or other SDKs on the system, so adding an include_next directive is safe after checking for clang. Link: https://developer.apple.com/documentation/foundation/uuid Link: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/uuid.3.html Tested-by: Georgi Valkov <gvalkov@gmail.com> # macOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Link: https://github.com/openwrt/openwrt/pull/16522 Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools: util-linux: update to v2.41.1Thomas Weißschuh2025-07-01
| | | | | | | | | | | | Release Notes: https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41.1-ReleaseNotes Remove upstreamed: tools/util-linux/patches/101-macos-weak-aliases.patch Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de> Link: https://github.com/openwrt/openwrt/pull/19236 Signed-off-by: Nick Hainke <vincent@systemli.org>
* util-linux: change include order to fix build errorFelix Fietkau2025-04-23
| | | | | | | Prevent accidentally including an old version of uuid.h, which causes the build to fail because of missing definitions. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: util-linux: update to v2.41Thomas Weißschuh2025-04-18
| | | | | | | | | | | | | | | | Release Notes: https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41-ReleaseNotes Remove upstreamed: 0001-hexdump-allow-enabling-with-disable-all-programs.patch 110-pkgconfig-static.patch Refresh: 101-macos-weak-aliases.patch Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de> Link: https://github.com/openwrt/openwrt/pull/18493 Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools: util-linux: fix static libuuid pkgconfRosen Penev2024-09-26
| | | | | | | | | | Fixes uuid.pc usage on hosts with an older glibc. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16480 Link: https://github.com/openwrt/openwrt/pull/16480 Link: https://github.com/openwrt/openwrt/pull/16480 Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools: util-linux: update to v2.40.2Thomas Weißschuh2024-07-27
| | | | | | | | | | | | | | | Also switch from .tar.gz to .tar.xz to align with package/utils/util-linux/Makefile. This makes synchronized updates easier. Release Notes: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40-ReleaseNotes https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.1-ReleaseNotes https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.2-ReleaseNotes Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de> Link: https://github.com/openwrt/openwrt/pull/15995 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: util-linux: mark hexdump patch as backportRobert Marko2024-06-27
| | | | | | | The hexdump fix for --disable-all-programs has been merged upstream, so mark it so. Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools: util-linux: build libuuidRobert Marko2024-06-26
| | | | | | | | | | util-linux usually provides libuuid, and is preffered by mtd-utils so lets enable building libuuid so we can disable it later in e2fsprogs. Only the static version of library is intentionally built. Link: https://github.com/openwrt/openwrt/pull/15806 Signed-off-by: Robert Marko <robimarko@gmail.com>
* tools: util-linux: use --disable-all-programsRobert Marko2024-06-26
util-linux supports passing --disable-all-programs configure flag to disable building anything that isnt then manually enabled. So, lets switch to using that instead of manually having to disable all tools we dont need. However, current drawback is that there is no upstream support for enabling building hexdump so I included a patch that is pending upstream[0]. [0] https://github.com/util-linux/util-linux/pull/3101 Link: https://github.com/openwrt/openwrt/pull/15806 Signed-off-by: Robert Marko <robimarko@gmail.com>