diff options
Diffstat (limited to 'media-libs/libsfml/files/libsfml-2.2-shared-glew.patch')
-rw-r--r-- | media-libs/libsfml/files/libsfml-2.2-shared-glew.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libsfml/files/libsfml-2.2-shared-glew.patch b/media-libs/libsfml/files/libsfml-2.2-shared-glew.patch new file mode 100644 index 000000000000..42c701e751cb --- /dev/null +++ b/media-libs/libsfml/files/libsfml-2.2-shared-glew.patch @@ -0,0 +1,12 @@ +--- SFML-2.2/src/SFML/Graphics/CMakeLists.txt ++++ SFML-2.2/src/SFML/Graphics/CMakeLists.txt +@@ -150,9 +150,6 @@ + list(APPEND GRAPHICS_EXT_LIBS ${FREETYPE_LIBRARY} ${JPEG_LIBRARY}) + + # add preprocessor symbols +-if(NOT SFML_OPENGL_ES) +- add_definitions(-DGLEW_STATIC) +-endif() + add_definitions(-DSTBI_FAILURE_USERMSG) + + # ImageLoader.cpp must be compiled with the -fno-strict-aliasing |