Update version to 0.4.5. Add patch for building with the recently

updated freetds 0.91.
This commit is contained in:
jeremy 2011-09-09 00:47:23 +00:00
parent 6f2fc3ebd1
commit 0c72dc12dc
4 changed files with 45 additions and 10 deletions

View File

@ -1,12 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2011/04/15 16:13:23 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2011/09/09 00:47:23 jeremy Exp $
COMMENT = simple and fast ruby binding to FreeTDS
DISTNAME = tiny_tds-0.4.3
DISTNAME = tiny_tds-0.4.5
CATEGORIES = databases
REVISION = 0
HOMEPAGE = https://github.com/rails-sqlserver/tiny_tds
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>

View File

@ -1,5 +1,5 @@
MD5 (tiny_tds-0.4.3.gem) = JRqiWcXCNvYI2qZ8eGU0lg==
RMD160 (tiny_tds-0.4.3.gem) = axF9Uke1OZ4DezeUvF4BJL8X5ac=
SHA1 (tiny_tds-0.4.3.gem) = k+HLdD1vLh2QAzUlySokKzdoLhY=
SHA256 (tiny_tds-0.4.3.gem) = PkE2EDzKd4jALzRcd4dvrmJT2TO+5Uo3QdnqXsYgUPM=
SIZE (tiny_tds-0.4.3.gem) = 19968
MD5 (tiny_tds-0.4.5.gem) = spm5TUL1BX7TIa9otgaIhQ==
RMD160 (tiny_tds-0.4.5.gem) = Teanp1oJbe+xfnjiatFuFNsuMcE=
SHA1 (tiny_tds-0.4.5.gem) = /TVnJXnkLxUMjzZigcv/v67Bbp4=
SHA256 (tiny_tds-0.4.5.gem) = 3I/GNJfcPpLpozNam8xCPZQV4IxbSPr9z0ka9RTohHQ=
SIZE (tiny_tds-0.4.5.gem) = 34816

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-ext_tiny_tds_result_h,v 1.1 2011/09/09 00:47:23 jeremy Exp $
--- ext/tiny_tds/result.h.orig Thu Sep 8 16:00:29 2011
+++ ext/tiny_tds/result.h Thu Sep 8 16:01:18 2011
@@ -2,8 +2,9 @@
#ifndef TINYTDS_RESULT_H
#define TINYTDS_RESULT_H
-// TODO: Is this needed?
-typedef tds_sysdep_int64_type DBBIGINT; /* Missing in sybdb.h ?!?! */
+#ifndef DBSETLDBNAME
+typedef tds_sysdep_int64_type DBBIGINT; /* For FreeTDS 0.82 */
+#endif
void init_tinytds_result();
VALUE rb_tinytds_new_result_obj(DBPROCESS *c);

View File

@ -1,9 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/01 23:17:08 jeremy Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/09/09 00:47:23 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/.gitignore
${GEM_LIB}/gems/${DISTNAME}/CHANGELOG
${GEM_LIB}/gems/${DISTNAME}/Gemfile
${GEM_LIB}/gems/${DISTNAME}/MIT-LICENSE
${GEM_LIB}/gems/${DISTNAME}/NOTES
${GEM_LIB}/gems/${DISTNAME}/README.rdoc
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/ext/
${GEM_LIB}/gems/${DISTNAME}/ext/tiny_tds/
${GEM_LIB}/gems/${DISTNAME}/ext/tiny_tds/Makefile
@ -26,4 +30,22 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/tiny_tds/client.rb
${GEM_LIB}/gems/${DISTNAME}/lib/tiny_tds/error.rb
${GEM_LIB}/gems/${DISTNAME}/lib/tiny_tds/result.rb
${GEM_LIB}/gems/${DISTNAME}/lib/tiny_tds/tiny_tds.so
${GEM_LIB}/gems/${DISTNAME}/lib/tiny_tds/version.rb
${GEM_LIB}/gems/${DISTNAME}/tasks/
${GEM_LIB}/gems/${DISTNAME}/tasks/ports.rake
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/benchmark/
${GEM_LIB}/gems/${DISTNAME}/test/benchmark/query.rb
${GEM_LIB}/gems/${DISTNAME}/test/benchmark/query_odbc.rb
${GEM_LIB}/gems/${DISTNAME}/test/benchmark/query_tinytds.rb
${GEM_LIB}/gems/${DISTNAME}/test/client_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/result_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/schema/
${GEM_LIB}/gems/${DISTNAME}/test/schema/1px.gif
${GEM_LIB}/gems/${DISTNAME}/test/schema/sqlserver_2000.sql
${GEM_LIB}/gems/${DISTNAME}/test/schema/sqlserver_2005.sql
${GEM_LIB}/gems/${DISTNAME}/test/schema/sqlserver_2008.sql
${GEM_LIB}/gems/${DISTNAME}/test/schema/sqlserver_azure.sql
${GEM_LIB}/gems/${DISTNAME}/test/schema_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec