[DRE-commits] r5207 - trunk/libodbc-ruby/debian/patches
Deepak Tripathi
deepak-guest at alioth.debian.org
Tue May 4 09:53:31 UTC 2010
Author: deepak-guest
Date: 2010-05-04 09:53:31 +0000 (Tue, 04 May 2010)
New Revision: 5207
Added:
trunk/libodbc-ruby/debian/patches/001extconf_dlopen.patch
trunk/libodbc-ruby/debian/patches/series
Log:
Added quilt patches removed dpatch. change to 3.0 quilt. old patch will not work bcz upstream has change the directory structure
Added: trunk/libodbc-ruby/debian/patches/001extconf_dlopen.patch
===================================================================
--- trunk/libodbc-ruby/debian/patches/001extconf_dlopen.patch (rev 0)
+++ trunk/libodbc-ruby/debian/patches/001extconf_dlopen.patch 2010-05-04 09:53:31 UTC (rev 5207)
@@ -0,0 +1,26 @@
+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
+@@ -93,7 +93,7 @@
+ have_library("odbc32", "")
+ have_library("odbccp32", "")
+ have_library("user32", "")
+-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"
+ $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
+@@ -122,7 +122,7 @@
+ have_func("SQLReadFileDSNW", "odbcinst.h")
+ have_func("SQLInstallerError", "odbcinst.h")
+ have_func("SQLInstallerErrorW", "odbcinst.h")
+-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"
+ $CPPFLAGS+=" -DHAVE_SQLCONFIGDATASOURCE"
+ $CPPFLAGS+=" -DHAVE_SQLINSTALLERERROR"
Added: trunk/libodbc-ruby/debian/patches/series
===================================================================
--- trunk/libodbc-ruby/debian/patches/series (rev 0)
+++ trunk/libodbc-ruby/debian/patches/series 2010-05-04 09:53:31 UTC (rev 5207)
@@ -0,0 +1 @@
+001extconf_dlopen.patch
More information about the Pkg-ruby-extras-commits
mailing list