pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/vile/patches vile: add missing patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40f4c532de48
branches:  trunk
changeset: 381396:40f4c532de48
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 06 09:18:24 2022 +0000

description:
vile: add missing patch

diffstat:

 editors/vile/patches/patch-perl.xs |  38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diffs (42 lines):

diff -r 7329b47c0409 -r 40f4c532de48 editors/vile/patches/patch-perl.xs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/vile/patches/patch-perl.xs        Wed Jul 06 09:18:24 2022 +0000
@@ -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 <EXTERN.h>
+ #include <perl.h>
+ #include <XSUB.h>
+ #undef main
+-#undef regexp
+ #undef dofile
+ 
+ #ifdef __GNUC__



Home | Main Index | Thread Index | Old Index