[PATCH:libXfont] Fix functions to match X11/fonts/font.h prototypes.
Thomas Klausner
wiz at NetBSD.org
Tue Apr 15 09:45:36 PDT 2014
Hm, that's the patch I need when compiling against fontsproto-2.1.2.
Ignore it.
So we have libXfont-1.4.7 only compiling against fontsproto-2.1.2 and
not fontsproto-2.1.3, but no release for 2.1.3 yet.
Thomas
On Tue, Apr 15, 2014 at 06:41:35PM +0200, Thomas Klausner wrote:
> Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
> ---
> src/util/patcache.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/util/patcache.c b/src/util/patcache.c
> index 2101015..5efe258 100644
> --- a/src/util/patcache.c
> +++ b/src/util/patcache.c
> @@ -128,7 +128,7 @@ Hash (const char *string, int len)
> /* add entry */
> void
> CacheFontPattern (FontPatternCachePtr cache,
> - const char *pattern,
> + char *pattern,
> int patlen,
> FontPtr pFont)
> {
> @@ -174,7 +174,7 @@ CacheFontPattern (FontPatternCachePtr cache,
> /* find matching entry */
> FontPtr
> FindCachedFontPattern (FontPatternCachePtr cache,
> - const char *pattern,
> + char *pattern,
> int patlen)
> {
> int hash;
> --
> 1.9.0
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list