Received: by mail.netbsd.org (Postfix, from userid 605) id 473EE84D5E; Wed, 6 Jul 2022 09:18:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 80C9484D4A for ; Wed, 6 Jul 2022 09:18:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ocvIxqfcqGFM for ; Wed, 6 Jul 2022 09:18:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CBED984CD9 for ; Wed, 6 Jul 2022 09:18:24 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C5229FB1A; Wed, 6 Jul 2022 09:18:24 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_165709910465380" MIME-Version: 1.0 Date: Wed, 6 Jul 2022 09:18:24 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/editors/vile/patches To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20220706091824.C5229FB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_165709910465380 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Wed Jul 6 09:18:24 UTC 2022 Added Files: pkgsrc/editors/vile/patches: patch-perl.xs Log Message: vile: add missing patch To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/editors/vile/patches/patch-perl.xs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_165709910465380 Content-Disposition: inline Content-Length: 1212 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/editors/vile/patches/patch-perl.xs diff -u /dev/null pkgsrc/editors/vile/patches/patch-perl.xs:1.1 --- /dev/null Wed Jul 6 09:18:24 2022 +++ pkgsrc/editors/vile/patches/patch-perl.xs Wed Jul 6 09:18:24 2022 @@ -0,0 +1,38 @@ +$NetBSD: patch-perl.xs,v 1.1 2022/07/06 09:18:24 wiz Exp $ + +Fix build with perl 5.36 from author Thomas E. Dickey via +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014289 + +--- perl.xs.orig 2021-12-07 01:40:25.000000000 +0000 ++++ perl.xs +@@ -21,7 +21,6 @@ + */ + #ifdef __GNUC__ + #pragma GCC diagnostic ignored "-Wcast-qual" +-#pragma GCC diagnostic ignored "-Wcompound-token-split-by-macro" + #pragma GCC diagnostic ignored "-Wconversion" + #pragma GCC diagnostic ignored "-Wnested-externs" + #pragma GCC diagnostic ignored "-Wshadow" +@@ -119,20 +118,20 @@ + + /* for vile */ + #define MARK vile_MARK ++#define regexp vile_regexp + #include "estruct.h" + #include "edef.h" + #include "api.h" ++#undef regexp + #undef MARK + #undef ABORT + + /* for perl */ + #define main perl_main +-#define regexp perl_regexp + #include + #include + #include + #undef main +-#undef regexp + #undef dofile + + #ifdef __GNUC__ --_----------=_165709910465380--