diff --git a/media-libs/libsdl3/files/libsdl3-3.2.22-openvr.patch b/media-libs/libsdl3/files/libsdl3-3.2.22-openvr.patch deleted file mode 100644 index da3d1a5998ffd..0000000000000 --- a/media-libs/libsdl3/files/libsdl3-3.2.22-openvr.patch +++ /dev/null @@ -1,16 +0,0 @@ -Not looked into what led to this "Fixed build" commit[1] (maybe compatibility -with another compiler due to that scoped declaration higher up), but it instead -breaks it for us with both gcc and clang. Quick revert for now. - -SDL_openvrvideo.c:1543:5: error: 'hint' undeclared (first use in this function) - -[1] https://github.com/libsdl-org/SDL/commit/08c82a37814386be38bec7524ec57ff0e548be0b ---- a/src/video/openvr/SDL_openvrvideo.c -+++ b/src/video/openvr/SDL_openvrvideo.c -@@ -1541,5 +1541,5 @@ - } - -- hint = SDL_GetHint("SDL_OPENVR_INPUT_PROFILE"); -+ const char *hint = SDL_GetHint("SDL_OPENVR_INPUT_PROFILE"); - char *loadpath = 0; - EVRInputError err; diff --git a/media-libs/libsdl3/libsdl3-3.2.22.ebuild b/media-libs/libsdl3/libsdl3-3.2.22.ebuild index 27caf2aaa9233..ab8b0ba00b053 100644 --- a/media-libs/libsdl3/libsdl3-3.2.22.ebuild +++ b/media-libs/libsdl3/libsdl3-3.2.22.ebuild @@ -80,10 +80,6 @@ BDEPEND=" wayland? ( dev-util/wayland-scanner ) " -PATCHES=( - "${FILESDIR}"/${P}-openvr.patch -) - src_prepare() { cmake_src_prepare @@ -123,8 +119,7 @@ src_configure() { -DSDL_KMSDRM=$(usex kms) -DSDL_OPENGL=$(usex opengl) -DSDL_OPENGLES=$(usex opengl) - # openvr is not packaged, but support only needs libglvnd (dlopen) - -DSDL_OPENVR=$(usex opengl) + -DSDL_OPENVR=no # not packaged, note needs opengl REQUIRED_USE if added -DSDL_ROCKCHIP=no -DSDL_RPI=no -DSDL_VIVANTE=no