summaryrefslogtreecommitdiff
path: root/graphics/cairo/files/patch-src_cairo-gl.h
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-08-05 19:13:24 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-08-05 19:13:24 +0000
commitd129587b5d568b0ff5300386f1e1b706c349f38e (patch)
treee398c7b6ea5203fd3953999e6dd9d6c83c9ec931 /graphics/cairo/files/patch-src_cairo-gl.h
parentBugfix upgrade to new upstream release 2.3.8. (diff)
The FreeBSD GNOME team proudly presents GNOME 3.16 for FreeBSD.
The offical GNOME 3.16 release notes can be found at https://help.gnome.org/misc/release-notes/3.16/ Upgrade instructions for port users: Delete the old tracker package with: # pkg delete -f tracker And user port upgrade tool of choice to upgrade. Thanks to Antoine Brodin for running the exp-runs. This release was made possible by the following people: Gustau Perez Ting-Wei_Lan PR: 201980
Diffstat (limited to 'graphics/cairo/files/patch-src_cairo-gl.h')
-rw-r--r--graphics/cairo/files/patch-src_cairo-gl.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/cairo/files/patch-src_cairo-gl.h b/graphics/cairo/files/patch-src_cairo-gl.h
new file mode 100644
index 000000000000..68e1e930578f
--- /dev/null
+++ b/graphics/cairo/files/patch-src_cairo-gl.h
@@ -0,0 +1,29 @@
+--- src/cairo-gl.h.orig 2013-03-15 21:29:27.000000000 +0100
++++ src/cairo-gl.h 2015-01-05 10:30:46.611768380 +0100
+@@ -92,7 +92,7 @@
+ cairo_gl_device_set_thread_aware (cairo_device_t *device,
+ cairo_bool_t thread_aware);
+
+-#if CAIRO_HAS_GLX_FUNCTIONS
++#if defined(CAIRO_HAS_GLX_FUNCTIONS)
+ #include <GL/glx.h>
+
+ cairo_public cairo_device_t *
+@@ -110,7 +110,7 @@
+ int width, int height);
+ #endif
+
+-#if CAIRO_HAS_WGL_FUNCTIONS
++#if defined(CAIRO_HAS_WGL_FUNCTIONS)
+ #include <windows.h>
+
+ cairo_public cairo_device_t *
+@@ -126,7 +126,7 @@
+ int height);
+ #endif
+
+-#if CAIRO_HAS_EGL_FUNCTIONS
++#if defined(CAIRO_HAS_EGL_FUNCTIONS)
+ #include <EGL/egl.h>
+
+ cairo_public cairo_device_t *