]> git.pld-linux.org Git - packages/gd.git/blobdiff - gd-fontpath.patch
add upstream revert of api breakage; rel 2
[packages/gd.git] / gd-fontpath.patch
index 43b0836aaa02387fc4cd9b6e7a670d41c80ab0cb..eeac0e3a2413558272e685960e250186ca8a07f1 100644 (file)
@@ -1,11 +1,11 @@
---- gd-2.0.1/gd.h.orig Sat Aug 10 17:22:09 2002
-+++ gd-2.0.1/gd.h      Sat Aug 10 18:08:33 2002
-@@ -6,7 +6,7 @@
+--- libgd-2.1.0/src/gdft.c.orig        2013-06-25 11:58:23.000000000 +0200
++++ libgd-2.1.0/src/gdft.c     2013-07-03 21:32:22.648759053 +0200
+@@ -74,7 +74,7 @@
+ #    define DEFAULT_FONTPATH "/usr/share/fonts/truetype:/System/Library/Fonts:/Library/Fonts"
+ #  else
+    /* default fontpath for unix systems  - whatever happened to standards ! */
+-#    define DEFAULT_FONTPATH "/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type1"
++#    define DEFAULT_FONTPATH "/usr/share/fonts/TTF:/usr/share/fonts/Type1"
+ #  endif
  #endif
  
- /* default fontpath for unix systems */
--#define DEFAULT_FONTPATH "/usr/share/fonts/truetype"
-+#define DEFAULT_FONTPATH "/usr/share/fonts/TTF:/usr/share/fonts/Type1"
- #define PATHSEPARATOR ":"
- /* gd.h: declarations file for the graphic-draw module.
This page took 0.06714 seconds and 4 git commands to generate.