From a170bb5d71597ba851ec31dbc0a4a98fe8f6d4d9 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 3 Mar 2024 12:39:13 +0100 Subject: [PATCH] x11/hyprpicker: unbreak build without libglvnd In file included from src/main.cpp:5: In file included from src/hyprpicker.hpp:3: In file included from src/defines.hpp:5: src/includes.hpp:30:10: fatal error: 'GLES3/gl32.h' file not found #include ^~~~~~~~~~~~~~ PR: 277449 Reported by: Elena --- x11/hyprpicker/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile index 2ec0c79f3216d..da6137d0f8fea 100644 --- a/x11/hyprpicker/Makefile +++ b/x11/hyprpicker/Makefile @@ -47,6 +47,9 @@ post-patch: -e '/pthread/d; /CMAKE_THREAD_LIBS_INIT/d' \ -e '/ rt)/d' \ ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e '/GLES3/d' \ + -e '/pthread\.h/d' \ + ${WRKSRC}/src/includes.hpp pre-configure: @${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC}