Update to tiny_tds 0.5.1. Remove now unnecessary patches.

This commit is contained in:
jeremy 2013-01-29 22:44:05 +00:00
parent 9bf67f8a94
commit 2713d48e17
5 changed files with 7 additions and 39 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2013/01/09 17:38:52 jeremy Exp $
# $OpenBSD: Makefile,v 1.7 2013/01/29 22:44:05 jeremy Exp $
COMMENT = simple and fast ruby binding to FreeTDS
DISTNAME = tiny_tds-0.4.5
DISTNAME = tiny_tds-0.5.1
CATEGORIES = databases
REVISION = 2
HOMEPAGE = https://github.com/rails-sqlserver/tiny_tds

View File

@ -1,5 +1,2 @@
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
SHA256 (tiny_tds-0.5.1.gem) = 757hn6RKfJxxelCFwS8U1nhKUyEJaZYgRHVkjDbEETw=
SIZE (tiny_tds-0.5.1.gem) = 40448

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-ext_tiny_tds_extconf_rb,v 1.1 2011/04/15 16:13:23 ajacoutot Exp $
--- ext/tiny_tds/extconf.rb.orig Thu Apr 14 19:42:32 2011
+++ ext/tiny_tds/extconf.rb Thu Apr 14 19:42:21 2011
@@ -27,8 +27,8 @@ def find_freetds_libraries_path
message = "looking for library directory #{dir} ..."
if File.directory?(dir)
puts "#{message} yes"
- if with_ldflags("#{$LDFLAGS} -L#{dir}".strip) { have_freetds_libraries?(*FREETDS_LIBRARIES) }
- $LDFLAGS = "-L#{dir} #{$LDFLAGS}".strip
+ if with_ldflags("#{$LDFLAGS} -pthread -L#{dir}".strip) { have_freetds_libraries?(*FREETDS_LIBRARIES) }
+ $LDFLAGS = "-L#{dir} -pthread #{$LDFLAGS}".strip
true
else
false

View File

@ -1,15 +0,0 @@
$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,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2011/09/09 00:47:23 jeremy Exp $
@comment $OpenBSD: PLIST,v 1.3 2013/01/29 22:44:05 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/.gitignore
@ -6,7 +6,7 @@ ${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}/README.md
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/ext/
${GEM_LIB}/gems/${DISTNAME}/ext/tiny_tds/
@ -46,6 +46,7 @@ ${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/sybase_ase.sql
${GEM_LIB}/gems/${DISTNAME}/test/schema_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec