diff options
Diffstat (limited to 'databases/freetds-devel/files')
-rw-r--r-- | databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in | 12 | ||||
-rw-r--r-- | databases/freetds-devel/files/patch-src_tds_iconv.c | 23 |
2 files changed, 0 insertions, 35 deletions
diff --git a/databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in b/databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in deleted file mode 100644 index 910087cdb263..000000000000 --- a/databases/freetds-devel/files/noportdocs-patch-doc__Makefile.in +++ /dev/null @@ -1,12 +0,0 @@ ---- ./doc/Makefile.in.orig 2008-06-16 13:01:18.956170390 +0300 -+++ ./doc/Makefile.in 2008-06-16 13:10:19.492674498 +0300 -@@ -412,8 +412,7 @@ - - info-am: - --install-data-am: install-data-local install-man \ -- install-nobase_dataDATA -+install-data-am: install-man - - install-exec-am: - diff --git a/databases/freetds-devel/files/patch-src_tds_iconv.c b/databases/freetds-devel/files/patch-src_tds_iconv.c deleted file mode 100644 index 1899306538c2..000000000000 --- a/databases/freetds-devel/files/patch-src_tds_iconv.c +++ /dev/null @@ -1,23 +0,0 @@ ---- src/tds/iconv.c.orig Sat Jan 13 16:27:13 2007 -+++ src/tds/iconv.c Sat Jan 13 16:29:24 2007 -@@ -973,13 +973,18 @@ tds_srv_charset_changed(TDSSOCKET * tds, - #if HAVE_ICONV_ALWAYS - TDSICONV *char_conv = tds->char_convs[client2server_chardata]; - -- const char *canonic_charset = tds_canonical_charset_name(charset); -+ int canonic_charset_num = tds_canonical_charset(charset); -+ const char *canonic_charset; -+ -+ if (tds->major_version >= 7 && canonic_charset_num == TDS_CHARSET_ISO_8859_1) -+ canonic_charset_num = TDS_CHARSET_CP1252; - - /* ignore request to change to unknown charset */ -- if (!canonic_charset) { -+ if (canonic_charset_num < 0) { - tdsdump_log(TDS_DBG_FUNC, "tds_srv_charset_changed: what is charset \"%s\"?\n", charset); - return; - } -+ canonic_charset = canonic_charsets[canonic_charset_num].name; - - if (strcmp(canonic_charset, char_conv->server_charset.name) == 0) - return; |