[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: GNULIB_MDA_FDOPEN=0
From: |
Gavin D. Smith |
Subject: |
branch master updated: GNULIB_MDA_FDOPEN=0 |
Date: |
Mon, 01 Mar 2021 13:58:07 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 8a750c7 GNULIB_MDA_FDOPEN=0
8a750c7 is described below
commit 8a750c79f9c4d024f811b5e8899db56a0fc2ecc0
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Mar 1 18:57:57 2021 +0000
GNULIB_MDA_FDOPEN=0
* tp/Texinfo/XS/configure.ac: Set GNULIB_MDA_FDOPEN=0 to
prevent definition of fdopen in gnulib-provided stdio.h, which
clashes with Perl header files. Report by Eli Zaretskii.
Suggested fix from Bruno Haible.
---
ChangeLog | 9 +++++++++
tp/Texinfo/XS/configure.ac | 10 +++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e4a32c8..d179c08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2021-03-01 Gavin Smith <gavinsmith0123@gmail.com>
+ GNULIB_MDA_FDOPEN=0
+
+ * tp/Texinfo/XS/configure.ac: Set GNULIB_MDA_FDOPEN=0 to
+ prevent definition of fdopen in gnulib-provided stdio.h, which
+ clashes with Perl header files. Report by Eli Zaretskii.
+ Suggested fix from Bruno Haible.
+
+2021-03-01 Gavin Smith <gavinsmith0123@gmail.com>
+
* tp/Texinfo/XS/parsetexi/api.c (element_to_perl_hash):
Cast pointer to intptr_t before IV to prevent a compiler warning
on MinGW. Suggestion from Eli Zaretskii.
diff --git a/tp/Texinfo/XS/configure.ac b/tp/Texinfo/XS/configure.ac
index e4ad9c2..ce73f27 100644
--- a/tp/Texinfo/XS/configure.ac
+++ b/tp/Texinfo/XS/configure.ac
@@ -127,9 +127,13 @@ gl_INIT
LT_INIT([disable-static])
-# The above are still necessary for --disable-perl-xs even though they
-# aren't really used: otherwise, configure complains about undefined
-# variables.
+# Note that the above have to be outside the disable_xs block
+# otherwise it causes an error with configure.
+
+# Disable gnulib provision of "Microsoft deprecated alias" fdopen on
+# MS-Windows to prevent a clash with definitions in Perl header files
+GNULIB_MDA_FDOPEN=0
+
host_needs_no_undefined=no
case "$host" in *-mingw32 | *-mingw64 | *-msdosdjgpp | *-cygwin )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: GNULIB_MDA_FDOPEN=0,
Gavin D. Smith <=