[152604] users/devans/GNOME-3/stable/dports/x11/pango

devans at macports.org devans at macports.org
Mon Sep 12 22:43:20 PDT 2016


Revision: 152604
          https://trac.macports.org/changeset/152604
Author:   devans at macports.org
Date:     2016-09-12 22:43:20 -0700 (Mon, 12 Sep 2016)
Log Message:
-----------
GNOME-3/stable: pango, use upstream fix for "error: initializer element is not constant" on Snow Leopard and earlier.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/x11/pango/files/patch-initializer-element-not-constant.diff

Property Changed:
----------------
    users/devans/GNOME-3/stable/dports/x11/pango/


Property changes on: users/devans/GNOME-3/stable/dports/x11/pango
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/mld-qt-481/dports/x11/pango:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/trunk/dports/x11/pango:143558-152249
   + /branches/mld-qt-481/dports/x11/pango:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/trunk/dports/x11/pango:143558-152603

Modified: users/devans/GNOME-3/stable/dports/x11/pango/files/patch-initializer-element-not-constant.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/x11/pango/files/patch-initializer-element-not-constant.diff	2016-09-13 05:33:24 UTC (rev 152603)
+++ users/devans/GNOME-3/stable/dports/x11/pango/files/patch-initializer-element-not-constant.diff	2016-09-13 05:43:20 UTC (rev 152604)
@@ -1,20 +1,15 @@
---- 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 @@
-  */
+https://bugzilla.gnome.org/show_bug.cgi?id=770729
+https://git.gnome.org/browse/pango/commit/?id=9cb49a3e224bbd5a3e6630aa053e516ecbc46083
+--- pango/pangocoretext-fontmap.c
++++ pango/pangocoretext-fontmap.c
+@@ -110,8 +110,8 @@ typedef struct
+     PangoWeight pango_weight;
+ } PangoCTWeight;
  
- 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 }
- };
+-const float ct_weight_min = -0.7f;
+-const float ct_weight_max = 0.8f;
++#define ct_weight_min -0.7f
++#define ct_weight_max  0.8f
  
- static const char *
+ /* This map is based on empirical data from analyzing a large collection of
+  * fonts and comparing the opentype value with the value that OSX returns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160912/bac70523/attachment.html>


More information about the macports-changes mailing list