[114077] trunk/dports/x11/Xft2

ryandesign at macports.org ryandesign at macports.org
Wed Nov 27 23:43:29 PST 2013


Revision: 114077
          https://trac.macports.org/changeset/114077
Author:   ryandesign at macports.org
Date:     2013-11-27 23:43:29 -0800 (Wed, 27 Nov 2013)
Log Message:
-----------
Xft2: fix build failure with freetype 2.5.1 (#41578); disable silent rules; remove unknown/unnecessary --with-freetype-config configure argument; use more-specific homepage

Modified Paths:
--------------
    trunk/dports/x11/Xft2/Portfile

Added Paths:
-----------
    trunk/dports/x11/Xft2/files/
    trunk/dports/x11/Xft2/files/patch-freetype-2.5.1.diff

Modified: trunk/dports/x11/Xft2/Portfile
===================================================================
--- trunk/dports/x11/Xft2/Portfile	2013-11-28 06:48:46 UTC (rev 114076)
+++ trunk/dports/x11/Xft2/Portfile	2013-11-28 07:43:29 UTC (rev 114077)
@@ -20,7 +20,7 @@
 
 platforms			darwin
 
-homepage			http://fontconfig.org/
+homepage            http://www.freedesktop.org/wiki/Software/Xft/
 master_sites		        http://xorg.freedesktop.org/releases/individual/lib/
 distname			libXft-${version}
 use_bzip2			yes
@@ -40,9 +40,10 @@
 	port:fontconfig \
 	port:expat
 
-configure.args \
-	--with-freetype-config
+patchfiles          patch-freetype-2.5.1.diff
 
+configure.args      --disable-silent-rules
+
 livecheck.type      regex
 livecheck.url       ${master_sites}?C=M&O=D
 livecheck.regex     libXft-(\[0-9.\]+)\\.tar\\.bz2

Added: trunk/dports/x11/Xft2/files/patch-freetype-2.5.1.diff
===================================================================
--- trunk/dports/x11/Xft2/files/patch-freetype-2.5.1.diff	                        (rev 0)
+++ trunk/dports/x11/Xft2/files/patch-freetype-2.5.1.diff	2013-11-28 07:43:29 UTC (rev 114077)
@@ -0,0 +1,17 @@
+--- src/xftglyphs.c.orig	2012-06-02 11:36:35.000000000 -0500
++++ src/xftglyphs.c	2013-11-28 01:39:49.000000000 -0600
+@@ -21,10 +21,10 @@
+  */
+ 
+ #include "xftint.h"
+-#include <freetype/ftoutln.h>
+-#include <freetype/ftlcdfil.h>
+-
+-#include <freetype/ftsynth.h>
++#include <ft2build.h>
++#include FT_OUTLINE_H
++#include FT_LCD_FILTER_H
++#include FT_SYNTHESIS_H
+ 
+ /*
+  * Validate the memory info for a font
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131127/5b7ef79b/attachment.html>


More information about the macports-changes mailing list