summaryrefslogtreecommitdiff
path: root/app-editors/nvi/files/nvi-1.81.6-perl-shortnames.patch
blob: 3567646688e78bebcffd58f339b8fa2c977b7494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/perl_api/perlsfio.c
+++ b/perl_api/perlsfio.c
@@ -32,6 +32,7 @@
 /* perl redefines them
  * avoid warnings
  */
+#undef re_compile
 #undef USE_DYNAMIC_LOADING
 #undef DEBUG
 #undef PACKAGE
--- a/perl_api/perl.xs
+++ b/perl_api/perl.xs
@@ -38,6 +38,7 @@
 /* perl redefines them
  * avoid warnings
  */
+#undef re_compile
 #undef USE_DYNAMIC_LOADING
 #undef DEBUG
 #undef PACKAGE