aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-08-18 16:09:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-08-18 16:09:41 +0000
commit3ce250411435a87f521197a1d825ebd5873007ed (patch)
tree19e0b67df2a3e89c83fe25ade862d704fe3398fa
parent8edf3dd02ef681961a210ae58e83e56b36bee34d (diff)
downloadports-3ce250411435a87f521197a1d825ebd5873007ed.tar.gz
ports-3ce250411435a87f521197a1d825ebd5873007ed.zip
devel/smooth: try to fix the build against GLib 2.68.3.
PR: 256200
-rw-r--r--devel/smooth/files/patch-classes_graphics_backends_cairo_fontcairo.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/smooth/files/patch-classes_graphics_backends_cairo_fontcairo.cpp b/devel/smooth/files/patch-classes_graphics_backends_cairo_fontcairo.cpp
new file mode 100644
index 000000000000..986cc6a99f84
--- /dev/null
+++ b/devel/smooth/files/patch-classes_graphics_backends_cairo_fontcairo.cpp
@@ -0,0 +1,19 @@
+--- classes/graphics/backends/cairo/fontcairo.cpp.orig 2021-06-22 22:10:12 UTC
++++ classes/graphics/backends/cairo/fontcairo.cpp
+@@ -8,6 +8,8 @@
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
+
++#include <pango/pangocairo.h>
++
+ #include <smooth/graphics/backends/cairo/fontcairo.h>
+ #include <smooth/graphics/surface.h>
+ #include <smooth/files/file.h>
+@@ -17,7 +19,6 @@
+ using namespace X11;
+
+ #include <cairo/cairo-xlib.h>
+-#include <pango/pangocairo.h>
+
+ #include <smooth/backends/xlib/backendxlib.h>
+