Browse Source

[externals] fix cubeb build on FreeBSD 15

cubeb_alsa.c requires stdlib.h but it isn't included for some reason.

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3220/head
crueter 1 month ago
parent
commit
864f0dd8a7
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 7
      externals/cpmfile.json
  2. 2
      shell.nix

7
externals/cpmfile.json

@ -148,14 +148,17 @@
}, },
"cubeb": { "cubeb": {
"repo": "mozilla/cubeb", "repo": "mozilla/cubeb",
"sha": "fa02160712",
"hash": "8a4bcb2f83ba590f52c66626e895304a73eb61928dbc57777e1822e55378e3568366f17f9da4b80036cc2ef4ea9723c32abf6e7d9bbe00fb03654f0991596ab0",
"sha": "bed368eb0d",
"hash": "b18f92788bab40f620771e1fe74adbe434d39362a33fd472bbafa3eb838599d1190a0e03b9f2623054168787fd42f1000668a30430f8ad8d234918efbdb3eba2",
"find_args": "CONFIG", "find_args": "CONFIG",
"options": [ "options": [
"USE_SANITIZERS OFF", "USE_SANITIZERS OFF",
"BUILD_TESTS OFF", "BUILD_TESTS OFF",
"BUILD_TOOLS OFF", "BUILD_TOOLS OFF",
"BUNDLE_SPEEX ON" "BUNDLE_SPEEX ON"
],
"patches": [
"0001-fix-freebsd-include.patch"
] ]
}, },
"sdl2": { "sdl2": {

2
shell.nix

@ -20,4 +20,4 @@ pkgs.mkShellNoCC {
# optional components # optional components
discord-rpc gamemode discord-rpc gamemode
]; ];
}
}
Loading…
Cancel
Save