* bug#31856: 27.0.50; [PATCH] Fix --with-cairo build
@ 2018-06-16 5:50 Ari Roponen
2018-06-16 7:17 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Ari Roponen @ 2018-06-16 5:50 UTC (permalink / raw)
To: 31856
[-- Attachment #1: Type: text/plain, Size: 64 bytes --]
The attached patch allows --with-cairo build to compile again.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-with-cairo-build.patch --]
[-- Type: text/x-patch, Size: 979 bytes --]
From 1e192db531ad8720abee4174c27ab1f64d252ffa Mon Sep 17 00:00:00 2001
From: Ari Roponen <ari.roponen@gmail.com>
Date: Sat, 16 Jun 2018 08:37:04 +0300
Subject: [PATCH] Fix --with-cairo build
* src/xterm.c (x_cr_destroy): Remove extra semicolon.
(x_cr_export_frames): Fix pointer vs ptr typo.
---
src/xterm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index 48ce791889..9504bfb183 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -544,7 +544,7 @@ x_cr_accumulate_data (void *closure, const unsigned char *data,
}
static void
-x_cr_destroy (void *cr);
+x_cr_destroy (void *cr)
{
block_input ();
cairo_destroy (cr);
@@ -604,7 +604,7 @@ x_cr_export_frames (Lisp_Object frames, cairo_surface_type_t surface_type)
cr = cairo_create (surface);
cairo_surface_destroy (surface);
- record_unwind_protect_pointer (x_cr_destroy, cr);
+ record_unwind_protect_ptr (x_cr_destroy, cr);
while (1)
{
--
2.17.1
[-- Attachment #3: Type: text/plain, Size: 305 bytes --]
In GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.12)
of 2018-06-16 built on arirop
Repository revision: 04a5876f598e8af3dd11d58758d5bc79104eba64
Windowing system distributor 'Fedora Project', version 11.0.11906000
System Description: Fedora 28 (Twenty Eight)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#31856: 27.0.50; [PATCH] Fix --with-cairo build
2018-06-16 5:50 bug#31856: 27.0.50; [PATCH] Fix --with-cairo build Ari Roponen
@ 2018-06-16 7:17 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2018-06-16 7:17 UTC (permalink / raw)
To: Ari Roponen; +Cc: 31856-done
> From: Ari Roponen <ari.roponen@gmail.com>
> Date: Sat, 16 Jun 2018 08:50:30 +0300
>
> The attached patch allows --with-cairo build to compile again.
Thanks, pushed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-16 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-16 5:50 bug#31856: 27.0.50; [PATCH] Fix --with-cairo build Ari Roponen
2018-06-16 7:17 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).