File:  [cvs.NetBSD.org] / pkgsrc / databases / sqlrelay / patches / patch-src_api_ruby_getcflags.rb
Revision 1.2: download - view: text, annotated - select for diffs
Wed Sep 2 12:39:33 2015 UTC (11 years, 2 months ago) by fhajny
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, HEAD
Update databases/sqlrelay to 0.63.

sqlrelay 0.63
- suppressed ruby configure warning
- fixed glib detection if pkg-config isn't present
- fixed mono detection on freebsd
- fixed node.js yes/no misreport bug in configure script
- added freetds tcl test
- fixed slashes in tcl tests for windows
- updated docs to mention firebird buffer size parameters
- updated MAX_ITEM_BUFFER_SIZE to 32768 for firebird
- fixed ruby detection on fedora 22
- fixed missing export for setAuth/ResponseTimeout in ruby api
- added manual include of inttypes.h in php api to work around issue
  with define/undef games, revealed on openbsd 5.7
- tweaked ruby cflags script for debian 8
- refactored mysql detection
- tweaked unixodbc detection to also look in /usr/include/odbc
- renamed "oracle8" connection plugin to "oracle"
- renamed "sybase" connection plugin to "sap"
- updated identity tests in api's/cmdline clients to use
  charstring::contains() rather than !charstring::compare()
- implemented missing destructors for ADO.NET Data Provider

sqlrelay 0.62
- added query filter plugin framework
- added regex, string and pattern filters
- added normalization translation
- added reformatdatetime result set translation
- fixed error in sqlrconfigfile class that could cause sqlr-start to crash
  if one instance defines addresses but the next doesn't
- added query status flag to sqlrservercursor
- tweaked odbc driver's SQLGetTypeInfo()
- field name is passed into runResultSetTranslations() now
- added support for maxitembuffersize, maxselectlistsize, and maxbindcount
  for firebird
- added native api for node.js
- added recognition of bigint, ubigint and uniqueidentifier fields
  in freetds/sybase
- added nullsasnulls command to sqlrsh
- added workaround for freetds empty (but non-null) text fields not getting
  properly converted to null-terminated empty strings
- fetchatonce, maxitembuffersize and maxselectlistsize are set to defaulting
  values if invalid values are given for them
- added lazyconnect option to PHP PDO and Perl DBI drivers (defaults to 1)
- direct Transact SQL which returns a result set is now supported
  with Sybase/SAP/MSSQLServer/FreeTDS
- added docs for authentication, query translation, query filter and
  result set translation modules
- added -fPIC to sqlrserver-config --cflags, if supported
- the "default" auth module is now called "userlist"
- added database auth module that is analagous to authtier="database"
- replaced passwordencryption attribute with passwordencryptionid
- added --disable-postgresql8-api configure option
- tweaked -Werror detection in configure script
- refactored sqlr-bench build to work on windows
- documentation, examples and tests are now covered by a license
- reflecting modern interpretation of the GPL, The license for
  The SQLRelay Server (as designated in COPYING) license now carries
  an exception, explicitly allowing it to be linked with various non-GPL
  compatible libraries
- license is installed now

sqlrelay 0.61 skipped

sqlrelay 0.60
- fixed true->false transposition in sqlrservercontroller::interceptQuery
  that could lead to a reLogIn loop
- disabled -Werror for gcc < 2.7
- applied George Carrette's patch to fix PDO connectstring options
- migrated directory/file paths info into sqlrpaths class
- removed undocumented and not-so-relevent-these-days
  MAX_CONNECTIONS/overridemaxconnections failsafe in sqlr-start
- fixed java header detection for javac located in /usr/bin
- updated java api to support non-null-tolerant implementations
  of environment::NewStringUTF()
- the perl api builds correctly on OSR5 again
- the postgresql sslmode is omitted entirely from the connect string now,
  if it's disabled, to prevent problems with older versions of postgresql
  that don't support the parameter at all
- mono 2.8 or greater is required now
- added a datedelimiters attribute to the instance tag in sqlrelay.conf
  to limit what date delimiters are used when translating dates
- re-added mssqlserver detection, which had been accidentally removed
- fixed statically-linked build
- fixed mysql lob field bug that could cause a crash

$NetBSD: patch-src_api_ruby_getcflags.rb,v 1.2 2015/09/02 12:39:33 fhajny Exp $

* Fix Ruby 2.2 build.

--- src/api/ruby/getcflags.rb.orig	2015-08-15 01:50:31.000000000 +0000
+++ src/api/ruby/getcflags.rb
@@ -10,7 +10,7 @@ print CONFIG["sitearch"]
 print "\n"
 print "ruby_version = "
 begin
-print Config::CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
 rescue
 print CONFIG["ruby_version"]
 end

CVSweb <webmaster@jp.NetBSD.org>