diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-04-23 03:27:28 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-04-23 03:27:28 +0000 |
commit | 5cbfbab198db86d5555468f4eec835a22787f7f9 (patch) | |
tree | b5ad9542944be56b53e6c4ebf254e034a732b656 /media-libs/wxsvg/files | |
parent | Some more tweaks but still not 100% (diff) | |
download | gentoo-2-5cbfbab198db86d5555468f4eec835a22787f7f9.tar.gz gentoo-2-5cbfbab198db86d5555468f4eec835a22787f7f9.tar.bz2 gentoo-2-5cbfbab198db86d5555468f4eec835a22787f7f9.zip |
Add patch to allow building with later freetype versions. Bug #175640.
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-libs/wxsvg/files')
-rw-r--r-- | media-libs/wxsvg/files/wxsvg-1.0_beta7-freetype.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/wxsvg/files/wxsvg-1.0_beta7-freetype.patch b/media-libs/wxsvg/files/wxsvg-1.0_beta7-freetype.patch new file mode 100644 index 000000000000..cfc7acddb499 --- /dev/null +++ b/media-libs/wxsvg/files/wxsvg-1.0_beta7-freetype.patch @@ -0,0 +1,41 @@ +diff -Naur wxsvg-1.0b7-orig/src/freetype/SVGCanvasTextFreetype.cpp wxsvg-1.0b7/src/freetype/SVGCanvasTextFreetype.cpp +--- wxsvg-1.0b7-orig/src/freetype/SVGCanvasTextFreetype.cpp 2007-04-22 21:08:31.000000000 -0600 ++++ wxsvg-1.0b7/src/freetype/SVGCanvasTextFreetype.cpp 2007-04-22 21:14:32.000000000 -0600 +@@ -163,7 +163,7 @@ + } + } + +-static gint moveto(FT_Vector* to, gpointer data) ++static gint moveto(const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + +@@ -179,7 +179,7 @@ + return 0; + } + +-static gint lineto (FT_Vector* to, gpointer data) ++static gint lineto (const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + if (!canvasText->m_endpath) +@@ -192,7 +192,7 @@ + return 0; + } + +-static gint conicto(FT_Vector* ftcontrol, FT_Vector* to, gpointer data) ++static gint conicto(const FT_Vector* ftcontrol, const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + if (!canvasText->m_endpath) +@@ -207,8 +207,8 @@ + return 0; + } + +-static gint cubicto(FT_Vector* ftcontrol1, FT_Vector* ftcontrol2, +- FT_Vector* to, gpointer data) ++static gint cubicto(const FT_Vector* ftcontrol1, const FT_Vector* ftcontrol2, ++ const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + if (!canvasText->m_endpath) |