[DRE-commits] [ruby-odbc] 04/09: refreshed patch 001exitconf_dlopen

Jonas Genannt jonas at brachium-system.net
Mon Dec 16 19:38:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

hggh-guest pushed a commit to branch master
in repository ruby-odbc.

commit d676c2ec5141fcabc60e533c5bca2eebe8558a21
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Mon Dec 16 20:16:01 2013 +0100

    refreshed patch 001exitconf_dlopen
---
 debian/patches/001extconf_dlopen.patch | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/debian/patches/001extconf_dlopen.patch b/debian/patches/001extconf_dlopen.patch
index aa322d5..0c50696 100644
--- a/debian/patches/001extconf_dlopen.patch
+++ b/debian/patches/001extconf_dlopen.patch
@@ -1,7 +1,5 @@
-Index: libodbc-ruby-0.99991/ext/extconf.rb
-===================================================================
---- libodbc-ruby-0.99991.orig/ext/extconf.rb	2010-05-04 07:56:43.000000000 +0000
-+++ libodbc-ruby-0.99991/ext/extconf.rb	2010-05-04 07:57:19.000000000 +0000
+--- a/ext/extconf.rb
++++ b/ext/extconf.rb
 @@ -93,7 +93,7 @@
    have_library("odbc32", "")
    have_library("odbccp32", "")
@@ -11,14 +9,12 @@ Index: libodbc-ruby-0.99991/ext/extconf.rb
    $LDFLAGS+=" -Wl,-init -Wl,ruby_odbc_init -Wl,-fini -Wl,ruby_odbc_fini"
    $CPPFLAGS+=" -DHAVE_SQLCONFIGDATASOURCE"
    $CPPFLAGS+=" -DHAVE_SQLINSTALLERERROR"
-Index: libodbc-ruby-0.99991/ext/utf8/extconf.rb
-===================================================================
---- libodbc-ruby-0.99991.orig/ext/utf8/extconf.rb	2010-05-04 07:57:31.000000000 +0000
-+++ libodbc-ruby-0.99991/ext/utf8/extconf.rb	2010-05-04 07:57:41.000000000 +0000
+--- a/ext/utf8/extconf.rb
++++ b/ext/utf8/extconf.rb
 @@ -122,7 +122,7 @@
-   have_func("SQLReadFileDSNW", "odbcinst.h")
-   have_func("SQLInstallerError", "odbcinst.h")
-   have_func("SQLInstallerErrorW", "odbcinst.h")
+   have_func("SQLReadFileDSNW", header)
+   have_func("SQLInstallerError", header)
+   have_func("SQLInstallerErrorW", header)
 -elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && CONFIG["CC"] =~ /gcc/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then
 +elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then
    $LDFLAGS+=" -Wl,-init -Wl,ruby_odbc_init -Wl,-fini -Wl,ruby_odbc_fini"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-odbc.git



More information about the Pkg-ruby-extras-commits mailing list