From: Volker Schlecht Subject: Re: Update: spirv-cross to recent checkout To: Thomas Frohwein , ports@openbsd.org Cc: Omar Polo Date: Fri, 12 Jun 2026 17:16:55 +0200 lgtm - ok volker@ On 6/12/26 1:45 AM, Thomas Frohwein wrote: > Hi, > > This diff below updates graphics/spirv-cross to a recent checkout. They > have added more API, and a minor version bump is indicated. I tried out > the update in order to build SDL_shadercross [1] which requires the > newer spirv-cross API. Not sure yet if a port of that will be useful > though, but here is the update to spirv-cross. > > There are 2 ports that depend on it, emulators/snes9x and games/taisei. > I tested build and runtime with both after the update, and they still > build and run fine. > > ok? > > [1] https://github.com/libsdl-org/SDL_shadercross > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/graphics/spirv-cross/Makefile,v > diff -u -p -r1.3 Makefile > --- Makefile 13 Feb 2026 12:02:16 -0000 1.3 > +++ Makefile 11 Jun 2026 23:41:28 -0000 > @@ -1,11 +1,10 @@ > COMMENT = parse and convert SPIR-V to other shader languages > > -VERSION = 2021-01-15 > -DIST_TUPLE = github KhronosGroup SPIRV-Cross ${VERSION} . > +VERSION = 2026-06-01 > +DIST_TUPLE = github KhronosGroup SPIRV-Cross 146679ff8255a6068518685599d7fb8761d1b570 . > PKGNAME = spirv-cross-${VERSION:S/-//g} > -REVISION = 0 > > -SHARED_LIBS += spirv-cross-c-shared 0.0 # 0.0 > +SHARED_LIBS += spirv-cross-c-shared 0.1 > > CATEGORIES = devel graphics > > Index: distinfo > =================================================================== > RCS file: /cvs/ports/graphics/spirv-cross/distinfo,v > diff -u -p -r1.1.1.1 distinfo > --- distinfo 19 Sep 2023 21:02:26 -0000 1.1.1.1 > +++ distinfo 11 Jun 2026 23:41:28 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (KhronosGroup-SPIRV-Cross-2021-01-15.tar.gz) = 1wCGO1SMvH8npnjO4wX1YWaaEm6yzBHTanAj38RiucQ= > -SIZE (KhronosGroup-SPIRV-Cross-2021-01-15.tar.gz) = 1444164 > +SHA256 (KhronosGroup-SPIRV-Cross-146679ff8255a6068518685599d7fb8761d1b570.tar.gz) = Yh77mvgyNssJLS3NPLCjdkUBoYNjMQSQz/wRKKoogwk= > +SIZE (KhronosGroup-SPIRV-Cross-146679ff8255a6068518685599d7fb8761d1b570.tar.gz) = 2002520 > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/graphics/spirv-cross/pkg/PLIST,v > diff -u -p -r1.1.1.1 PLIST > --- pkg/PLIST 19 Sep 2023 21:02:26 -0000 1.1.1.1 > +++ pkg/PLIST 11 Jun 2026 23:41:28 -0000 > @@ -27,6 +27,7 @@ include/spirv_cross/spirv_reflect.hpp > @static-lib lib/libspirv-cross-reflect.a > @static-lib lib/libspirv-cross-util.a > lib/pkgconfig/spirv-cross-c-shared.pc > +lib/pkgconfig/spirv-cross-c.pc > share/spirv_cross_c/ > share/spirv_cross_c/cmake/ > share/spirv_cross_c/cmake/spirv_cross_cConfig${MODCMAKE_BUILD_SUFFIX} >