From owner-freebsd-gnome@freebsd.org Tue Aug 4 17:35:44 2015 Return-Path: Delivered-To: freebsd-gnome@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 514849B3E94 for ; Tue, 4 Aug 2015 17:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3657D6B7 for ; Tue, 4 Aug 2015 17:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 357419B3E93; Tue, 4 Aug 2015 17:35:44 +0000 (UTC) Delivered-To: gnome@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 3519F9B3E92 for ; Tue, 4 Aug 2015 17:35:44 +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 07A8D6B5 for ; Tue, 4 Aug 2015 17:35:44 +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 t74HZhEn068824 for ; Tue, 4 Aug 2015 17:35:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 202083] print/freetype2: ftconfig.h TYPEOF shadows other TYPEOFs Date: Tue, 04 Aug 2015 17:35:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rhurlin@gwdg.de 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 17:35:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202083 Bug ID: 202083 Summary: print/freetype2: ftconfig.h TYPEOF shadows other TYPEOFs Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: rhurlin@gwdg.de Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org Created attachment 159544 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159544&action=edit patch to change TYPEOF into FT_TYPEOF I had some trouble trying to build the package 'Cairo-1.5.8.tar.gz' [1] for math/R. It turns out, that there is an underlying problem with print/freetype2 (thanks to Simon Urbanek from the R Project for his help on this). In [2] Tim Smith explained, that "ftconfig.h exports a TYPEOF macro that can conflict with and shadow macros with the same name in client applications. This breaks building the current version of the R programming language interpreter against the current version of freetype when cairo support is enabled (though R only uses freetype if pango support is disabled). It would be nice if the macro was called FT_TYPEOF or something similar." This work is done on the GitHub master of freetype2, but not released until now [3]. I filed a patch against freetype2 version 2.6 in the ports tree, which only changes TYPEOF() into FT_TYPEOF(). No other commits of the freetype2 master on GitHub are included. So this patched port should have no functional changes, except the TYPEOF() problem. [1] http://cran.at.r-project.org/web/packages/Cairo/index.html [2] https://savannah.nongnu.org/bugs/index.php?45376 [3] http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=5931268eecaeda3e05580bdc8885348fecc43fa8 -- You are receiving this mail because: You are the assignee for the bug.