From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8927E1F4B4 for ; Tue, 20 Apr 2021 19:02:06 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] CentOS 7 fixes Date: Wed, 21 Apr 2021 00:02:04 +0500 Message-Id: <20210420190206.24183-1-e@80x24.org> In-Reply-To: <20210420174912.h6d2yv7zu5xr4yfc@nitro.local> References: <20210420174912.h6d2yv7zu5xr4yfc@nitro.local> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Konstantin Ryabitsev wrote: > t/admin.t .................... Warning: Use of "ref" without parentheses is ambiguous at /usr/local/share/public-inbox/blib/lib/PublicInbox/TestCommon.pm line 28. > Use of ?PATTERN? without explicit operator is deprecated at /usr/local/share/public-inbox/blib/lib/PublicInbox/TestCommon.pm line 28. > Global symbol "$path" requires explicit package name at /usr/local/share/public-inbox/blib/lib/PublicInbox/TestCommon.pm line 28. > Global symbol "$cb" requires explicit package name at /usr/local/share/public-inbox/blib/lib/PublicInbox/TestCommon.pm line 28. > > Backing up to 64b1ce9f94127fc144d6205bb572fe43b4b552c2 makes tests pass. Oops, 1/2 should fix it. Thanks for the report. I also noticed lei was totally broken once I tried a more recent git. Eric Wong (2): test_common: fix xbail for Perl 5.16 lei_query: avoid POSIX::lround for older Perls lib/PublicInbox/LeiQuery.pm | 6 ++---- lib/PublicInbox/TestCommon.pm | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-)