diff -Nru gulkan-0.15.1/debian/changelog gulkan-0.15.1/debian/changelog --- gulkan-0.15.1/debian/changelog 2025-03-08 19:39:33.000000000 +0530 +++ gulkan-0.15.1/debian/changelog 2026-05-24 12:22:19.000000000 +0530 @@ -1,3 +1,13 @@ +gulkan (0.15.1-2.4) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS: add explicit libGL dependency (gl_dep) for the external- + memory example; GLEW 2.3.1 changed GLEW_LIBRARIES linkage from + PUBLIC to PRIVATE, so libGL no longer propagates transitively to + consumers (Closes: #1137168). + + -- Azeez Syed Sun, 24 May 2026 12:22:19 +0530 + gulkan (0.15.1-2.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru gulkan-0.15.1/debian/patches/0003-fix-ftbfs-add-gl-dep-to-external-memory-example.patch gulkan-0.15.1/debian/patches/0003-fix-ftbfs-add-gl-dep-to-external-memory-example.patch --- gulkan-0.15.1/debian/patches/0003-fix-ftbfs-add-gl-dep-to-external-memory-example.patch 1970-01-01 05:30:00.000000000 +0530 +++ gulkan-0.15.1/debian/patches/0003-fix-ftbfs-add-gl-dep-to-external-memory-example.patch 2026-05-24 12:22:19.000000000 +0530 @@ -0,0 +1,49 @@ +Description: Fix FTBFS: add explicit libGL dependency for GLEW-using targets + GLEW 2.3.1 (glew_2.3.1+dfsg2-5) changed the CMakeLists.txt to link + ${GLEW_LIBRARIES} (which includes libGL) as PRIVATE instead of PUBLIC. + This means libGL is no longer transitively exported to consumers of the + GLEW pkg-config target, so packages that rely on GLEW to pull in libGL + now fail with undefined references to core GL symbols such as glGetError, + glGenTextures, glBindTexture, glTexParameteri, glTexSubImage2D, glFinish, + and glDeleteTextures. + . + Fix: add an explicit gl_dep dependency (libGL) in the root meson.build and + pass it to the two GLEW-using build targets: the external-memory example + and the test_texture_external test. +Author: Azeez Syed +Bug-Debian: https://bugs.debian.org/1137168 +Forwarded: no +Last-Update: 2026-05-24 +--- +--- a/examples/meson.build ++++ b/examples/meson.build +@@ -47,7 +47,7 @@ executable( + if glew_dep.found() + executable( + 'external-memory', ['external-memory.c', test_resources, shader_resources], +- dependencies: [gulkan_deps, glfw_dep, glew_dep], ++ dependencies: [gulkan_deps, glfw_dep, glew_dep, gl_dep], + link_with: gulkan_lib, + link_whole: common_lib, + include_directories: gulkan_inc, +--- a/meson.build ++++ b/meson.build +@@ -60,6 +60,7 @@ libdrm_dep = dependency('libdrm', requir + libdrm_amdgpu_dep = dependency('libdrm_amdgpu', required : false) + glfw_dep = dependency('glfw3', required : false) + glew_dep = dependency('glew', version : '>=2.1.0', required : false) ++gl_dep = dependency('gl', required : false) + + shaderc_dep = dependency('shaderc', required : false) + json_glib_dep = dependency('json-glib-1.0', required : false) +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -34,7 +34,7 @@ if glfw_dep.found() + if glew_dep.found() + test_texture_external = executable( + 'test_texture_external', ['test_texture_external.c', test_resources], +- dependencies: [gulkan_deps, glfw_dep, glew_dep], ++ dependencies: [gulkan_deps, glfw_dep, glew_dep, gl_dep], + link_with: gulkan_lib, + include_directories: gulkan_inc, + install: false) diff -Nru gulkan-0.15.1/debian/patches/series gulkan-0.15.1/debian/patches/series --- gulkan-0.15.1/debian/patches/series 2024-12-16 02:42:51.000000000 +0530 +++ gulkan-0.15.1/debian/patches/series 2026-05-24 12:19:38.000000000 +0530 @@ -1,2 +1,3 @@ 0001-Fix-incompatible-types.patch gcc-14-compat-1086208.patch +0003-fix-ftbfs-add-gl-dep-to-external-memory-example.patch