git: 1d27f9bfb88a - main - multimedia/obs-studio: Fix build on -CURRENT

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Thu, 25 May 2023 20:27:15 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d27f9bfb88a6f4a95da737e80cd112accde3085

commit 1d27f9bfb88a6f4a95da737e80cd112accde3085
Author:     Sheng-Yi Hong <aokblast@FreeBSD.org>
AuthorDate: 2023-05-25 19:52:49 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-05-25 20:26:22 +0000

    multimedia/obs-studio: Fix build on -CURRENT
    
    Fix type conversion error on libftl over new version of clang.
    
    Reviewed by:    yuri
    Differential Revision:  https://reviews.freebsd.org/D39774
---
 .../files/patch-plugins_obs-outputs_ftl-sdk_libftl_ingest.c   | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/multimedia/obs-studio/files/patch-plugins_obs-outputs_ftl-sdk_libftl_ingest.c b/multimedia/obs-studio/files/patch-plugins_obs-outputs_ftl-sdk_libftl_ingest.c
new file mode 100644
index 000000000000..eb8b836b63cc
--- /dev/null
+++ b/multimedia/obs-studio/files/patch-plugins_obs-outputs_ftl-sdk_libftl_ingest.c
@@ -0,0 +1,11 @@
+--- plugins/obs-outputs/ftl-sdk/libftl/ingest.c.orig	2020-02-18 17:21:01 UTC
++++ plugins/obs-outputs/ftl-sdk/libftl/ingest.c
+@@ -335,7 +335,7 @@ cleanup:
+   
+   ftl->ingest_count = total_ingest_cnt;
+   
+-  return total_ingest_cnt;
++  return (OS_THREAD_ROUTINE)total_ingest_cnt;
+ }
+ 
+ char * ingest_find_best(ftl_stream_configuration_private_t *ftl) {