summaryrefslogtreecommitdiff
path: root/databases/p5-sybperl/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-09-27 19:51:02 +0000
committerwiz <wiz@pkgsrc.org>2017-09-27 19:51:02 +0000
commitd2e21a15de4419c9c78a2b4ac5d7ae300a5b473b (patch)
tree0e3a010e0c7c002ddba6eaa59c285b70676d2d28 /databases/p5-sybperl/patches
parentf1d4a742d603f759e78bd395f1ab36366cce39a3 (diff)
downloadpkgsrc-d2e21a15de4419c9c78a2b4ac5d7ae300a5b473b.tar.gz
p5-sybperl: update to 2.19.
2.19 Bug Fixes Fixed incorrect handling of various "new" datatypes (date, time, bigint, bigdatetime). Other Bug Fixes: 640 - Sybase::BLK fails due to system table ordering issues consequence of row level locking on system tables in 15.0.2 and later. 2.18 Bug Fixes Various BLK fixes. Fixed Sybase::BCP and Sybase::BLK tests which failed against 12.5.3 servers (changes on the Server side). Bugs Fixed: 577 - perl Makefile.PL fails if umask is 0. 2.17 Kerberos Network login Support for CS_SEC_NETWORKAUTH and CS_SEC_SERVERPRINCIPAL connection properties in Sybase::CTlib. Support CS_SERVERADDR connection properties in Sybase::CTlib, and also allow the $server parameter to ct_connect to be specified as "host:port" (requires OpenClient 12.5.1 or later). Some documentation changes/improvements in Sybase::CTlib. Bug Fixes 546 umask checking doesn't work on Windows. 555 blk_rowxfer doesn't handle datatype conversion errors. 560 Long binary columns are truncated by ct_fetch. 542 Fetch binary in raw format. 538 DBlib doesn't export TRACE_xxx symbols.
Diffstat (limited to 'databases/p5-sybperl/patches')
-rw-r--r--databases/p5-sybperl/patches/patch-CTlib_CTlib.xs17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/p5-sybperl/patches/patch-CTlib_CTlib.xs b/databases/p5-sybperl/patches/patch-CTlib_CTlib.xs
new file mode 100644
index 00000000000..ca1146de823
--- /dev/null
+++ b/databases/p5-sybperl/patches/patch-CTlib_CTlib.xs
@@ -0,0 +1,17 @@
+$NetBSD: patch-CTlib_CTlib.xs,v 1.1 2017/09/27 19:51:03 wiz Exp $
+
+--- CTlib/CTlib.xs.orig 2010-03-28 11:27:37.000000000 +0000
++++ CTlib/CTlib.xs
+@@ -654,8 +654,10 @@ static void * alloc_datatype(CS_INT data
+ case CS_BIGINT_TYPE:
+ case CS_UBIGINT_TYPE: bytes = sizeof(CS_BIGINT); break;
+ #endif
+-#if defined(CS_BIGTIME_TYPE)
+- case CS_BIGTIME_TYPE:
++#if defined(CS_BIGTIME_TYPE) && defined(CS_BIGDATETIME)
++ case CS_BIGTIME_TYPE: bytes = sizeof(CS_BIGDATETIME); break;
++#endif
++#if defined(CS_BIGDATETIME_TYPE) && defined(CS_BIGDATETIME)
+ case CS_BIGDATETIME_TYPE: bytes = sizeof(CS_BIGDATETIME); break;
+ #endif
+ default: