[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Remove/add ppport.h includes based on perl ppport
From: |
Patrice Dumas |
Subject: |
branch master updated: Remove/add ppport.h includes based on perl ppport.h output |
Date: |
Fri, 23 Feb 2024 17:09:37 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 94d13a3a96 Remove/add ppport.h includes based on perl ppport.h output
94d13a3a96 is described below
commit 94d13a3a96b3df30dcfbdaccb3dc31253fc24fde
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Feb 23 23:09:33 2024 +0100
Remove/add ppport.h includes based on perl ppport.h output
* README-hacking: add instructions on calling ppport.h.
---
ChangeLog | 6 ++++++
README-hacking | 2 ++
tp/Texinfo/XS/MiscXS.xs | 2 --
tp/Texinfo/XS/TestXS.xs | 2 --
tp/Texinfo/XS/XSParagraph.xs | 2 --
tp/Texinfo/XS/convert/ConvertXS.xs | 2 --
tp/Texinfo/XS/convert/get_html_perl_info.c | 2 ++
tp/Texinfo/XS/main/DocumentXS.xs | 2 --
tp/Texinfo/XS/main/IndicesXS.xs | 2 --
tp/Texinfo/XS/main/api_to_perl.c | 1 +
tp/Texinfo/XS/main/get_perl_info.c | 2 ++
tp/Texinfo/XS/misc.c | 2 --
tp/Texinfo/XS/parsetexi/Parsetexi.xs | 2 --
tp/Texinfo/XS/structuring_transfo/StructuringTransfoXS.xs | 2 --
tp/Texinfo/XS/xspara.c | 2 --
15 files changed, 13 insertions(+), 20 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1942db4cee..52d75b10fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-23 Patrice Dumas <pertusus@free.fr>
+
+ Remove/add ppport.h includes based on perl ppport.h output
+
+ * README-hacking: add instructions on calling ppport.h.
+
2024-02-23 Patrice Dumas <pertusus@free.fr>
update ppport.h
diff --git a/README-hacking b/README-hacking
index 5025342687..0b040da60c 100644
--- a/README-hacking
+++ b/README-hacking
@@ -309,6 +309,8 @@ Use util/srclist-txi for checking files to be copied from
gnulib
Update ppport.h in tp/Texinfo/XS:
perl -MDevel::PPPort -e'Devel::PPPort::WriteFile'
+Check if changes should be made for ppport.h:
+ perl ppport.h --compat-version=5.8.1 *.xs misc.c xspara.c miscxs.h xspara.h
*/*.xs main/get_perl_info.* main/build_perl_info.* main/api_to_perl.*
convert/call_html_perl_function.* convert/build_html_perl_state.*
convert/get_html_perl_info.*
make po-check # update po/POTFILES.in as needed
make po_document-check # update po_document/POTFILES.in as needed
diff --git a/tp/Texinfo/XS/MiscXS.xs b/tp/Texinfo/XS/MiscXS.xs
index 518251c89d..0916c6b79f 100644
--- a/tp/Texinfo/XS/MiscXS.xs
+++ b/tp/Texinfo/XS/MiscXS.xs
@@ -25,8 +25,6 @@
#endif
#include "XSUB.h"
-#include "ppport.h"
-
#include "miscxs.h"
MODULE = Texinfo::MiscXS PACKAGE = Texinfo::MiscXS PREFIX = xs_
diff --git a/tp/Texinfo/XS/TestXS.xs b/tp/Texinfo/XS/TestXS.xs
index 56c4ae55db..47199ad2d5 100644
--- a/tp/Texinfo/XS/TestXS.xs
+++ b/tp/Texinfo/XS/TestXS.xs
@@ -5,8 +5,6 @@
#include "perl.h"
#include "XSUB.h"
-#include "ppport.h"
-
MODULE = TestXS PACKAGE = TestXS PREFIX = xspara_
diff --git a/tp/Texinfo/XS/XSParagraph.xs b/tp/Texinfo/XS/XSParagraph.xs
index 0832f1ad17..ae77df7506 100644
--- a/tp/Texinfo/XS/XSParagraph.xs
+++ b/tp/Texinfo/XS/XSParagraph.xs
@@ -27,8 +27,6 @@
#endif
#include "XSUB.h"
-#include "ppport.h"
-
#include "xspara.h"
MODULE = Texinfo::Convert::Paragraph PACKAGE = Texinfo::Convert::Paragraph
PREFIX = xspara_
diff --git a/tp/Texinfo/XS/convert/ConvertXS.xs
b/tp/Texinfo/XS/convert/ConvertXS.xs
index 93a7291e79..d0643b5abd 100644
--- a/tp/Texinfo/XS/convert/ConvertXS.xs
+++ b/tp/Texinfo/XS/convert/ConvertXS.xs
@@ -30,8 +30,6 @@
#undef context
-#include "ppport.h"
-
#include "command_ids.h"
#include "element_types.h"
#include "converter_types.h"
diff --git a/tp/Texinfo/XS/convert/get_html_perl_info.c
b/tp/Texinfo/XS/convert/get_html_perl_info.c
index 1591e6ae42..558b83c2d3 100644
--- a/tp/Texinfo/XS/convert/get_html_perl_info.c
+++ b/tp/Texinfo/XS/convert/get_html_perl_info.c
@@ -28,6 +28,8 @@
#endif
#include "XSUB.h"
+#include "ppport.h"
+
#undef context
#include "command_ids.h"
diff --git a/tp/Texinfo/XS/main/DocumentXS.xs b/tp/Texinfo/XS/main/DocumentXS.xs
index 0d39ba28d7..8f6a19e852 100644
--- a/tp/Texinfo/XS/main/DocumentXS.xs
+++ b/tp/Texinfo/XS/main/DocumentXS.xs
@@ -28,8 +28,6 @@
#undef context
-#include "ppport.h"
-
#include "options_types.h"
#include "tree_types.h"
#include "document_types.h"
diff --git a/tp/Texinfo/XS/main/IndicesXS.xs b/tp/Texinfo/XS/main/IndicesXS.xs
index 12cc71399b..7acd3e9803 100644
--- a/tp/Texinfo/XS/main/IndicesXS.xs
+++ b/tp/Texinfo/XS/main/IndicesXS.xs
@@ -28,8 +28,6 @@
#undef context
-#include "ppport.h"
-
#include "tree_types.h"
#include "document_types.h"
/*
diff --git a/tp/Texinfo/XS/main/api_to_perl.c b/tp/Texinfo/XS/main/api_to_perl.c
index 26d6e195f6..224dd9c91f 100644
--- a/tp/Texinfo/XS/main/api_to_perl.c
+++ b/tp/Texinfo/XS/main/api_to_perl.c
@@ -27,6 +27,7 @@
#undef free
#endif
#include "XSUB.h"
+#include "ppport.h"
#undef context
diff --git a/tp/Texinfo/XS/main/get_perl_info.c
b/tp/Texinfo/XS/main/get_perl_info.c
index 36bc8061e6..c9dbf826ad 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -28,6 +28,8 @@
#endif
#include "XSUB.h"
+#include "ppport.h"
+
#undef context
#include "options_types.h"
diff --git a/tp/Texinfo/XS/misc.c b/tp/Texinfo/XS/misc.c
index d2cb1ff003..2ac2b96d62 100644
--- a/tp/Texinfo/XS/misc.c
+++ b/tp/Texinfo/XS/misc.c
@@ -42,8 +42,6 @@
#endif
#include "XSUB.h"
-#include "ppport.h"
-
#include "miscxs.h"
const char *whitespace_chars = " \t\f\v\r\n";
diff --git a/tp/Texinfo/XS/parsetexi/Parsetexi.xs
b/tp/Texinfo/XS/parsetexi/Parsetexi.xs
index fb6c2dfbcd..96aa0f5899 100644
--- a/tp/Texinfo/XS/parsetexi/Parsetexi.xs
+++ b/tp/Texinfo/XS/parsetexi/Parsetexi.xs
@@ -28,8 +28,6 @@
#undef context
-#include "ppport.h"
-
#include "api.h"
#include "conf.h"
#include "build_perl_info.h"
diff --git a/tp/Texinfo/XS/structuring_transfo/StructuringTransfoXS.xs
b/tp/Texinfo/XS/structuring_transfo/StructuringTransfoXS.xs
index 52d1e7a7b5..0beb2585dc 100644
--- a/tp/Texinfo/XS/structuring_transfo/StructuringTransfoXS.xs
+++ b/tp/Texinfo/XS/structuring_transfo/StructuringTransfoXS.xs
@@ -28,8 +28,6 @@
#undef context
-#include "ppport.h"
-
#include "options_types.h"
#include "tree_types.h"
#include "document_types.h"
diff --git a/tp/Texinfo/XS/xspara.c b/tp/Texinfo/XS/xspara.c
index 3e3e9bd1a6..707361ae16 100644
--- a/tp/Texinfo/XS/xspara.c
+++ b/tp/Texinfo/XS/xspara.c
@@ -36,8 +36,6 @@
#endif
#include "XSUB.h"
-#include "ppport.h"
-
#include "xspara.h"
#include "xspara_text.h"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Remove/add ppport.h includes based on perl ppport.h output,
Patrice Dumas <=