Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging-next 2024-11-30 #360437

Merged
merged 272 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
29d91d2
Merge master into staging-next
github-actions[bot] Nov 20, 2024
04fc572
Merge master into staging-next
github-actions[bot] Nov 20, 2024
21497ce
Merge master into staging-next
github-actions[bot] Nov 20, 2024
f828363
Merge master into staging-next
github-actions[bot] Nov 20, 2024
acce078
Merge master into staging-next
github-actions[bot] Nov 21, 2024
15daf99
Merge master into staging-next
github-actions[bot] Nov 21, 2024
6566172
Merge master into staging-next
github-actions[bot] Nov 21, 2024
534769b
Merge master into staging-next
github-actions[bot] Nov 21, 2024
e872447
Merge master into staging-next
github-actions[bot] Nov 21, 2024
3ab9e96
Merge master into staging-next
github-actions[bot] Nov 22, 2024
19daa68
Merge master into staging-next
github-actions[bot] Nov 22, 2024
0c6e6d2
Merge master into staging-next
github-actions[bot] Nov 22, 2024
f197f54
Merge master into staging-next
github-actions[bot] Nov 22, 2024
ae6f2c4
Merge master into staging-next
github-actions[bot] Nov 23, 2024
28d3bad
Merge master into staging-next
github-actions[bot] Nov 23, 2024
a67aa19
Merge master into staging-next
github-actions[bot] Nov 23, 2024
41845d1
Merge master into staging-next
github-actions[bot] Nov 23, 2024
835ae0f
Merge master into staging-next
github-actions[bot] Nov 24, 2024
81d4b4c
Merge master into staging-next
github-actions[bot] Nov 24, 2024
36afa30
Merge master into staging-next
github-actions[bot] Nov 24, 2024
a5972fa
Merge master into staging-next
github-actions[bot] Nov 24, 2024
28739cf
Merge master into staging-next
github-actions[bot] Nov 25, 2024
36f39ba
Merge master into staging-next
github-actions[bot] Nov 25, 2024
d33a221
Merge master into staging-next
emilazy Nov 25, 2024
1df6850
Merge master into staging-next
github-actions[bot] Nov 26, 2024
6cb4c69
Merge master into staging-next
github-actions[bot] Nov 26, 2024
eaaebd5
Merge remote-tracking branch 'origin/master' into staging-next
K900 Nov 26, 2024
8c2d58d
Merge master into staging-next
github-actions[bot] Nov 26, 2024
2e09888
Merge master into staging-next
github-actions[bot] Nov 27, 2024
3563ab5
Merge master into staging-next
github-actions[bot] Nov 27, 2024
f56c2b7
Merge master into staging-next
github-actions[bot] Nov 27, 2024
e15a4ac
Merge master into staging-next
github-actions[bot] Nov 27, 2024
8d3f016
Merge master into staging-next
github-actions[bot] Nov 28, 2024
2a4bd88
Merge master into staging-next
github-actions[bot] Nov 28, 2024
92714a6
Merge master into staging-next
github-actions[bot] Nov 28, 2024
ff06ef2
Merge master into staging-next
github-actions[bot] Nov 28, 2024
0c67dd5
Merge master into staging-next
github-actions[bot] Nov 29, 2024
3df2bbc
Merge master into staging-next
github-actions[bot] Nov 29, 2024
1f51c3b
Merge master into staging-next
github-actions[bot] Nov 29, 2024
20ddc00
Merge master into staging-next
github-actions[bot] Nov 29, 2024
4880c3b
Merge master into staging-next
github-actions[bot] Nov 29, 2024
1bd7dce
Merge master into staging-next
github-actions[bot] Nov 30, 2024
7eddd28
Merge master into staging-next
github-actions[bot] Nov 30, 2024
aa33135
Merge master into staging-next
github-actions[bot] Nov 30, 2024
b9274aa
libcamera: re-sign IPA modules after fixup (#353336)
steinuil Nov 30, 2024
262a7c4
Merge master into staging-next
github-actions[bot] Nov 30, 2024
a1868a1
xorg.libX11: Fix spurious Xerror when running synchronized
bobby285271 Nov 10, 2024
f028617
tcl: 8.6.13 -> 8.6.15
agbrooks Oct 22, 2024
31a7cdb
tk: 8.6.13 -> 8.6.15
agbrooks Oct 22, 2024
c81f064
librist: fix build for musl
alyssais Nov 11, 2024
df7b79a
systemd: revert boot-breaking systemd-boot change
alyssais Nov 11, 2024
88cd14d
postgresql_16: 16.4 -> 16.5
wolfgangwalther Nov 14, 2024
ef7dc14
postgresql: drop build-time dependency on GHC
Ma27 Nov 8, 2024
17738b2
systemd: 256.7 -> 256.8
Princemachiavelli Nov 16, 2024
d93cc69
Revert "stdenv: set NIX_DONT_SET_RPATH_FOR_TARGET on Darwin"
reckenrode Nov 13, 2024
85f95c5
stdenv: elaborate on nature of mass rebuilds
reckenrode Nov 16, 2024
fe5ea97
llvmPackages_{12,13}.lldb: don't try to find nonexistent patch
sternenseemann Oct 15, 2024
f0f66c4
llvmPackages_12: build from monorepo source
sternenseemann Oct 5, 2024
fcb5d10
llvmPackages_12.compiler-rt: move codesign patch into versioned dir
sternenseemann Oct 12, 2024
6309f13
llvmPackages_12.clang: use nostdlibinc patch instead of sed command
sternenseemann Oct 12, 2024
67de259
curl: backport netrc regression fix
Scrumplex Nov 15, 2024
6b98b10
python312Packages.setuptools: 75.1.0 -> 75.1.1
dotlambda Nov 8, 2024
e608a76
autoconf-archive: fix quoting of m4_fatal
corngood Nov 14, 2024
72deeb8
Revert "systemd: revert boot-breaking systemd-boot change"
emilazy Nov 17, 2024
e04a98a
bazel_7: 7.4.0 -> 7.4.1
boltzmannrain Nov 13, 2024
0c1ab1f
darwin bazelDeps hashes
boltzmannrain Nov 13, 2024
85492cd
llvmPackages_12.compiler-rt: fix build race aarch64-darwin
paparodeo Nov 17, 2024
7d85e7c
libuv: disable test for darwin sandbox
paparodeo Nov 18, 2024
c1f4c53
libgit2: switch to pcre2
zowoq Nov 17, 2024
57b1a4b
meson.setupHook: Add timeout-multiplier
Artturin Nov 16, 2024
d245bc3
folly: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
289a446
folly: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
ae228e4
folly: move to `pkgs/by-name`
emilazy Nov 13, 2024
70ab289
folly: use `finalAttrs`
emilazy Nov 13, 2024
bfba0d1
folly: remove `with lib;`
emilazy Nov 13, 2024
cdb0333
folly: use `refs/tags/`
emilazy Nov 13, 2024
685fd2c
folly: use `hash`
emilazy Nov 13, 2024
80dd0dc
folly: reorder attributes
emilazy Nov 13, 2024
4fc612b
folly: reorder inputs to match upstream file
emilazy Nov 13, 2024
25ae142
folly: refine `meta.platforms`
emilazy Nov 14, 2024
20ea752
folly: use Ninja
emilazy Nov 13, 2024
3befdb1
folly: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
94862ed
folly: patch `pkg-config` file instead of CMake files
emilazy Nov 13, 2024
012bca6
folly: fix split outputs
emilazy Nov 13, 2024
c47376b
folly: refine `-fpermissive` flag
emilazy Nov 13, 2024
eab5ca3
folly: remove obsolete AArch64 hack
emilazy Nov 13, 2024
5d2806e
folly: condition shared libraries on platform setting
emilazy Nov 13, 2024
f30af82
folly: propagate required dependencies
emilazy Nov 13, 2024
387712f
folly: bump to `fmt_11`
emilazy Nov 13, 2024
4809b6f
folly: enable tests
emilazy Nov 14, 2024
ca120bb
folly: add update script
emilazy Nov 14, 2024
3571e8d
folly: add emily to maintainers
emilazy Nov 13, 2024
6a9e015
folly: add techknowlogick to maintainers
emilazy Nov 16, 2024
15de9b5
fizz: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
3aa8b5f
fizz: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
8b9a7a6
fizz: move to `pkgs/by-name`
emilazy Nov 13, 2024
d53e52c
fizz: remove `with lib;`
emilazy Nov 13, 2024
3885093
fizz: reorder attributes
emilazy Nov 13, 2024
d8f1c15
fizz: reorder inputs to match upstream file
emilazy Nov 13, 2024
7935fdc
fizz: remove unnecessary input
emilazy Nov 13, 2024
bc675bd
fizz: remove unnecessary `NIX_LDFLAGS`
emilazy Nov 14, 2024
b76f9f3
fizz: remove unnecessary CMake flag
emilazy Nov 14, 2024
61c6aea
fizz: use Ninja
emilazy Nov 13, 2024
3f8da0c
fizz: set `__darwinAllowLocalNetworking`
emilazy Nov 13, 2024
e05b1fc
fizz: 2024.03.11.00 -> 2024.11.11.00
emilazy Nov 13, 2024
c5f8cd9
fizz: condition shared libraries on platform setting
emilazy Nov 14, 2024
5dfc2a7
fizz: propagate required dependencies
emilazy Nov 13, 2024
1666822
fizz: enable more tests
emilazy Nov 14, 2024
0f8b79d
fizz: split outputs
emilazy Nov 14, 2024
c4e23b8
fizz: add update script
emilazy Nov 14, 2024
2eb6b35
fizz: add emily to maintainers
emilazy Nov 13, 2024
3a36eb8
fizz: add techknowlogick to maintainers
emilazy Nov 16, 2024
0e41aed
mvfst: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
550a372
mvfst: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
4bc1430
mvfst: move to `pkgs/by-name`
emilazy Nov 13, 2024
73d25fc
mvfst: use `finalAttrs`
emilazy Nov 13, 2024
4acafb0
mvfst: remove `with lib;`
emilazy Nov 13, 2024
d7c47e4
mvfst: use `refs/tags/`
emilazy Nov 13, 2024
c996811
mvfst: use `hash`
emilazy Nov 13, 2024
8be72a3
mvfst: reorder inputs
emilazy Nov 13, 2024
a4f0bcf
mvfst: use Ninja
emilazy Nov 13, 2024
d3fa762
mvfst: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
c308963
mvfst: condition shared libraries on platform setting
emilazy Nov 14, 2024
5388bfb
mvfst: propagate required dependencies
emilazy Nov 13, 2024
54d1271
mvfst: enable tests
emilazy Nov 14, 2024
0258bac
mvfst: split outputs
emilazy Nov 14, 2024
3befd62
mvfst: add update script
emilazy Nov 14, 2024
2ec5324
mvfst: add emily to maintainers
emilazy Nov 13, 2024
e28d5ba
mvfst: add techknowlogick to maintainers
emilazy Nov 16, 2024
6da9186
wangle: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
152d24f
wangle: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
18d703b
wangle: move to `pkgs/by-name`
emilazy Nov 13, 2024
2e7106f
wangle: remove `with lib;`
emilazy Nov 13, 2024
f09790e
wangle: use `refs/tags/`
emilazy Nov 13, 2024
b2977e0
wangle: use `hash`
emilazy Nov 13, 2024
fbeae37
wangle: reorder attributes
emilazy Nov 13, 2024
a10e14c
wangle: reorder inputs to match upstream file
emilazy Nov 13, 2024
334e0af
wangle: remove unnecessary CMake flag
emilazy Nov 14, 2024
9c57e63
wangle: use Ninja
emilazy Nov 13, 2024
380d74b
wangle: set `__darwinAllowLocalNetworking`
emilazy Nov 13, 2024
8ba76a9
wangle: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
09404ad
wangle: condition shared libraries on platform setting
emilazy Nov 14, 2024
e8ede7f
wangle: split outputs
emilazy Nov 14, 2024
3c09f4a
wangle: add update script
emilazy Nov 14, 2024
b06e63b
wangle: add emily to maintainers
emilazy Nov 14, 2024
fcc3b01
wangle: add techknowlogick to maintainers
emilazy Nov 16, 2024
efd8415
fbthrift: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
c7f7fcb
fbthrift: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
887ed58
fbthrift: move to `pkgs/by-name`
emilazy Nov 13, 2024
2d4f3a6
fbthrift: use `finalAttrs`
emilazy Nov 13, 2024
0d5352e
fbthrift: remove `with lib;`
emilazy Nov 13, 2024
50fa137
fbthrift: use `refs/tags/`
emilazy Nov 13, 2024
8054f6f
fbthrift: use `hash`
emilazy Nov 13, 2024
bbe7a25
fbthrift: reorder attributes
emilazy Nov 13, 2024
23b97b3
fbthrift: reorder inputs to match upstream file
emilazy Nov 13, 2024
ce97828
fbthrift: remove unnecessary inputs
emilazy Nov 14, 2024
4bb4cb5
fbthrift: use Ninja
emilazy Nov 13, 2024
e6b873e
fbthrift: 2024.03.11.00 -> 2024.11.11.00
emilazy Nov 13, 2024
c9b3a4d
fbthrift: condition shared libraries on platform setting
emilazy Nov 13, 2024
7ca0641
fbthrift: propagate required dependencies
emilazy Nov 13, 2024
09a1169
fbthrift: add note about tests
emilazy Nov 13, 2024
a1f8287
fbthrift: split outputs
emilazy Nov 14, 2024
460f42b
fbthrift: add update script
emilazy Nov 14, 2024
ed8dc35
fbthrift: add emily to maintainers
emilazy Nov 14, 2024
21d5e06
fbthrift: add techknowlogick to maintainers
emilazy Nov 16, 2024
762d5ea
fb303: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
b156f19
fb303: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
752764c
fb303: move to `pkgs/by-name`
emilazy Nov 13, 2024
f8ac058
fb303: use `finalAttrs`
emilazy Nov 13, 2024
6683598
fb303: remove `with lib;`
emilazy Nov 13, 2024
80dcc25
fb303: use `refs/tags/`
emilazy Nov 13, 2024
e99730c
fb303: use `hash`
emilazy Nov 13, 2024
8732b37
fb303: reorder attributes
emilazy Nov 13, 2024
0642824
fb303: reorder inputs to match upstream file
emilazy Nov 13, 2024
6d8f62f
fb303: add explicit `gflags` input
emilazy Nov 13, 2024
5b0e064
fb303: remove `python3` input
emilazy Nov 13, 2024
05f3826
fb303: use `lib.cmakeBool`
emilazy Nov 13, 2024
6266ce9
fb303: use Ninja
emilazy Nov 13, 2024
a6d0509
fb303: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
e6213d5
fb303: condition shared libraries on platform setting
emilazy Nov 14, 2024
8d9e9c0
fb303: split outputs
emilazy Nov 14, 2024
90b414f
fb303: add update script
emilazy Nov 14, 2024
72c9c31
fb303: add emily to maintainers
emilazy Nov 14, 2024
e229273
fb303: add techknowlogick to maintainers
emilazy Nov 16, 2024
1b3fa8d
edencommon: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
f46f5f6
edencommon: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
20cd2e5
edencommon: move to `pkgs/by-name`
emilazy Nov 13, 2024
9c19f05
edencommon: use `finalAttrs`
emilazy Nov 13, 2024
2cf8a16
edencommon: remove `with lib;`
emilazy Nov 13, 2024
fafc2fc
edencommon: use `refs/tags/`
emilazy Nov 13, 2024
8a66562
edencommon: use `hash`
emilazy Nov 13, 2024
94c9aa7
edencommon: reorder inputs to match upstream file
emilazy Nov 13, 2024
55bf720
edencommon: add explicit `gflags` dependency
emilazy Nov 13, 2024
814e5bf
edencommon: use Ninja
emilazy Nov 13, 2024
2c5a629
edencommon: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
9a4458e
edencommon: condition shared libraries on platform setting
emilazy Nov 14, 2024
6f34541
edencommon: enable tests
emilazy Nov 14, 2024
7c00b4f
edencommon: split outputs
emilazy Nov 14, 2024
7596981
edencommon: add update script
emilazy Nov 14, 2024
6093af0
edencommon: add emily to maintainers
emilazy Nov 14, 2024
a7174ed
edencommon: add techknowlogick to maintainers
emilazy Nov 16, 2024
86a5932
cpptoml: add patch for GCC 11
emilazy Nov 15, 2024
04a3542
watchman: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
7d0b2be
watchman: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
826d6ff
watchman: move to `pkgs/by-name`
emilazy Nov 13, 2024
9328dc4
watchman: use `finalAttrs`
emilazy Nov 13, 2024
a5c6125
watchman: remove `with lib;`
emilazy Nov 13, 2024
d55bdca
watchman: use `refs/tags/`
emilazy Nov 13, 2024
dcfeafd
watchman: reorder attributes
emilazy Nov 13, 2024
be7d4ec
watchman: reorder inputs to match upstream file
emilazy Nov 13, 2024
c981f0f
watchman: clean up inputs
emilazy Nov 13, 2024
7fdaae1
watchman: use Ninja
emilazy Nov 13, 2024
e59693e
watchman: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
6bb3a25
watchman: use `lib.cmake{Bool,Feature}`
emilazy Nov 13, 2024
cc8a407
watchman: set `CMAKE_INSTALL_RPATH_USE_LINK_PATH`
emilazy Nov 15, 2024
ebfe3dd
watchman: use upstream default for `stateDir`
emilazy Nov 13, 2024
d24cff2
watchman: enable tests
emilazy Nov 14, 2024
0897361
watchman: strip references to `folly.fmt.dev`
emilazy Nov 14, 2024
9dee8b4
watchman: add update script
emilazy Nov 14, 2024
dc710f7
watchman: add emily to maintainers
emilazy Nov 14, 2024
d5694f2
watchman: add techknowlogick to maintainers
emilazy Nov 16, 2024
39809ed
libarchive: add patch to fix `.pc` file
emilazy Nov 19, 2024
7639abd
Revert "nixStatic: mark as broken on darwin (#357185)"
emilazy Nov 19, 2024
a8e4d3a
xcbuild: find system toolchain on macOS Sonoma and earlier
midchildan Nov 19, 2024
54b8917
xcbuild: const can't desctruct. fix build
paparodeo Nov 20, 2024
adc2a49
nodejs_20: 20.18.0 -> 20.18.1
aduh95 Nov 20, 2024
0e2bef0
tk: fix x64 darwin build
paparodeo Nov 21, 2024
a98c9fb
curl: backport other netrc regression fix
Scrumplex Nov 20, 2024
cec59f9
e2fsprogs: remove compat patch
wolfgangwalther Nov 17, 2024
a92ea1f
nixos/lib/test-driver: remove legacy args handling
wolfgangwalther Nov 17, 2024
a63fd65
cacert: 3.104 -> 3.107
mweinelt Nov 21, 2024
9837d6f
python313Packages.pycurl: 7.45.3 -> 7.45.3-unstable-2024-10-17
mweinelt Nov 13, 2024
8221c09
nixos/lib/test-driver: fix linting after compatibility clean‐up
emilazy Nov 25, 2024
73f95b4
haskellPackages.haskell-language-server: refactor override
sternenseemann Nov 7, 2024
5aff255
haskellPackages.ghcide: apply patch for GHC 9.8.3 compat
sternenseemann Nov 9, 2024
c91c4a0
haskell.compiler.ghcHEAD: disable --hyperlinked-source on aarch64
sternenseemann Nov 8, 2024
bde0bc8
haskell.compiler.ghcHEAD: bootstrap using GHC 9.10
sternenseemann Nov 8, 2024
649721f
haskell.packages.ghcHEAD: start compiler config for GHC 9.14
sternenseemann Nov 8, 2024
3dec3c3
Merge master into staging-next
github-actions[bot] Nov 30, 2024
3016300
haskellPackages: cherry picks from haskell-updates (#360499)
vcunat Nov 30, 2024
f66e210
Merge master into staging-next
github-actions[bot] Dec 1, 2024
63300a1
Merge master into staging-next
github-actions[bot] Dec 1, 2024
ede548f
Merge master into staging-next
github-actions[bot] Dec 1, 2024
dc4fceb
Merge master into staging-next
github-actions[bot] Dec 1, 2024
238b952
Merge master into staging-next
github-actions[bot] Dec 2, 2024
5c6c7bd
Merge master into staging-next
github-actions[bot] Dec 2, 2024
159994e
Merge master into staging-next
github-actions[bot] Dec 2, 2024
a951f08
Merge master into staging-next
github-actions[bot] Dec 2, 2024
ac86a85
Merge master into staging-next
github-actions[bot] Dec 2, 2024
44b831c
Merge master into staging-next
github-actions[bot] Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 1 addition & 40 deletions nixos/lib/test-driver/test_driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from pathlib import Path
from typing import Any

from colorama import Fore, Style

from test_driver.logger import AbstractLogger
from test_driver.machine import Machine, NixStartScript, retry
from test_driver.polling_condition import PollingCondition
Expand Down Expand Up @@ -206,48 +204,11 @@ def terminate_test(self) -> None:

def create_machine(
self,
start_command: str | dict,
start_command: str,
*,
name: str | None = None,
keep_vm_state: bool = False,
) -> Machine:
# Legacy args handling
# FIXME: remove after 24.05
if isinstance(start_command, dict):
if name is not None or keep_vm_state:
raise TypeError(
"Dictionary passed to create_machine must be the only argument"
)

args = start_command
start_command = args.pop("startCommand", SENTINEL)

if start_command is SENTINEL:
raise TypeError(
"Dictionary passed to create_machine must contain startCommand"
)

if not isinstance(start_command, str):
raise TypeError(
f"startCommand must be a string, got: {repr(start_command)}"
)

name = args.pop("name", None)
keep_vm_state = args.pop("keep_vm_state", False)

if args:
raise TypeError(
f"Unsupported arguments passed to create_machine: {args}"
)

self.logger.warning(
Fore.YELLOW
+ Style.BRIGHT
+ "WARNING: Using create_machine with a single dictionary argument is deprecated and will be removed in NixOS 24.11"
+ Style.RESET_ALL
)
# End legacy args handling

tmp_dir = get_tmp_dir()

cmd = NixStartScript(start_command)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
From 427e226a2fe3980388abffd6de25ed6b9591cce3 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <[email protected]>
Date: Sat, 19 Oct 2024 21:51:30 -0400
Subject: [PATCH 1/3] ax_check_gl.m4: properly quote m4_fatal

It needs to only run as an argument of m4_if, not all the time.

Fixes: 753493bf7e251997f02559b98fc599d4a337d8cd
Bug: https://bugs.gentoo.org/941845
---
m4/ax_check_gl.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_check_gl.m4 b/m4/ax_check_gl.m4
index 850d407..4c2e4ef 100644
--- a/m4/ax_check_gl.m4
+++ b/m4/ax_check_gl.m4
@@ -85,7 +85,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

-#serial 23
+#serial 24

# example gl program
m4_define([_AX_CHECK_GL_PROGRAM],
@@ -187,7 +187,7 @@ AC_DEFUN([_AX_CHECK_GL_LINK_CV],
AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS_GENERIC], [
AS_IF([test -n "$GL_LIBS"],[], [
ax_check_gl_manual_libs_generic_extra_libs="$1"
- m4_if($1, [], m4_fatal([$0: argument must not be empty]))
+ m4_if($1, [], [m4_fatal([$0: argument must not be empty])])

_AX_CHECK_GL_SAVE_FLAGS([CFLAGS])
AC_SEARCH_LIBS([glBegin],[$ax_check_gl_manual_libs_generic_extra_libs], [
--
2.46.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From e25f8d9e3ead52f998535b86c763065c5b45cc59 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <[email protected]>
Date: Sat, 19 Oct 2024 21:57:16 -0400
Subject: [PATCH 2/3] ax_check_glx.m4: properly quote m4_fatal

It needs to only run as an argument of m4_if, not all the time.

Fixes: 40ca66e7e52bb63e3eee2514855fcf3ad2df7673
---
m4/ax_check_glx.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_check_glx.m4 b/m4/ax_check_glx.m4
index c7890d9..b5027f9 100644
--- a/m4/ax_check_glx.m4
+++ b/m4/ax_check_glx.m4
@@ -61,7 +61,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

-#serial 9
+#serial 10

# example program
m4_define([_AX_CHECK_GLX_PROGRAM],
@@ -183,7 +183,7 @@ AC_DEFUN([_AX_CHECK_GLX_HEADERS],
AC_DEFUN([_AX_CHECK_GLX_MANUAL_LIBS_GENERIC],
[dnl
ax_check_glx_manual_libs_generic_extra_libs="$1"
- m4_if($1, [], m4_fatal([$0: argument must not be empty]))
+ m4_if($1, [], [m4_fatal([$0: argument must not be empty])])

AC_LANG_PUSH([C])
_AX_CHECK_GLX_SAVE_FLAGS()
--
2.46.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 3a23daa3da0eb1a256fda631867e19345d5f6e3a Mon Sep 17 00:00:00 2001
From: Eli Schwartz <[email protected]>
Date: Sat, 19 Oct 2024 21:58:52 -0400
Subject: [PATCH 3/3] ax_switch_flags.m4: properly quote m4_fatal

It needs to only run as an argument of m4_if, not all the time.

Fixes: 2adff78e224c908fd58df91852c8301c25777a8f
---
m4/ax_switch_flags.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_switch_flags.m4 b/m4/ax_switch_flags.m4
index dc79d1e..777aeb0 100644
--- a/m4/ax_switch_flags.m4
+++ b/m4/ax_switch_flags.m4
@@ -36,10 +36,10 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

-#serial 5
+#serial 6

AC_DEFUN([AX_SWITCH_FLAGS], [
- m4_if($1, [], m4_fatal([$0: namespace is empty]))
+ m4_if($1, [], [m4_fatal([$0: namespace is empty])])
AC_REQUIRE(AX_SAVE_FLAGS)
AC_REQUIRE(AX_RESTORE_FLAGS)
AX_SAVE_FLAGS($1[])
--
2.46.1

9 changes: 9 additions & 0 deletions pkgs/by-name/au/autoconf-archive/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ stdenv.mkDerivation rec {
hash = "sha256-e81dABkW86UO10NvT3AOPSsbrePtgDIZxZLWJQKlc2M=";
};

patches = [
# cherry-picked changes from
# https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=fadde164479a926d6b56dd693ded2a4c36ed89f0
# can be removed on next release
./0001-ax_check_gl.m4-properly-quote-m4_fatal.patch
./0002-ax_check_glx.m4-properly-quote-m4_fatal.patch
./0003-ax_switch_flags.m4-properly-quote-m4_fatal.patch
];

strictDeps = true;
enableParallelBuilding = true;

Expand Down
21 changes: 21 additions & 0 deletions pkgs/by-name/cp/cpptoml/add-limits-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001
From: Dirk Eddelbuettel <[email protected]>
Date: Mon, 30 Nov 2020 09:41:49 -0600
Subject: [PATCH] g++-11 requires limits header

---
include/cpptoml.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/cpptoml.h b/include/cpptoml.h
index 5a00da3..1dc9fd1 100644
--- a/include/cpptoml.h
+++ b/include/cpptoml.h
@@ -14,6 +14,7 @@
#include <cstring>
#include <fstream>
#include <iomanip>
+#include <limits>
#include <map>
#include <memory>
#include <sstream>
6 changes: 6 additions & 0 deletions pkgs/by-name/cp/cpptoml/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "0zlgdlk9nsskmr8xc2ajm6mn1x5wz82ssx9w88s02icz71mcihrx";
};

patches = [
# Fix compilation with GCC 11.
# <https://github.com/skystrife/cpptoml/pull/123>
./add-limits-include.patch
];

nativeBuildInputs = [ cmake ];

cmakeFlags = [
Expand Down
31 changes: 31 additions & 0 deletions pkgs/by-name/cu/curlMinimal/fix-netrc-regression-2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 0cdde0fdfbeb8c35420f6d03fa4b77ed73497694 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <[email protected]>
Date: Thu, 7 Nov 2024 17:03:54 +0100
Subject: [PATCH] netrc: support large file, longer lines, longer tokens

Regression from 3b43a05e000aa8f6 (shipped in 8.11.0)

Reported-by: Moritz
Fixes #15513
Closes #15514
---
lib/netrc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/netrc.c b/lib/netrc.c
index c23f927cef32d35059360f04be3c7833589f5df5..034c0307a43e3b86c9c004387cedf273588370e1 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -58,9 +58,9 @@ enum found_state {
#define NETRC_FAILED -1
#define NETRC_SUCCESS 0

-#define MAX_NETRC_LINE 4096
-#define MAX_NETRC_FILE (64*1024)
-#define MAX_NETRC_TOKEN 128
+#define MAX_NETRC_LINE 16384
+#define MAX_NETRC_FILE (128*1024)
+#define MAX_NETRC_TOKEN 4096

static CURLcode file2memory(const char *filename, struct dynbuf *filebuf)
{
Loading
Loading