Date: Sat, 20 Aug 2011 14:22:29 -0400 (EDT) From: Steve Wills <swills@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: knu@FreeBSD.org Subject: ports/159942: [PATCH] sysutils/libchk: ruby 1.9 compatibility Message-ID: <201108201822.p7KIMTE3001330@meatwad.mouf.net> Resent-Message-ID: <201108201830.p7KIU90Y063625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159942 >Category: ports >Synopsis: [PATCH] sysutils/libchk: ruby 1.9 compatibility >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 20 18:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: FreeBSD 9.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD meatwad.mouf.net 9.0-BETA1 FreeBSD 9.0-BETA1 #7: Sat Aug 13 12:18:10 EDT 2011 >Description: Port doesn't work with ruby 1.9. Added file(s): - files/patch-ruby19 Port maintainer (knu@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: install ruby 1.9, try to use this port >Fix: see attached patch --- libchk-1.10.1.patch begins here --- Index: files/patch-ruby19 =================================================================== RCS file: files/patch-ruby19 diff -N files/patch-ruby19 --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-ruby19 20 Aug 2011 18:21:24 -0000 @@ -0,0 +1,34 @@ +--- libchk.rb.orig 2011-08-20 13:48:29.000000000 +0000 ++++ libchk.rb 2011-08-20 14:07:16.000000000 +0000 +@@ -93,11 +93,11 @@ + } + + opts.def_option("-s", "--strict", "Perform stricter checks") { +- |$strict| ++ $strict = true + } + + opts.def_option("-v", "--verbose", "Make a detailed report") { +- |$detailed| ++ $detailed = true + } + + opts.def_option("-x", "--exclude=DIR", "Exclude the given directory") { +@@ -231,7 +231,7 @@ + + libtable = {} + +- `#{LDCONFIG_CMD} -r`.each { |line| ++ `#{LDCONFIG_CMD} -r`.each_line { |line| + line.strip! + + case line +@@ -319,7 +319,7 @@ + dep = [] + rpath = [] + +- `#{OBJDUMP_CMD} -p #{file.shellescape} 2>/dev/null`.each { |line| ++ `#{OBJDUMP_CMD} -p #{file.shellescape} 2>/dev/null`.each_line { |line| + line.strip! + + case line --- libchk-1.10.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108201822.p7KIMTE3001330>