diff options
author | krion <krion@FreeBSD.org> | 2004-10-12 20:55:44 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-10-12 20:55:44 +0800 |
commit | 65737e88a00dad8d939a34e6b039568636513d53 (patch) | |
tree | 32276fb7405a910d5eb72ec3efd575528a256e0d /graphics/swftools/files | |
parent | b0455c7ea712ba4acf967e6d06d84520442838c9 (diff) | |
download | freebsd-ports-gnome-65737e88a00dad8d939a34e6b039568636513d53.tar.gz freebsd-ports-gnome-65737e88a00dad8d939a34e6b039568636513d53.tar.zst freebsd-ports-gnome-65737e88a00dad8d939a34e6b039568636513d53.zip |
Update to version 0.6.2
PR: ports/72530
Submitted by: Ports Fury
Diffstat (limited to 'graphics/swftools/files')
-rw-r--r-- | graphics/swftools/files/patch-configure | 76 | ||||
-rw-r--r-- | graphics/swftools/files/patch-lib::modules::swffont.c | 12 |
2 files changed, 0 insertions, 88 deletions
diff --git a/graphics/swftools/files/patch-configure b/graphics/swftools/files/patch-configure deleted file mode 100644 index 7efa27f1f142..000000000000 --- a/graphics/swftools/files/patch-configure +++ /dev/null @@ -1,76 +0,0 @@ ---- configure.orig Sat Aug 21 03:34:59 2004 -+++ configure Sat Aug 21 12:46:50 2004 -@@ -10247,7 +10247,7 @@ - fi - - --for ac_header in freetype/freetype.h -+for ac_header in ft2build.h - do - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` - if eval "test \"\${$as_ac_Header+set}\" = set"; then -@@ -10413,45 +10413,26 @@ - echo $ECHO_N "checking whether we can compile the freetype test program... $ECHO_C" >&6 - - cat > conftest.c << EOF --#include <freetype/freetype.h> --#include <freetype/ftglyph.h> --#include <freetype/ftsnames.h> --#include <freetype/ttnameid.h> --#include <freetype/ftoutln.h> -- --int main() --{ -- FT_Library ftlibrary; -- FT_Face face; -- FT_Error error; -- FT_ULong charcode; -- FT_UInt gindex; -- FT_Glyph glyph; -- FT_BBox bbox; -- FT_Matrix matrix; -- FT_UInt i; -- char* name = 0; -- char italic, bold; -- -- FT_Init_FreeType(&ftlibrary); -- FT_New_Face(ftlibrary, "filename", 0, &face); -- i = face->num_glyphs - 1; -- italic = face->style_flags&FT_STYLE_FLAG_ITALIC; -- bold = face->style_flags&FT_STYLE_FLAG_BOLD; -- FT_Get_Postscript_Name(face); -- FT_Get_Char_Index(face, 33); -- FT_Get_First_Char(face, &i); -- FT_Get_Next_Char(face, 33, &i); -- if(FT_HAS_GLYPH_NAMES(face)) { -- FT_Get_Glyph_Name(face, 33, name, 127); -- } -- FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE); -- FT_Get_Glyph(face->glyph, &glyph); -- FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox); -- FT_Done_Glyph(glyph); -- FT_Done_Face(face); -- FT_Done_FreeType(ftlibrary); -+#include <ft2build.h> -+#include FT_FREETYPE_H -+#include <stdio.h> -+#include <stdlib.h> -+ -+int -+main() -+{ -+ FT_Library library; -+ FT_Error error; -+ -+ error = FT_Init_FreeType(&library); -+ -+ if (error) -+ return 1; -+ else -+ { -+ FT_Done_FreeType(library); - return 0; -+ } - } - EOF - diff --git a/graphics/swftools/files/patch-lib::modules::swffont.c b/graphics/swftools/files/patch-lib::modules::swffont.c deleted file mode 100644 index 52c486195be9..000000000000 --- a/graphics/swftools/files/patch-lib::modules::swffont.c +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/modules/swffont.c.orig Sat Aug 14 16:19:02 2004 -+++ lib/modules/swffont.c Sun Aug 15 02:16:02 2004 -@@ -32,7 +32,8 @@ - - #ifdef HAVE_FREETYPE - --#include <freetype/freetype.h> -+#include <ft2build.h> -+#include FT_FREETYPE_H - #include <freetype/ftglyph.h> - #include <freetype/ftsizes.h> - #include <freetype/ftsnames.h> |