summaryrefslogtreecommitdiff
path: root/editors/nvi-perl/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nvi-perl/files')
-rw-r--r--editors/nvi-perl/files/patch-configure11
-rw-r--r--editors/nvi-perl/files/patch-perl.xs17
-rw-r--r--editors/nvi-perl/files/patch-perlsfio.c17
3 files changed, 45 insertions, 0 deletions
diff --git a/editors/nvi-perl/files/patch-configure b/editors/nvi-perl/files/patch-configure
new file mode 100644
index 000000000000..2110039f50d1
--- /dev/null
+++ b/editors/nvi-perl/files/patch-configure
@@ -0,0 +1,11 @@
+--- build/configure.orig Thu Apr 3 00:25:44 2003
++++ build/configure Thu Apr 3 00:26:00 2003
+@@ -979,7 +979,7 @@ if test "$vi_cv_path_sendmail" = no; the
+ fi
+
+
+-for ac_prog in perl5 perl
++for ac_prog in perl perl5
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
diff --git a/editors/nvi-perl/files/patch-perl.xs b/editors/nvi-perl/files/patch-perl.xs
new file mode 100644
index 000000000000..c18e6c8c0dcd
--- /dev/null
+++ b/editors/nvi-perl/files/patch-perl.xs
@@ -0,0 +1,17 @@
+--- perl_api/perl.xs.orig Thu Apr 3 00:34:52 2003
++++ perl_api/perl.xs Thu Apr 3 00:35:05 2003
+@@ -31,11 +31,12 @@ static const char sccsid[] = "@(#)perl.x
+ #include <termios.h>
+ #include <unistd.h>
+
+-#include "../common/common.h"
+-
+ #include <EXTERN.h>
+ #include <perl.h>
+ #include <XSUB.h>
++
++#undef ARGS
++#include "../common/common.h"
+
+ #include "perl_extern.h"
+
diff --git a/editors/nvi-perl/files/patch-perlsfio.c b/editors/nvi-perl/files/patch-perlsfio.c
new file mode 100644
index 000000000000..549ec3a114df
--- /dev/null
+++ b/editors/nvi-perl/files/patch-perlsfio.c
@@ -0,0 +1,17 @@
+--- perl_api/perlsfio.c.orig Thu Apr 3 00:41:06 2003
++++ perl_api/perlsfio.c Thu Apr 3 00:41:23 2003
+@@ -27,11 +27,12 @@ static const char sccsid[] = "@(#)perlsf
+ #include <termios.h>
+ #include <unistd.h>
+
+-#include "../common/common.h"
+-
+ #include <EXTERN.h>
+ #include <perl.h>
+ #include <XSUB.h>
++
++#undef ARGS
++#include "../common/common.h"
+
+ #include "perl_extern.h"
+