Skip to content

Commit

Permalink
x11/hyprpicker: unbreak build without libglvnd
Browse files Browse the repository at this point in the history
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 <GLES3/gl32.h>
          ^~~~~~~~~~~~~~

PR:		277449
Reported by:	Elena
  • Loading branch information
jbeich committed Mar 3, 2024
1 parent 002d340 commit a170bb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x11/hyprpicker/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit a170bb5

Please sign in to comment.