[76048] trunk/dports/math/gnuplot

Ryan Schmidt ryandesign at macports.org
Thu Feb 17 14:36:21 PST 2011


On Feb 17, 2011, at 03:24, and.damore at macports.org wrote:

> Revision: 76048
>          http://trac.macports.org/changeset/76048
> Author:   and.damore at macports.org
> Date:     2011-02-17 01:24:31 -0800 (Thu, 17 Feb 2011)
> Log Message:
> -----------
> added patch to have default font paths on OS X
> 
> Modified Paths:
> --------------
>    trunk/dports/math/gnuplot/Portfile
> 
> Added Paths:
> -----------
>    trunk/dports/math/gnuplot/files/
>    trunk/dports/math/gnuplot/files/patch-src-variable_c.diff
> 
> Modified: trunk/dports/math/gnuplot/Portfile
> ===================================================================
> --- trunk/dports/math/gnuplot/Portfile	2011-02-17 09:23:16 UTC (rev 76047)
> +++ trunk/dports/math/gnuplot/Portfile	2011-02-17 09:24:31 UTC (rev 76048)
> @@ -47,6 +47,8 @@
>                             port:xpm \
>                             port:zlib
> 
> +patchfiles                  patch-src-variable_c.diff
> +
> platform darwin {
>     depends_lib-append      port:aquaterm
>     configure.cflags-append -DDEFAULTTERM='"aqua"'
> 
> Added: trunk/dports/math/gnuplot/files/patch-src-variable_c.diff
> ===================================================================
> --- trunk/dports/math/gnuplot/files/patch-src-variable_c.diff	                        (rev 0)
> +++ trunk/dports/math/gnuplot/files/patch-src-variable_c.diff	2011-02-17 09:24:31 UTC (rev 76048)
> @@ -0,0 +1,20 @@
> +--- src/variable.c.orig	2010-10-18 15:41:53.000000000 +0200
> ++++ src/variable.c	2010-10-18 15:42:11.000000000 +0200
> +@@ -244,13 +244,13 @@
> + };
> + #endif
> + 
> +-#if defined(_Macintosh) && !defined(FONTPATHSET)
> ++#if defined(__APPLE__) && !defined(FONTPATHSET)
> + #  define FONTPATHSET
> + static const struct path_table fontpath_tbl[] =
> + {
> +-    { "/System/Library/Fonts!" },
> +-    { "/Library/Fonts!" },
> +-    { "$(HOME)/Library/Fonts!" },
> ++    { "/System/Library/Fonts" },
> ++    { "/Library/Fonts" },
> ++    { "$(HOME)/Library/Fonts" },
> +     { NULL }
> + };
> + #endif

Shouldn't the revision be increased for this change?






More information about the macports-dev mailing list