[DRE-commits] [ruby-shadow] 05/06: Refresh 'dont-overwrite-compiler-flags' patch

David Suárez deiv-guest at moszumanska.debian.org
Sun May 4 14:03:47 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 0a189730a5640295b14d09457833ee7c2388ae5f
Author: David Suárez <david.sephirot at gmail.com>
Date:   Sun May 4 15:40:33 2014 +0200

    Refresh 'dont-overwrite-compiler-flags' patch
---
 debian/patches/dont-overwrite-compiler-flags | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/debian/patches/dont-overwrite-compiler-flags b/debian/patches/dont-overwrite-compiler-flags
index fa1769e..9cea0d9 100644
--- a/debian/patches/dont-overwrite-compiler-flags
+++ b/debian/patches/dont-overwrite-compiler-flags
@@ -5,11 +5,11 @@ Author: Cédric Boutillier <boutil at debian.org>
 Author: David Suárez <david.sephirot at gmail.com>
 Last-Update: 2013-10-26
 
---- ruby-shadow-2.2.0.orig/extconf.rb
-+++ ruby-shadow-2.2.0/extconf.rb
-@@ -6,16 +6,16 @@
- 
+--- a/extconf.rb
++++ b/extconf.rb
+@@ -7,9 +7,9 @@
  require 'mkmf'
+ require 'rbconfig'
  
 -$CFLAGS = case RUBY_VERSION
 -          when /^1\.9/; '-DRUBY19'
@@ -20,11 +20,12 @@ Last-Update: 2013-10-26
            else; ''
            end
  
- #$LDFLAGS = "-lshadow"
+@@ -29,7 +29,7 @@ when 'shadow'
+   #$LDFLAGS = "-lshadow"
  
- if( ! (ok = have_library("shadow","getspent")) )
--  $LDFLAGS = ""
-+  #$LDFLAGS = ""
-   ok = have_func("getspent")
- end
+   if( ! (ok &= have_library("shadow","getspent")) )
+-    $LDFLAGS = ""
++    #$LDFLAGS = ""
+     ok = have_func("getspent")
+   end
  

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