[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1025363: libplacebo build failure [PATCH]



control: tags -1 patch
Hello, I crafted a patch after finding that the culprit was the newer glslang 11.12.0-1 uploaded in sid.
I just copy-pasted the new values into the array (why aren't exported into a public header file?)


Following what I consider to be a patch (at least it makes the package compile now)

diff -Nru libplacebo-4.208.0/debian/changelog libplacebo-4.208.0/debian/changelog
--- libplacebo-4.208.0/debian/changelog	2022-09-19 22:50:00.000000000 +0000
+++ libplacebo-4.208.0/debian/changelog	2022-12-03 09:06:24.000000000 +0000
@@ -1,3 +1,9 @@
+libplacebo (4.208.0-3) unstable; urgency=medium
+
+  * Fix build with newer glslang 11.12.0-1 (Closes: #1025363)
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Sat, 03 Dec 2022 10:06:24 +0100
+
 libplacebo (4.208.0-2) unstable; urgency=medium
* Upload to unstable
diff -Nru libplacebo-4.208.0/debian/patches/new-glslang-11.12.0-build-fix.patch libplacebo-4.208.0/debian/patches/new-glslang-11.12.0-build-fix.patch
--- libplacebo-4.208.0/debian/patches/new-glslang-11.12.0-build-fix.patch	1970-01-01 00:00:00.000000000 +0000
+++ libplacebo-4.208.0/debian/patches/new-glslang-11.12.0-build-fix.patch	2022-12-03 09:06:23.000000000 +0000
@@ -0,0 +1,24 @@
+Description: Adapt to new glslang 11.12.0-1 Standalone/ResourceLimits.cpp exported resources
+Author: Gianfranco Costamagna <locutusofborg@debian.org>
+
+Bug-Debian: https://bugs.debian.org/1025363
+Last-Update: 2022-12-03
+
+--- libplacebo-4.208.0.orig/src/glsl/glslang.cc
++++ libplacebo-4.208.0/src/glsl/glslang.cc
+@@ -208,6 +208,15 @@ const TBuiltInResource DefaultTBuiltInRe
+     /* .maxTaskWorkGroupSizeY_NV = */ 1,
+     /* .maxTaskWorkGroupSizeZ_NV = */ 1,
+     /* .maxMeshViewCountNV = */ 4,
++    /* .maxMeshOutputVerticesEXT = */ 256,
++    /* .maxMeshOutputPrimitivesEXT = */ 256,
++    /* .maxMeshWorkGroupSizeX_EXT = */ 128,
++    /* .maxMeshWorkGroupSizeY_EXT = */ 128,
++    /* .maxMeshWorkGroupSizeZ_EXT = */ 128,
++    /* .maxTaskWorkGroupSizeX_EXT = */ 128,
++    /* .maxTaskWorkGroupSizeY_EXT = */ 128,
++    /* .maxTaskWorkGroupSizeZ_EXT = */ 128,
++    /* .maxMeshViewCountEXT = */ 4,
+     /* .maxDualSourceDrawBuffersEXT = */ 1,
+
+     /* .limits = */ {
diff -Nru libplacebo-4.208.0/debian/patches/series libplacebo-4.208.0/debian/patches/series
--- libplacebo-4.208.0/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ libplacebo-4.208.0/debian/patches/series	2022-12-03 09:05:30.000000000 +0000
@@ -0,0 +1 @@
+new-glslang-11.12.0-build-fix.patch

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: