Created attachment 187181 [details] files/patch-src_audio_SDL__audiocvt.c This patch updates the audio resampler in SDL 2.0.6, fixing the audio-related bugs (e.g. crashes in OpenClaw and VCMI) https://bugzilla.libsdl.org/show_bug.cgi?id=3858
Created attachment 187182 [details] sdl20-wayland.patch This patch enables Wayland support in SDL. Tested with stonesoup and OpenClaw on the rootston compositor (from https://github.com/swaywm/wlroots).
Created attachment 187184 [details] sdl20-udev.patch This patch adds an udev option. Potentially for evdev joysticks, but we don't have those yet. Really, just because the configure script detects libudev-devd anyway!
Created attachment 187185 [details] sdl20-vulkan.patch This patch adds an option for Vulkan support. Tested with vkQuake (bug 222182).
Comment on attachment 187185 [details] sdl20-vulkan.patch Vulkan is currently always enabled. The patch adds useless build dependency and forces runtime dependency while disabling Vulkan support. This renders packages relying on Vulkan support in SDL unusable when installing from freebsd.org set. Are you expecting SDL+Vulkan consumers to not depend on any libvulkan.so symbols directly but only use those via SDL? If not I don't see what's the benefit here.
(In reply to Jan Beich from comment #4) Oh, if it's always enabled, ignore the vulkan patch.
Comment on attachment 187181 [details] files/patch-src_audio_SDL__audiocvt.c Part of SDL 2.0.7 update per ports r452843.
A commit references this bug: Author: jbeich Date: Tue Oct 16 17:37:57 UTC 2018 New revision: 482237 URL: https://svnweb.freebsd.org/changeset/ports/482237 Log: emulators/ppsspp: unbreak after r482190 SDL/SDLVulkanGraphicsContext.cpp:73:67: error: no member named 'wl' in 'SDL_SysWMinfo::<anonymous union at /usr/local/include/SDL2/SDL_syswm.h:198:5>' vulkan_->InitSurface(WINDOWSYSTEM_WAYLAND, (void*)sys_info.info.wl.display, ~~~~~~~~~~~~~ ^ PR: 223018 Reported by: pkg-fallout Changes: head/emulators/ppsspp/Makefile
A commit references this bug: Author: jbeich Date: Sun Oct 28 04:10:10 UTC 2018 New revision: 483217 URL: https://svnweb.freebsd.org/changeset/ports/483217 Log: devel/sdl20: expose EGL and Wayland support PR: 223018 (based on) Submitted by: Greg V <greg@unrelenting.technology> Approved by: maintainer timeout (1 year) Changes: head/devel/sdl20/Makefile head/devel/sdl20/files/patch-configure
A commit references this bug: Author: jbeich Date: Sun Oct 28 07:52:45 UTC 2018 New revision: 483234 URL: https://svnweb.freebsd.org/changeset/ports/483234 Log: devel/sdl20: track libudev dependency PR: 223018 Submitted by: Greg V <greg@unrelenting.technology> Approved by: maintainer timeout (1 year) Changes: head/devel/sdl20/Makefile