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

obs-studio-plugins.obs-vertical canvas: fix build (#426516)

parents 330ae07a 8f649179
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
diff --color -urpN obs-vertical-canvas.bak/file-updater.c obs-vertical-canvas/file-updater.c
--- obs-vertical-canvas.bak/file-updater.c	2025-07-18 18:32:13.239718611 -0400
+++ obs-vertical-canvas/file-updater.c	2025-07-18 18:32:30.732020377 -0400
@@ -67,10 +67,10 @@ 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_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_REVOKE_BEST_EFFORT);
+	curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_REVOKE_BEST_EFFORT);
 
 	code = curl_easy_perform(info->curl);
 	if (code != CURLE_OK) {
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-0XfJ8q8n2ANO0oDtLZhZjRunZ5S1EouQ6Ak/pxEQYOQ=";
  };

  # Remove after https://github.com/Aitum/obs-vertical-canvas/pull/25 is released :)
  patches = [ ./obs-vertical-canvas.diff ];

  nativeBuildInputs = [ cmake ];

  buildInputs = [