From steve@mouf.net  Sat Aug 20 18:22:37 2011
Return-Path: <steve@mouf.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 05593106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Aug 2011 18:22:37 +0000 (UTC)
	(envelope-from steve@mouf.net)
Received: from mouf.net (mouf.net [204.109.58.86])
	by mx1.freebsd.org (Postfix) with ESMTP id 9BBBC8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Aug 2011 18:22:35 +0000 (UTC)
Received: from meatwad.mouf.net (cpe-065-190-149-241.nc.res.rr.com [65.190.149.241])
	by mouf.net (8.14.4/8.14.4) with ESMTP id p7KIMTRT017007
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Sat, 20 Aug 2011 14:22:30 -0400 (EDT)
	(envelope-from steve@meatwad.mouf.net)
Received: (from steve@localhost)
	by meatwad.mouf.net (8.14.5/8.14.5/Submit) id p7KIMTE3001330;
	Sat, 20 Aug 2011 14:22:29 -0400 (EDT)
	(envelope-from steve)
Message-Id: <201108201822.p7KIMTE3001330@meatwad.mouf.net>
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: [PATCH] sysutils/libchk: ruby 1.9 compatibility
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         159942
>Category:       ports
>Synopsis:       [PATCH] sysutils/libchk: ruby 1.9 compatibility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 20 18:30:09 UTC 2011
>Closed-Date:    Mon Aug 22 04:14:44 JST 2011
>Last-Modified:  Sun Aug 21 19:20:09 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->knu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Aug 20 18:30:28 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159942 
State-Changed-From-To: open->closed 
State-Changed-By: knu 
State-Changed-When: Mon Aug 22 04:14:22 JST 2011 
State-Changed-Why:  
Port updated, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159942 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159942: commit references a PR
Date: Sun, 21 Aug 2011 19:14:24 +0000 (UTC)

 knu         2011-08-21 19:14:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/libchk      Makefile distinfo 
   Log:
   Update to 1.10.2 which should support Ruby 1.9.
   
   PR:             ports/159942
   Submitted by:   swills
   
   Revision  Changes    Path
   1.14      +3 -1      ports/sysutils/libchk/Makefile
   1.9       +2 -2      ports/sysutils/libchk/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
