Commit fa2aca88 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

cairo: bump to version 1.14.2



Add hash file and remove upstream patches.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 1bf60478
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
Fix build of OpenVG backend on platforms without X11

https://bugs.freedesktop.org/show_bug.cgi?id=72911

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Index: b/boilerplate/cairo-boilerplate-vg.c
===================================================================
--- a/boilerplate/cairo-boilerplate-vg.c
+++ b/boilerplate/cairo-boilerplate-vg.c
@@ -215,7 +215,7 @@ _cairo_boilerplate_vg_create_surface_egl (const char		    *name,
 	EGL_ALPHA_SIZE, 8,
 	EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
 	EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT,
-	None
+	EGL_NONE
     };
     int rgb_attribs[] = {
 	EGL_RED_SIZE, 8,
@@ -225,7 +225,7 @@ _cairo_boilerplate_vg_create_surface_egl (const char		    *name,
 	EGL_VG_ALPHA_FORMAT, EGL_VG_ALPHA_FORMAT_PRE_BIT,
 	EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
 	EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT,
-	None
+	EGL_NONE
     };
     int dummy_attribs[] = {
 	EGL_WIDTH, 8, EGL_HEIGHT, 8,
+0 −23
Original line number Diff line number Diff line
test: fix build of any2ppm if fork is not available.

The test program any2ppm can run as daemon. This feature can be disabled at
compile time, if the required headers are not present. However the support for
fork() is not checked.

This patch fixes this issue.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>

Index: cairo-1.12.10/test/any2ppm.c
===================================================================
--- cairo-1.12.10.orig/test/any2ppm.c	2012-04-19 14:17:34.000000000 +0200
+++ cairo-1.12.10/test/any2ppm.c	2014-04-25 11:13:30.000000000 +0200
@@ -79,7 +79,7 @@
 
 #include <errno.h>
 
-#if HAVE_UNISTD_H && HAVE_FCNTL_H && HAVE_SIGNAL_H && HAVE_SYS_STAT_H && HAVE_SYS_SOCKET_H && HAVE_SYS_POLL_H && HAVE_SYS_UN_H
+#if HAVE_UNISTD_H && HAVE_FCNTL_H && HAVE_SIGNAL_H && HAVE_SYS_STAT_H && HAVE_SYS_SOCKET_H && HAVE_SYS_POLL_H && HAVE_SYS_UN_H && HAVE_FORK
 #include <fcntl.h>
 #include <signal.h>
 #include <sys/stat.h>
+2 −0
Original line number Diff line number Diff line
# From http://cairographics.org/releases/cairo-1.14.2.tar.xz.sha1
sha1	c8da68aa66ca0855b5d0ff552766d3e8679e1d24	cairo-1.14.2.tar.xz
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#
################################################################################

CAIRO_VERSION = 1.12.12
CAIRO_VERSION = 1.14.2
CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.xz
CAIRO_LICENSE = LGPLv2.1+
CAIRO_LICENSE_FILES = COPYING