From patchwork Sun Sep 13 12:56:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 517172 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 78C071400A0 for ; Sun, 13 Sep 2015 22:56:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=yTNGRWcE; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C7CCF8B982; Sun, 13 Sep 2015 12:56:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SileMNKxFfJu; Sun, 13 Sep 2015 12:56:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 08AB78BCC8; Sun, 13 Sep 2015 12:56:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 43A1B1C1557 for ; Sun, 13 Sep 2015 12:56:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3E2CE8BACA for ; Sun, 13 Sep 2015 12:56:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rvSH4HRKJWwV for ; Sun, 13 Sep 2015 12:56:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 49A3E8B982 for ; Sun, 13 Sep 2015 12:56:38 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so110187856wic.0 for ; Sun, 13 Sep 2015 05:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=BZpVKgZQQmgK/4/mNpPQfzViiraTbBap/4+Z5EVZN18=; b=yTNGRWcEtNvy2Yiwy1/ffMZfPecY9U6+r0sDCkz166HQwiZ96NkErygUM2nnIHp5dd gmE/Yj3Og2cy9jAx5HyDgBK2t8GXfautp8e39IBhd8DTUWZOqwFaV+HaTgSHMDeQVe5/ Etil1gYyxeTl3jxW5KE9+fOkE+N1X8Pr35M2gCnqyAGdxDVSKEo8eP9pg9NCC8eU2UyH rFxw/1Rd5+RCCysj1iiktcqYBvrliYjrko6TjGFsMMpilSIP/zyacGLkwSqwUHSPZH4t AGY+Q18GPWpDyMrpmvyx6HI6Ut147gs0t9wt6SeDLNtVCNsUC3ci1EcqVCRV7qrTCnUU Vo1A== X-Received: by 10.194.9.42 with SMTP id w10mr16814054wja.146.1442148996786; Sun, 13 Sep 2015 05:56:36 -0700 (PDT) Received: from localhost.localdomain (39.176.132.77.rev.sfr.net. [77.132.176.39]) by smtp.gmail.com with ESMTPSA id cm6sm8994725wib.22.2015.09.13.05.56.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Sep 2015 05:56:36 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Sun, 13 Sep 2015 14:56:28 +0200 Message-Id: <1442148988-8900-1-git-send-email-francois.perrad@gadz.org> X-Mailer: git-send-email 2.1.4 Subject: [Buildroot] [V2] perl: fix static build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/ Signed-off-by: Francois Perrad --- package/perl/0001-fix-EUMM.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/perl/0001-fix-EUMM.patch diff --git a/package/perl/0001-fix-EUMM.patch b/package/perl/0001-fix-EUMM.patch new file mode 100644 index 0000000..e2b24ff --- /dev/null +++ b/package/perl/0001-fix-EUMM.patch @@ -0,0 +1,18 @@ +fix EUMM 7.04_01 which comes with Perl 5.22.0 + +with static lib build, we cannot call _find_magic_vstring(), +which does a `require B;` and B is not a pure Perl module. + +Signed-off-by: Francois Perrad + +--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm ++++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm +@@ -933,7 +933,7 @@ sub _un_vstring { + if ( length($value) >= 3 && $value !~ /[._]/ + && _is_non_alphanumeric($value)) { + my $tvalue; +- if ( $] ge 5.008_001 ) { ++ if ( $Config{usedl} && ( $] ge 5.008_001 ) ) { + $tvalue = _find_magic_vstring($value); + $value = $tvalue if length $tvalue; + }