[152249] trunk/dports/x11/pango-devel
devans at macports.org
devans at macports.org
Thu Sep 1 18:48:03 PDT 2016
Revision: 152249
https://trac.macports.org/changeset/152249
Author: devans at macports.org
Date: 2016-09-01 18:48:03 -0700 (Thu, 01 Sep 2016)
Log Message:
-----------
pango-devel: build fix for 10.6 and earlier, initializer element not constant.
Modified Paths:
--------------
trunk/dports/x11/pango-devel/Portfile
Added Paths:
-----------
trunk/dports/x11/pango-devel/files/patch-initializer-element-not-constant.diff
Modified: trunk/dports/x11/pango-devel/Portfile
===================================================================
--- trunk/dports/x11/pango-devel/Portfile 2016-09-02 01:46:25 UTC (rev 152248)
+++ trunk/dports/x11/pango-devel/Portfile 2016-09-02 01:48:03 UTC (rev 152249)
@@ -42,7 +42,8 @@
path:lib/pkgconfig/cairo.pc:cairo \
port:harfbuzz
-patchfiles patch-ltmain.sh.diff
+patchfiles patch-ltmain.sh.diff \
+ patch-initializer-element-not-constant.diff
configure.args --enable-static \
--disable-silent-rules \
Added: trunk/dports/x11/pango-devel/files/patch-initializer-element-not-constant.diff
===================================================================
--- trunk/dports/x11/pango-devel/files/patch-initializer-element-not-constant.diff (rev 0)
+++ trunk/dports/x11/pango-devel/files/patch-initializer-element-not-constant.diff 2016-09-02 01:48:03 UTC (rev 152249)
@@ -0,0 +1,20 @@
+--- pango/pangocoretext-fontmap.c.orig 2016-09-01 18:23:39.000000000 -0700
++++ pango/pangocoretext-fontmap.c 2016-09-01 18:28:09.000000000 -0700
+@@ -119,7 +119,7 @@
+ */
+
+ static const PangoCTWeight ct_weight_map[] = {
+- { ct_weight_min, PANGO_WEIGHT_THIN },
++ { -0.7, PANGO_WEIGHT_THIN },
+ { -0.5, PANGO_WEIGHT_ULTRALIGHT },
+ { -0.23, PANGO_WEIGHT_LIGHT },
+ { -0.115, PANGO_WEIGHT_SEMILIGHT },
+@@ -128,7 +128,7 @@
+ { 0.3, PANGO_WEIGHT_SEMIBOLD },
+ { 0.4, PANGO_WEIGHT_BOLD },
+ { 0.6, PANGO_WEIGHT_ULTRABOLD },
+- { ct_weight_max, PANGO_WEIGHT_HEAVY }
++ { 0.8, PANGO_WEIGHT_HEAVY }
+ };
+
+ static const char *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160901/0a52a35e/attachment.html>
More information about the macports-changes
mailing list