git: 8dcd1b1f9a76 - main - graphics/libplacebo: switch to upstream libexecinfo fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 31 Jan 2022 22:51:28 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8dcd1b1f9a76b3d7514408fadba70787f6ae8f4c

commit 8dcd1b1f9a76b3d7514408fadba70787f6ae8f4c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-31 10:20:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-31 22:50:36 +0000

    graphics/libplacebo: switch to upstream libexecinfo fix
---
 graphics/libplacebo/Makefile                    |  3 +++
 graphics/libplacebo/distinfo                    |  2 ++
 graphics/libplacebo/files/patch-src_meson.build | 19 -------------------
 3 files changed, 5 insertions(+), 19 deletions(-)

diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index c95169a75f72..d6f1df89c583 100644
--- a/graphics/libplacebo/Makefile
+++ b/graphics/libplacebo/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	4.192.0
 CATEGORIES=	graphics
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	9a102248f2be.patch:-p1 # https://github.com/haasn/libplacebo/issues/118
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Reusable library for GPU-accelerated video/image rendering
 
diff --git a/graphics/libplacebo/distinfo b/graphics/libplacebo/distinfo
index 988a5a888f4d..5f8da79215ed 100644
--- a/graphics/libplacebo/distinfo
+++ b/graphics/libplacebo/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1642593684
 SHA256 (haasn-libplacebo-v4.192.0_GH0.tar.gz) = add894897360854a3f405bdea7c33b4d43cbc5a8c0a1d01ecb17514ea7fb861d
 SIZE (haasn-libplacebo-v4.192.0_GH0.tar.gz) = 631739
+SHA256 (9a102248f2be.patch) = 621e2cff64320e3610ee5ad88e647167ea921e6abc2073225204f8b63be1b857
+SIZE (9a102248f2be.patch) = 1003
diff --git a/graphics/libplacebo/files/patch-src_meson.build b/graphics/libplacebo/files/patch-src_meson.build
deleted file mode 100644
index 443927e99855..000000000000
--- a/graphics/libplacebo/files/patch-src_meson.build
+++ /dev/null
@@ -1,19 +0,0 @@
-ld: error: undefined symbol: backtrace
->>> referenced by log.c
->>>               src/libplacebo.so.192.p/log.c.o:(pl_log_stack_trace)
-
-ld: error: undefined symbol: backtrace_symbols
->>> referenced by log.c
->>>               src/libplacebo.so.192.p/log.c.o:(pl_log_stack_trace)
-
---- src/meson.build.orig	2022-01-16 12:36:07 UTC
-+++ src/meson.build
-@@ -73,6 +73,8 @@ conf_internal.set('PL_HAVE_UNWIND', unwind.found())
- conf_internal.set('PL_HAVE_EXECINFO', cc.has_header('execinfo.h'))
- if unwind.found()
-   build_deps += [unwind, cc.find_library('dl', required : false)]
-+else
-+  build_deps += [cc.find_library('execinfo', required : false)]
- endif
- 
- # work-arounds for glslang braindeath