View | Details | Raw Unified | Return to bug 201683 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/cairo/Makefile (-5 / +11 lines)
Lines 4-10 Link Here
4
4
5
PORTNAME=	cairo
5
PORTNAME=	cairo
6
PORTVERSION=	1.12.18
6
PORTVERSION=	1.12.18
7
PORTREVISION=	1
7
PORTREVISION=	2
8
PORTEPOCH=	2
8
PORTEPOCH=	2
9
CATEGORIES=	graphics
9
CATEGORIES=	graphics
10
MASTER_SITES=	http://cairographics.org/releases/
10
MASTER_SITES=	http://cairographics.org/releases/
Lines 12-22 Link Here
12
MAINTAINER=	gnome@FreeBSD.org
12
MAINTAINER=	gnome@FreeBSD.org
13
COMMENT=	Vector graphics library with cross-device output support
13
COMMENT=	Vector graphics library with cross-device output support
14
14
15
LICENSE=	LGPL21 MPL
16
LICENSE_COMB=	multi
17
15
USES=		tar:xz
18
USES=		tar:xz
16
19
17
.if !defined(REFERENCE_PORT)
20
.if !defined(REFERENCE_PORT)
18
21
19
LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
22
LIB_DEPENDS+=	libfreetype.so:${PORTSDIR}/print/freetype2 \
20
		libpng.so:${PORTSDIR}/graphics/png \
23
		libpng.so:${PORTSDIR}/graphics/png \
21
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
24
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
22
25
Lines 41-47 Link Here
41
		--disable-egl \
44
		--disable-egl \
42
		--enable-tee
45
		--enable-tee
43
46
44
OPTIONS_DEFINE=	OPENGL XCB GLIB X11 
47
OPTIONS_DEFINE=	OPENGL XCB GLIB X11
45
OPTIONS_DEFAULT=XCB GLIB X11
48
OPTIONS_DEFAULT=XCB GLIB X11
46
XCB_DESC=	Enable XCB (X C-language Binding) Support
49
XCB_DESC=	Enable XCB (X C-language Binding) Support
47
GLIB_DESC=	Enable GObject Functions Feature
50
GLIB_DESC=	Enable GObject Functions Feature
Lines 61-66 Link Here
61
64
62
.include <bsd.port.options.mk>
65
.include <bsd.port.options.mk>
63
66
67
.if ${ARCH} == "mips"
68
CONFIGURE_ARGS+=	--disable-atomic
69
.endif
70
64
post-patch:
71
post-patch:
65
	@${REINPLACE_CMD} -e '/test/s/==/=/g' \
72
	@${REINPLACE_CMD} -e '/test/s/==/=/g' \
66
		-e '/LIBS/s/-lrt//'  -e '/LIBS/s|-ldld||' \
73
		-e '/LIBS/s/-lrt//'  -e '/LIBS/s|-ldld||' \
Lines 77-83 Link Here
77
	@${REINPLACE_CMD} 's|@CAIRO_CFLAGS@|-I$$(top_srcdir)/src/glew &|' \
84
	@${REINPLACE_CMD} 's|@CAIRO_CFLAGS@|-I$$(top_srcdir)/src/glew &|' \
78
		${WRKSRC}/src/Makefile.in
85
		${WRKSRC}/src/Makefile.in
79
.endif
86
.endif
87
.endif
80
88
81
.include <bsd.port.mk>
89
.include <bsd.port.mk>
82
83
.endif
(-)graphics/cairo/files/patch-src_cairo-xlib-display.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- src/cairo-xlib-display.c.orig	2010-11-21 14:41:31.000000000 -0500
1
--- src/cairo-xlib-display.c.orig	2014-11-06 21:35:30 UTC
2
+++ src/cairo-xlib-display.c	2010-11-21 14:42:12.000000000 -0500
2
+++ src/cairo-xlib-display.c
3
@@ -353,11 +353,7 @@ _cairo_xlib_device_create (Display *dpy)
3
@@ -263,11 +263,7 @@ _cairo_xlib_device_create (Display *dpy)
4
     /* Prior to Render 0.10, there is no protocol support for gradients and
4
     /* Prior to Render 0.10, there is no protocol support for gradients and
5
      * we call function stubs instead, which would silently consume the drawing.
5
      * we call function stubs instead, which would silently consume the drawing.
6
      */
6
      */
(-)graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- util/cairo-sphinx/sphinx.c.orig	2014-10-06 15:22:24.000000000 -0400
1
--- util/cairo-sphinx/sphinx.c.orig	2014-11-06 21:35:30 UTC
2
+++ util/cairo-sphinx/sphinx.c	2014-10-06 15:23:04.000000000 -0400
2
+++ util/cairo-sphinx/sphinx.c
3
@@ -1325,7 +1325,7 @@ client_shm (const char *shm_path)
3
@@ -1325,7 +1325,7 @@ client_shm (const char *shm_path)
4
 
4
 
5
     base = mmap (NULL, DATA_SIZE,
5
     base = mmap (NULL, DATA_SIZE,
(-)graphics/cairo/pkg-descr (-1 / +1 lines)
Lines 10-13 Link Here
10
and filling Bezier cubic splines, transforming and compositing translucent
10
and filling Bezier cubic splines, transforming and compositing translucent
11
images, and antialiased text rendering.
11
images, and antialiased text rendering.
12
12
13
WWW:	http://www.cairographics.org
13
WWW: http://www.cairographics.org

Return to bug 201683