diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2003-04-04 22:10:59 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2003-04-04 22:10:59 +0000 |
commit | b0c8ec32c36364c9c3be0fbeab9c0fe63f86d520 (patch) | |
tree | 2ed17a72f65be89b286b907e5939cd189be09f4b /editors/nvi-perl/files/patch-perl.xs | |
parent | [Forced commit] (diff) |
Make nvi-perl work with newer perls. Unbreak it for -CURRENT.
PR: 37730
Reported by: parv <parv_fm@emailgroups.net>
Notes
Notes:
svn path=/head/; revision=78224
Diffstat (limited to 'editors/nvi-perl/files/patch-perl.xs')
-rw-r--r-- | editors/nvi-perl/files/patch-perl.xs | 17 |
1 files changed, 17 insertions, 0 deletions
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" + |