Unverified Commit 330ae07a authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

obs-studio-plugins.obs-aitum-multistream: fix build (#426507)

parents 07816c6d 34eec3a4
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
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);
 
+3 −0
Original line number Diff line number Diff line
@@ -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 \