ports/159942: [PATCH] sysutils/libchk: ruby 1.9 compatibility
Steve Wills
swills at FreeBSD.org
Sat Aug 20 18:30:13 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list