aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgadmin3/files
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2005-11-20 02:09:08 +0800
committerfjoe <fjoe@FreeBSD.org>2005-11-20 02:09:08 +0800
commitb0ee6b9d1386680cede36d2a0f05ad7dd864c56e (patch)
treeb642725598f9fec8e9b3adaedbce7b8f327b859d /databases/pgadmin3/files
parent8c2661cdd6bdd220e9ea8b4d8a1d9e9b19404157 (diff)
downloadfreebsd-ports-gnome-b0ee6b9d1386680cede36d2a0f05ad7dd864c56e.tar.gz
freebsd-ports-gnome-b0ee6b9d1386680cede36d2a0f05ad7dd864c56e.tar.zst
freebsd-ports-gnome-b0ee6b9d1386680cede36d2a0f05ad7dd864c56e.zip
- Update to 1.4.0.
This version no longer support FreeBSD 4.x (requires wchar_t support). Use pgadmin3-12 port for FreeBSD < 5.0.
Diffstat (limited to 'databases/pgadmin3/files')
-rw-r--r--databases/pgadmin3/files/patch-src-utils-utffile.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/databases/pgadmin3/files/patch-src-utils-utffile.cpp b/databases/pgadmin3/files/patch-src-utils-utffile.cpp
deleted file mode 100644
index 464d0abae817..000000000000
--- a/databases/pgadmin3/files/patch-src-utils-utffile.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/utils/utffile.cpp.orig Thu May 26 19:54:45 2005
-+++ src/utils/utffile.cpp Sun Oct 16 23:42:59 2005
-@@ -16,10 +16,6 @@
- extern wxMBConvUTF32BE wxConvUTF32BE;
- extern wxMBConvUTF32LE wxConvUTF32LE;
-
--#if !wxUSE_UNICODE
--#error utffile.cpp is implemented for unicode only.
--#endif
--
-
- // these are the magic characters identifying an Unicode file
- #define BOM_UTF8 "\357\273\277"
-@@ -87,7 +83,12 @@
- if (decr)
- Seek(-decr, wxFromCurrent);
-
-- m_conversion->MB2WC((wchar_t*)(wxChar*)wxStringBuffer(str, nLen+1), (const char*)buffer, (size_t)(nLen+1));
-+#if wxUSE_UNICODE
-+ size_t buf_len = nLen + 1;
-+#else
-+ size_t buf_len = (nLen + 1) * sizeof(wchar_t);
-+#endif
-+ m_conversion->MB2WC((wchar_t*)(wxChar*)wxStringBuffer(str, buf_len), (const char*)buffer, (size_t)(nLen+1));
- }
- else
- str = (wxChar*)buffer;