[packages/crossmingw32-cairo] - adjusted mingw32 patch not to include gl as pkgconfig dependency
qboosh
qboosh at pld-linux.org
Tue Nov 13 20:45:03 CET 2018
commit a69b76df4fbe9791c77518045f4a6f419d02c63b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 13 20:49:08 2018 +0100
- adjusted mingw32 patch not to include gl as pkgconfig dependency
cairo-mingw32.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/cairo-mingw32.patch b/cairo-mingw32.patch
index 6a5eb17..e3a43b9 100644
--- a/cairo-mingw32.patch
+++ b/cairo-mingw32.patch
@@ -32,12 +32,13 @@
#define hypot _hypot
--- cairo-1.16.0/configure.ac.orig 2018-10-21 16:21:17.304355378 +0200
+++ cairo-1.16.0/configure.ac 2018-10-21 17:09:07.484322608 +0200
-@@ -334,7 +334,11 @@
+@@ -334,7 +334,12 @@
AC_CHECK_HEADER(GL/gl.h,, [use_gl="no (gl.pc nor OpenGL headers not found)"])
if test "x$use_gl" = "xyes"; then
gl_NONPKGCONFIG_CFLAGS=
+ if test "x$have_windows" = xyes; then
+ gl_NONPKGCONFIG_LIBS="-lopengl32"
++ gl_REQUIRES=
+ else
gl_NONPKGCONFIG_LIBS="-lGL"
+ fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-cairo.git/commitdiff/a69b76df4fbe9791c77518045f4a6f419d02c63b
More information about the pld-cvs-commit
mailing list