Blame SOURCES/libwebp-freeglut.patch

0887cd
diff -rupN --no-dereference libwebp-1.2.0/CMakeLists.txt libwebp-1.2.0-new/CMakeLists.txt
0887cd
--- libwebp-1.2.0/CMakeLists.txt	2021-01-21 04:43:45.000000000 +0100
0887cd
+++ libwebp-1.2.0-new/CMakeLists.txt	2021-02-01 11:37:20.760764115 +0100
0887cd
@@ -506,8 +506,8 @@ endif()
0887cd
 
0887cd
 if(WEBP_BUILD_VWEBP)
0887cd
   # vwebp
0887cd
-  find_package(GLUT)
0887cd
-  if(GLUT_FOUND)
0887cd
+  find_package(FreeGLUT)
0887cd
+  if(FreeGLUT_FOUND)
0887cd
     include_directories(${WEBP_DEP_IMG_INCLUDE_DIRS})
0887cd
     parse_makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/examples "VWEBP_SRCS" "vwebp")
0887cd
     add_executable(vwebp ${VWEBP_SRCS})
0887cd
diff -rupN --no-dereference libwebp-1.2.0/examples/vwebp.c libwebp-1.2.0-new/examples/vwebp.c
0887cd
--- libwebp-1.2.0/examples/vwebp.c	2021-01-21 04:43:45.000000000 +0100
0887cd
+++ libwebp-1.2.0-new/examples/vwebp.c	2021-02-01 11:37:20.760764115 +0100
0887cd
@@ -27,7 +27,7 @@
0887cd
 #if defined(HAVE_GLUT_GLUT_H)
0887cd
 #include <GLUT/glut.h>
0887cd
 #else
0887cd
-#include <GL/glut.h>
0887cd
+#include <GL/freeglut.h>
0887cd
 #ifdef FREEGLUT
0887cd
 #include <GL/freeglut.h>
0887cd
 #endif