From owner-freebsd-mips@freebsd.org Sun Aug 2 03:37:19 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C4099AF141 for ; Sun, 2 Aug 2015 03:37:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2AC3878 for ; Sun, 2 Aug 2015 03:37:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t723bI1H022214 for ; Sun, 2 Aug 2015 03:37:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Date: Sun, 02 Aug 2015 03:37:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 03:37:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201683 Carlos J Puga Medina changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158959|0 |1 is obsolete| | --- Comment #6 from Carlos J Puga Medina --- Comment on attachment 158959 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D158959 cairo-fix-mips.diff >diff -urN graphics/cairo.old/Makefile graphics/cairo/Makefile >--- graphics/cairo.old/Makefile 2015-07-19 03:20:21.000000000 +0200 >+++ graphics/cairo/Makefile 2015-07-19 03:22:06.000000000 +0200 >@@ -4,7 +4,7 @@ >=20 > PORTNAME=3D cairo > PORTVERSION=3D 1.12.18 >-PORTREVISION=3D 1 >+PORTREVISION=3D 2 > PORTEPOCH=3D 2 > CATEGORIES=3D graphics > MASTER_SITES=3D http://cairographics.org/releases/ >@@ -12,11 +12,14 @@ > MAINTAINER=3D gnome@FreeBSD.org > COMMENT=3D Vector graphics library with cross-device output support >=20 >+LICENSE=3D LGPL21 MPL >+LICENSE_COMB=3D multi >+ > USES=3D tar:xz >=20 > .if !defined(REFERENCE_PORT) >=20 >-LIB_DEPENDS=3D libfreetype.so:${PORTSDIR}/print/freetype2 \ >+LIB_DEPENDS+=3D libfreetype.so:${PORTSDIR}/print/freetype2 \ > libpng.so:${PORTSDIR}/graphics/png \ > libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig >=20 >@@ -41,7 +44,7 @@ > --disable-egl \ > --enable-tee >=20 >-OPTIONS_DEFINE=3D OPENGL XCB GLIB X11=20 >+OPTIONS_DEFINE=3D OPENGL XCB GLIB X11 > OPTIONS_DEFAULT=3DXCB GLIB X11 > XCB_DESC=3D Enable XCB (X C-language Binding) Support > GLIB_DESC=3D Enable GObject Functions Feature >@@ -61,6 +64,10 @@ >=20 > .include >=20 >+.if ${ARCH} =3D=3D "mips" >+CONFIGURE_ARGS+=3D --disable-atomic >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e '/test/s/=3D=3D/=3D/g' \ > -e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ >@@ -77,7 +84,6 @@ > @${REINPLACE_CMD} 's|@CAIRO_CFLAGS@|-I$$(top_srcdir)/src/glew &|' \ > ${WRKSRC}/src/Makefile.in > .endif >+.endif >=20 > .include >- >-.endif >diff -urN graphics/cairo.old/files/patch-src_cairo-xlib-display.c graphics= /cairo/files/patch-src_cairo-xlib-display.c >--- graphics/cairo.old/files/patch-src_cairo-xlib-display.c 2015-07-19 03:= 20:21.000000000 +0200 >+++ graphics/cairo/files/patch-src_cairo-xlib-display.c 2015-07-18 21:45:0= 5.000000000 +0200 >@@ -1,6 +1,6 @@ >---- src/cairo-xlib-display.c.orig 2010-11-21 14:41:31.000000000 -0500 >-+++ src/cairo-xlib-display.c 2010-11-21 14:42:12.000000000 -0500 >-@@ -353,11 +353,7 @@ _cairo_xlib_device_create (Display *dpy) >+--- src/cairo-xlib-display.c.orig 2014-11-06 21:35:30 UTC >++++ src/cairo-xlib-display.c >+@@ -263,11 +263,7 @@ _cairo_xlib_device_create (Display *dpy) > /* Prior to Render 0.10, there is no protocol support for gradients = and > * we call function stubs instead, which would silently consume the = drawing. > */ >diff -urN graphics/cairo.old/files/patch-util_cairo-sphinx_sphinx.c graphi= cs/cairo/files/patch-util_cairo-sphinx_sphinx.c >--- graphics/cairo.old/files/patch-util_cairo-sphinx_sphinx.c 2015-07-19 0= 3:20:21.000000000 +0200 >+++ graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c 2015-07-18 21:45= :05.000000000 +0200 >@@ -1,5 +1,5 @@ >---- util/cairo-sphinx/sphinx.c.orig 2014-10-06 15:22:24.000000000 -0400 >-+++ util/cairo-sphinx/sphinx.c 2014-10-06 15:23:04.000000000 -0400 >+--- util/cairo-sphinx/sphinx.c.orig 2014-11-06 21:35:30 UTC >++++ util/cairo-sphinx/sphinx.c > @@ -1325,7 +1325,7 @@ client_shm (const char *shm_path) >=20=20 > base =3D mmap (NULL, DATA_SIZE, >diff -urN graphics/cairo.old/pkg-descr graphics/cairo/pkg-descr >--- graphics/cairo.old/pkg-descr 2015-07-19 03:20:21.000000000 +0200 >+++ graphics/cairo/pkg-descr 2015-07-18 21:47:24.000000000 +0200 >@@ -10,4 +10,4 @@ > and filling Bezier cubic splines, transforming and compositing translucent > images, and antialiased text rendering. >=20 >-WWW: http://www.cairographics.org >+WWW: http://www.cairographics.org --=20 You are receiving this mail because: You are on the CC list for the bug.=