From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 14 19:40:14 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48E6D16A41C for ; Thu, 14 Jul 2005 19:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14EB743D48 for ; Thu, 14 Jul 2005 19:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6EJeDc3059252 for ; Thu, 14 Jul 2005 19:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6EJeDS3059251; Thu, 14 Jul 2005 19:40:13 GMT (envelope-from gnats) Date: Thu, 14 Jul 2005 19:40:13 GMT Message-Id: <200507141940.j6EJeDS3059251@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jim Pirzyk Cc: Subject: Re: ports/83395: Update port: devel/p5-Config-Objective X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jim Pirzyk List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 19:40:14 -0000 The following reply was made to PR ports/83395; it has been noted by GNATS. From: Jim Pirzyk To: pirzyk@freebsd.org, bug-followup@freebsd.org Cc: Subject: Re: ports/83395: Update port: devel/p5-Config-Objective Date: Thu, 14 Jul 2005 14:32:40 -0500 --Apple-Mail-2--819043631 Content-Type: multipart/mixed; boundary=Apple-Mail-1--819043652 --Apple-Mail-1--819043652 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="p5-Config-Objective.patch" Content-Disposition: attachment; filename=p5-Config-Objective.patch diff -Nru ./devel/p5-Config-Objective/Makefile.orig ./devel/p5-Config-Objective/Makefile --- Makefile.orig Sat Aug 21 08:08:22 2004 +++ Makefile Wed Jul 13 10:10:07 2005 @@ -7,6 +7,7 @@ PORTNAME= Config-Objective PORTVERSION= 0.9.1 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Config @@ -21,7 +22,6 @@ PERL_CONFIGURE= YES -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Config::Objective::List.3 Config::Objective::Boolean.3 \ Config::Objective::Table.3 Config::Objective.3 \ Config::Objective::Hash.3 Config::Objective::Integer.3 \ diff -Nru ./devel/p5-Config-Objective/files/patch-lib-Config-Objective.pm.orig ./devel/p5-Config-Objective/files/patch-lib-Config-Objective.pm --- files/patch-lib-Config-Objective.pm.orig Thu Jul 14 13:13:40 2005 +++ files/patch-lib-Config-Objective.pm Wed Jul 13 10:07:19 2005 @@ -0,0 +1,33 @@ +--- ./lib/Config/Objective.pm.sav Wed Apr 6 19:24:00 2005 ++++ ./lib/Config/Objective.pm Wed Apr 6 19:31:48 2005 +@@ -91,17 +91,21 @@ + $method = 'default' + if (!defined($method)); + +- $retval = eval { $self->{'objs'}->{$obj}->$method(@args); }; +- if ($@) ++ # ++ # Trap and extend die and warn so we can tell the user where ++ # we were when the signals were generated. ++ # ++ if (@{$self->{'lexer_stack'}}) + { +- if (@{$self->{'lexer_stack'}}) +- { +- $line = $self->{'lexer_stack'}->[-1]->line; +- $msg = "$self->{'file_stack'}->[-1]:$line: "; +- } +- $msg .= "$obj"; +- die "$msg: $@"; ++ $line = $self->{'lexer_stack'}->[-1]->line; ++ $msg = "$self->{'file_stack'}->[-1]: line $line: "; + } ++ $msg .= $obj; ++ ++ local $SIG{__DIE__} = sub { die "$msg: $_[0]"; }; ++ local $SIG{__WARN__} = sub { warn "$msg: $_[0]"; }; ++ ++ $retval = $self->{'objs'}->{$obj}->$method(@args); + + # print "<== _call_obj_method(): returning '" + # . (defined($retval) ? $retval : 'undef') . "'\n"; --Apple-Mail-1--819043652 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $ __o pirzyk@uiuc.edu --------------------------- jim@pirzyk.org _'\<,_ Systems Management Group, CITES (*)/ (*) University of Illinois at Urbana-Champaign --Apple-Mail-1--819043652-- --Apple-Mail-2--819043631 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFC1r3d2EYx0U4j2soRAvcBAJ9TMa909RwhNAXTHPNG++z2dsQO7ACbBhrS 98lfaWwRPrxA05IMCoq/Yok= =rSDN -----END PGP SIGNATURE----- --Apple-Mail-2--819043631--