aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-06-10 00:59:27 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-06-10 01:01:05 +0000
commitef29fc90ec18b8b379cb984484378e2d1b6a902f (patch)
treecfa6fe25726d7d3330a5eb78cf7d29991760f035
parent326f250760ecb8cbadbc58cbf6a9d018512923f0 (diff)
downloadports-ef29fc90ec18b8b379cb984484378e2d1b6a902f.tar.gz
ports-ef29fc90ec18b8b379cb984484378e2d1b6a902f.zip
graphics/libplacebo: switch c46441f01803 workaround to upstream fix
-rw-r--r--graphics/libplacebo/Makefile4
-rw-r--r--graphics/libplacebo/distinfo2
2 files changed, 5 insertions, 1 deletions
diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index 811521b8d0de..3109a46aee44 100644
--- a/graphics/libplacebo/Makefile
+++ b/graphics/libplacebo/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX= v
DISTVERSION= 4.192.1
CATEGORIES= graphics
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= db794a2fcc82.patch:-p1 # https://code.videolan.org/videolan/libplacebo/-/issues/201
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Reusable library for GPU-accelerated video/image rendering
@@ -14,7 +17,6 @@ USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= haasn
MESON_ARGS= -Ddemos=false
-CFLAGS+= -DVK_USE_PLATFORM_METAL_EXT # https://code.videolan.org/videolan/libplacebo/-/issues/201
OPTIONS_DEFINE= LCMS2 LIBUNWIND OPENGL TEST VULKAN
OPTIONS_DEFAULT=LCMS2 LIBUNWIND OPENGL SHADERC
diff --git a/graphics/libplacebo/distinfo b/graphics/libplacebo/distinfo
index dc3638902676..2598cc2ac4e8 100644
--- a/graphics/libplacebo/distinfo
+++ b/graphics/libplacebo/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1643902255
SHA256 (haasn-libplacebo-v4.192.1_GH0.tar.gz) = 2dc42e96bb67260a854fa7fd71b77af0f05e71aab0b5a7a3990d95b15ad68ce4
SIZE (haasn-libplacebo-v4.192.1_GH0.tar.gz) = 632747
+SHA256 (db794a2fcc82.patch) = 88bae59ae1fc067b18364087944b157d3805b9d655791f97499a7795c2af46c1
+SIZE (db794a2fcc82.patch) = 951