Ticket #26897: gd2.diff

File gd2.diff, 788 bytes (added by mojca (Mojca Miklavec), 13 years ago)

Another patch from upstream (https://bitbucket.org/pierrejoye/gd-libgd/changeset/3ea283efcdaf)

  • files/patch-gdft.c.diff

    diff --git a/files/patch-gdft.c.diff b/files/patch-gdft.c.diff
    index 5dbf3ab..392821c 100644
    a b  
    1 --- gdft.c.org  Sun Nov 14 04:21:18 2004
    2 +++ gdft.c      Wed May 18 09:09:16 2005
    3 @@ -1363,7 +1363,7 @@
     1--- gdft.c.orig
     2+++ gdft.c
     3@@ -1402,7 +1402,7 @@ fprintf(stderr,"dpi=%d,%d metric_res=%d ptsize=%g\n",hdpi,vdpi,METRIC_RES,ptsize
    44 
    55 #include <fontconfig/fontconfig.h>
    66 
     
    99 #ifndef NO_POSTSCRIPT_ALIAS
    1010 typedef struct _PostscriptAlias {
    1111   char* name;
     12@@ -1659,7 +1659,7 @@ static char * font_path(char **fontpath, char *name_list)
     13 BGD_DECLARE(int) gdFTUseFontConfig(int flag)
     14 {
     15 #ifdef HAVE_LIBFONTCONFIG
     16-       fontConfigFlag = 1;
     17+       fontConfigFlag = flag;
     18        return 1;
     19 #else
     20        return 0;