diff options
author | marcus <marcus@FreeBSD.org> | 2003-08-05 08:27:07 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-08-05 08:27:07 +0800 |
commit | 86ff3c02c738388bbe653ecd46d1a73e5fbb0afe (patch) | |
tree | 98935fe4574826ca68b1da14e8de5cfecea2ba8a /editors | |
parent | bbd5459373d9a63aa6d596f2d5f3c308b87d51f0 (diff) | |
download | freebsd-ports-gnome-86ff3c02c738388bbe653ecd46d1a73e5fbb0afe.tar.gz freebsd-ports-gnome-86ff3c02c738388bbe653ecd46d1a73e5fbb0afe.tar.zst freebsd-ports-gnome-86ff3c02c738388bbe653ecd46d1a73e5fbb0afe.zip |
Attempt to fix build on 64-bit platforms.
Diffstat (limited to 'editors')
3 files changed, 45 insertions, 0 deletions
diff --git a/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp b/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp new file mode 100644 index 000000000000..29b75760b1d7 --- /dev/null +++ b/editors/AbiWord2/files/patch-src_af_xap_unix_xap_UnixFont.cpp @@ -0,0 +1,15 @@ +--- src/af/xap/unix/xap_UnixFont.cpp.orig Mon Aug 4 20:24:53 2003 ++++ src/af/xap/unix/xap_UnixFont.cpp Mon Aug 4 20:25:50 2003 +@@ -400,10 +400,10 @@ + size_t idx = 0; + for (size_t i = 0; i < coverage.size(); i += 2) + { +- UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i])); ++ UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i])); + UT_UCSChar c2 = + static_cast<UT_UCSChar>(static_cast<UT_uint32>(c1)) + +- static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i + 1])); ++ static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i + 1])); + for (UT_UCSChar c = c1; c < c2; ++c) + { + FT_UInt glyph_idx = FT_Get_Char_Index(face, c); diff --git a/editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixFont.cpp b/editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixFont.cpp new file mode 100644 index 000000000000..29b75760b1d7 --- /dev/null +++ b/editors/abiword-devel/files/patch-src_af_xap_unix_xap_UnixFont.cpp @@ -0,0 +1,15 @@ +--- src/af/xap/unix/xap_UnixFont.cpp.orig Mon Aug 4 20:24:53 2003 ++++ src/af/xap/unix/xap_UnixFont.cpp Mon Aug 4 20:25:50 2003 +@@ -400,10 +400,10 @@ + size_t idx = 0; + for (size_t i = 0; i < coverage.size(); i += 2) + { +- UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i])); ++ UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i])); + UT_UCSChar c2 = + static_cast<UT_UCSChar>(static_cast<UT_uint32>(c1)) + +- static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i + 1])); ++ static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i + 1])); + for (UT_UCSChar c = c1; c < c2; ++c) + { + FT_UInt glyph_idx = FT_Get_Char_Index(face, c); diff --git a/editors/abiword/files/patch-src_af_xap_unix_xap_UnixFont.cpp b/editors/abiword/files/patch-src_af_xap_unix_xap_UnixFont.cpp new file mode 100644 index 000000000000..29b75760b1d7 --- /dev/null +++ b/editors/abiword/files/patch-src_af_xap_unix_xap_UnixFont.cpp @@ -0,0 +1,15 @@ +--- src/af/xap/unix/xap_UnixFont.cpp.orig Mon Aug 4 20:24:53 2003 ++++ src/af/xap/unix/xap_UnixFont.cpp Mon Aug 4 20:25:50 2003 +@@ -400,10 +400,10 @@ + size_t idx = 0; + for (size_t i = 0; i < coverage.size(); i += 2) + { +- UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i])); ++ UT_UCSChar c1 = static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i])); + UT_UCSChar c2 = + static_cast<UT_UCSChar>(static_cast<UT_uint32>(c1)) + +- static_cast<UT_UCSChar>(reinterpret_cast<UT_uint32>(coverage[i + 1])); ++ static_cast<UT_UCSChar>(reinterpret_cast<unsigned long>(coverage[i + 1])); + for (UT_UCSChar c = c1; c < c2; ++c) + { + FT_UInt glyph_idx = FT_Get_Char_Index(face, c); |