[DRE-commits] [ruby-odbc] 03/05: added patch to enable extconf option

Jonas Genannt jonas at brachium-system.net
Wed Dec 18 20:03:51 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 ce5121ac74fa55d118eefa68039f69fa16afd155
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Wed Dec 18 20:52:50 2013 +0100

    added patch to enable extconf option
---
 debian/patches/ext_enable_dlopen.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/ext_enable_dlopen.patch b/debian/patches/ext_enable_dlopen.patch
new file mode 100644
index 0000000..4737b2e
--- /dev/null
+++ b/debian/patches/ext_enable_dlopen.patch
@@ -0,0 +1,26 @@
+Description: enable "--enable-dlopen"
+Author: Jonas Genannt <jonas.genannt at capi2name.de>
+Forwarded: not-needed
+
+--- a/ext/extconf.rb
++++ b/ext/extconf.rb
+@@ -28,7 +28,7 @@
+   puts "ERROR: sqlext.h not found"
+   exit 1
+ end
+-testdlopen = enable_config("dlopen", false)
++testdlopen = true
+ begin
+   if PLATFORM !~ /(mingw|cygwin)/ then
+     header = "sqltypes.h"
+--- a/ext/utf8/extconf.rb
++++ b/ext/utf8/extconf.rb
+@@ -48,7 +48,7 @@
+   puts "ERROR: sqlext.h not found"
+   exit 1
+ end
+-testdlopen = enable_config("dlopen", false)
++testdlopen = true
+ begin
+   if PLATFORM !~ /(mingw|cygwin)/ then
+     header = "sqltypes.h"
diff --git a/debian/patches/series b/debian/patches/series
index 58be13a..dd249c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+ext_enable_dlopen.patch
 001extconf_dlopen.patch

-- 
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