gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-300


From: John Malmberg
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-3007-g02e8aa7
Date: Mon, 6 Aug 2018 09:05:06 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.2-stable has been updated
       via  02e8aa7f237791e13b1431f70df14fa3a3404bc2 (commit)
      from  ae3c6bfca054920ff88501d3c6e663617f611478 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=02e8aa7f237791e13b1431f70df14fa3a3404bc2

commit 02e8aa7f237791e13b1431f70df14fa3a3404bc2
Author: John Malmberg <address@hidden>
Date:   Mon Aug 6 07:48:19 2018 -0500

    Add fixes for building with gnu regex.

diff --git a/ChangeLog b/ChangeLog
index 31d3d7a..5421675 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-05         John E. Malmberg      <address@hidden>
+
+       * custom.h: Define macros needed for building with gnu regex.
+
 2018-08-02         Arnold D. Robbins     <address@hidden>
 
        * awkgram.y (yylex): Add lint warning upon encountering escaped
diff --git a/custom.h b/custom.h
index 0ec8d1f..774659a 100644
--- a/custom.h
+++ b/custom.h
@@ -44,6 +44,13 @@
 #include <fp.h>
 /* isnan () macro is broken */
 #undef isnan
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+#define __builtin_expect(expr, val) (expr)
+#ifndef SIZE_MAX
+#define SIZE_MAX __INT32_MAX
+#endif
 #endif
 
 /* For QNX, based on submission from Michael Hunter, address@hidden */
diff --git a/vms/ChangeLog b/vms/ChangeLog
index f2f2aa0..be8d0e6 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-03         John E. Malmberg      <address@hidden>
+
+       * generate_config_vms_h_gawk.com:
+       Create a stub stdint.h when OpenVMS does not provide one.
+
 2018-02-25         Arnold D. Robbins     <address@hidden>
 
        * 4.2.1: Release tar ball made.
diff --git a/vms/generate_config_vms_h_gawk.com 
b/vms/generate_config_vms_h_gawk.com
index a6a3743..8edf55d 100644
--- a/vms/generate_config_vms_h_gawk.com
+++ b/vms/generate_config_vms_h_gawk.com
@@ -61,6 +61,16 @@ $   if (arch_name .eqs. "") then arch_name = "UNK"
 $ endif
 $!
 $!
+$ pipe lib/list sys$library:decc$rtldef.tlb | search sys$input: stdint
+$ if '$SEVERITY' .ne. 1
+$ then
+$   create sys$disk:[]stdint.h
+$   open/append stdint_h sys$disk:[]stdint.h
+$   write stdint_h "/* Fake stdint.h for gnulib */"
+$   close stdint_h
+$ endif
+$!
+$!
 $! Start the configuration file.
 $! Need to do a create and then an append to make the file have the
 $! typical file attributes of a VMS text file.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                          |  4 ++++
 custom.h                           |  7 +++++++
 vms/ChangeLog                      |  5 +++++
 vms/generate_config_vms_h_gawk.com | 10 ++++++++++
 4 files changed, 26 insertions(+)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]