obs-studio-plugins.obs-aitum-multistream: fix build

This commit is contained in:
Jon Hermansen
2025-07-18 18:04:43 -04:00
parent 9ff1250b39
commit 34eec3a4bd
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,14 @@
diff --color -urpN obs-aitum-multistream.bak/file-updater.c obs-aitum-multistream/file-updater.c
--- obs-aitum-multistream.bak/file-updater.c 2025-07-18 17:41:35.605779462 -0400
+++ obs-aitum-multistream/file-updater.c 2025-07-18 17:45:29.485046420 -0400
@@ -83,8 +83,8 @@ static bool do_http_request(struct updat
curl_easy_setopt(info->curl, CURLOPT_ERRORBUFFER, info->error);
curl_easy_setopt(info->curl, CURLOPT_WRITEFUNCTION, http_write);
curl_easy_setopt(info->curl, CURLOPT_WRITEDATA, info);
- curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, true);
- curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1);
+ curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, 1L);
+ curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1L);
curl_easy_setopt(info->curl, CURLOPT_ACCEPT_ENCODING, "");
curl_obs_set_revoke_setting(info->curl);
@@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
hash = "sha256-TqddyTBRWLyfwYi9I0nQE8Z19YL2RwkZqUwi7F9XpwQ=";
};
# Remove after https://github.com/Aitum/obs-aitum-multistream/pull/15 is released :)
patches = [ ./obs-aitum-multistream.diff ];
# Fix FTBFS with Qt >= 6.8
prePatch = ''
substituteInPlace CMakeLists.txt \