[DRE-commits] [ruby-shadow] 01/01: Add patch 'use-shadow-implementation-on-gnu-archs'

David Suárez deiv-guest at moszumanska.debian.org
Sun Jun 1 11:48:12 UTC 2014


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

deiv-guest pushed a commit to branch master
in repository ruby-shadow.

commit be12dcdbb747a17b930892d6fb4556cbafe01c8f
Author: David Suárez <david.sephirot at gmail.com>
Date:   Sun Jun 1 13:44:06 2014 +0200

    Add patch 'use-shadow-implementation-on-gnu-archs'
---
 debian/patches/series                                 |  2 +-
 debian/patches/use-shadow-implementation-on-gnu-archs | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/patches/series b/debian/patches/series
index d7074aa..80736f7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,3 @@
 010_fix_license
 dont-overwrite-compiler-flags
-
+use-shadow-implementation-on-gnu-archs
diff --git a/debian/patches/use-shadow-implementation-on-gnu-archs b/debian/patches/use-shadow-implementation-on-gnu-archs
new file mode 100644
index 0000000..58b35f0
--- /dev/null
+++ b/debian/patches/use-shadow-implementation-on-gnu-archs
@@ -0,0 +1,19 @@
+Description: use the shadow implementation on gnu systems
+ Let extconf knows that it can use the shadow functions, just like on Linux,
+ on Debian archs like kFreeBSD and Hurd.
+
+Bug-Debian: http://bugs.debian.org/749904
+Reviewed-By: David Suárez <david.sephirot at gmail.com>
+Author: Samuel Thibault <sthibault at debian.org>
+Last-Update: 2014-06-01
+
+--- ruby-shadow-2.3.4.orig/extconf.rb
++++ ruby-shadow-2.3.4/extconf.rb
+@@ -15,6 +15,7 @@ $CFLAGS += case RUBY_VERSION
+ 
+ implementation = case CONFIG['host_os']
+                  when /linux/i; 'shadow'
++                 when /gnu/i; 'shadow' # Debian GNU/kFreeBSD and Hurd have shadow.h
+                  when /sunos|solaris/i; 'shadow'
+                  when /freebsd|mirbsd|netbsd|openbsd/i; 'pwd'
+                  when /darwin/i; 'pwd'

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



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