diff options
author | mi <mi@FreeBSD.org> | 2009-12-09 04:10:09 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2009-12-09 04:10:09 +0800 |
commit | 6740f19cb886b552cd95ebe4d8d66641c9376789 (patch) | |
tree | fbc7283319b02e7262eba63c2ad6d25128fede75 /databases | |
parent | 9738f0f924bbae3a434bcd6a5f34231abbdb9527 (diff) | |
download | freebsd-ports-gnome-6740f19cb886b552cd95ebe4d8d66641c9376789.tar.gz freebsd-ports-gnome-6740f19cb886b552cd95ebe4d8d66641c9376789.tar.zst freebsd-ports-gnome-6740f19cb886b552cd95ebe4d8d66641c9376789.zip |
Upgrade from 2.1.5 to 2.1.6, released in August.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqsh/Makefile | 6 | ||||
-rw-r--r-- | databases/sqsh/distinfo | 6 | ||||
-rw-r--r-- | databases/sqsh/files/patch-src_cmd_bcp_c | 58 |
3 files changed, 63 insertions, 7 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile index 2004b580ffe1..438bcb3673c5 100644 --- a/databases/sqsh/Makefile +++ b/databases/sqsh/Makefile @@ -5,11 +5,9 @@ # $FreeBSD$ PORTNAME= sqsh -PORTVERSION= 2.1.5 -PORTREVISION= 1 +PORTVERSION= 2.1.6 CATEGORIES= databases -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} -EXTRACT_SUFX= .tgz +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Interactive tool for querying Sybase database servers diff --git a/databases/sqsh/distinfo b/databases/sqsh/distinfo index 9af24e8eab83..03e36bb9ff3c 100644 --- a/databases/sqsh/distinfo +++ b/databases/sqsh/distinfo @@ -1,3 +1,3 @@ -MD5 (sqsh-2.1.5.tgz) = 6169fb449e6b0b7a26be703f350f4e46 -SHA256 (sqsh-2.1.5.tgz) = afa0b1010ea794e58aa9ed379bcf05a232d8d4081cd1cef63e77e5de175bfcd4 -SIZE (sqsh-2.1.5.tgz) = 401429 +MD5 (sqsh-2.1.6.tar.gz) = 32bca47e73c8cf1665a4b610e07931c0 +SHA256 (sqsh-2.1.6.tar.gz) = d2547e5bcac2805da0ccb630c9eef11a6da8ae8e279ec614fad8321efec5de5e +SIZE (sqsh-2.1.6.tar.gz) = 557271 diff --git a/databases/sqsh/files/patch-src_cmd_bcp_c b/databases/sqsh/files/patch-src_cmd_bcp_c new file mode 100644 index 000000000000..c2c445a24137 --- /dev/null +++ b/databases/sqsh/files/patch-src_cmd_bcp_c @@ -0,0 +1,58 @@ +The latest FreeTDS defines CS_VERSION_foo without also defining +BLK_VERSION_foo. So we have to check these defines independently. + + -mi + +--- src/cmd_bcp.c 2004-11-22 02:10:23.000000000 -0500 ++++ src/cmd_bcp.c 2008-06-25 22:39:55.000000000 -0400 +@@ -341,24 +341,37 @@ + + /*-- Find the appropriate BLK_VERSION_xxx value --*/ ++ if (blk_ver == -1) ++ switch(g_cs_ver) { + #if defined(CS_VERSION_150) +- if(blk_ver == -1 && g_cs_ver == CS_VERSION_150) { +- blk_ver = BLK_VERSION_150; +- } ++ case CS_VERSION_150: ++# if defined(BLK_VERSION_150) ++ blk_ver = BLK_VERSION_150; ++ break; ++# endif + #endif + #if defined(CS_VERSION_125) +- if(blk_ver == -1 && g_cs_ver == CS_VERSION_125) { +- blk_ver = BLK_VERSION_125; +- } ++ case CS_VERSION_125: ++# if defined(BLK_VERSION_125) ++ blk_ver = BLK_VERSION_125; ++ break; ++# endif + #endif +-#if defined(CS_VERSION_120) +- if(blk_ver == -1 && g_cs_ver == CS_VERSION_120) +- blk_ver = BLK_VERSION_120; ++#if defined(CS_VERSION_120) && CS_VERSION_120 != CS_VERSION_110 ++ case CS_VERSION_120: ++# if defined(BLK_VERSION_120) ++ blk_ver = BLK_VERSION_120; ++ break; ++# endif + #endif + #if defined(CS_VERSION_110) +- if(blk_ver == -1 && g_cs_ver == CS_VERSION_110) +- blk_ver = BLK_VERSION_110; ++ case CS_VERSION_110: ++# if defined(BLK_VERSION_110) ++ blk_ver = BLK_VERSION_110; ++ break; ++# endif + #endif +- if(blk_ver == -1) +- blk_ver = BLK_VERSION_100; ++ default: ++ blk_ver = BLK_VERSION_100; ++ } + + /*-- Initialize the command --*/ |