Subject: bug#65146: 30.0.50; Build fails with CHECK_STRUCTS

From: "Basil L. Contovounesios" <[email-masked]>
Date: Tue, 08 Aug 2023 12:44:16 +0200

The new text_conversion_style_ field:

>From cf24b61985c26cbf2e5a24cb0b64a8528aa3a9cc Mon Sep 17 00:00:00 2001
From: Po Lu <[email-masked]>
Date: Wed, 15 Feb 2023 22:51:44 +0800
Subject: [PATCH] Update Android port

* src/buffer.h (struct buffer, bset_text_conversion_style): New
fields.
---
 src/buffer.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/buffer.h b/src/buffer.h
index e700297a264..e71ffe28045 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -566,6 +566,11 @@ #define BVAR(buf, field) ((buf)->field ## _)
   /* A list of tree-sitter parsers for this buffer.  */
   Lisp_Object ts_parser_list_;
 #endif
+
+  /* What type of text conversion the input method should apply to
+     this buffer.  */
+  Lisp_Object text_conversion_style_;
+
   /* Cursor type to display in non-selected windows.
      t means to use hollow box cursor.
      See `cursor-type' for other values.  */
-- 
2.40.1

Is unknown to the pdumper with --enable-checking=structs:

  CC       pdumper.o
pdumper.c: In function ‘dump_buffer’:
pdumper.c:2751:3: error: #error "buffer changed. See CHECK_STRUCTS comment in config.h."

Does the field need any special handling, or can HASH_buffer be safely
updated?

Thanks,

-- 
Basil

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw3d scroll bars) of 2023-08-06 built on tia
Repository revision: 4a973ed2bfb1da91a457a49a3a4089589fdf2d5f
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure 'CFLAGS=-Og -ggdb3' -C --prefix=/home/blc/.local
 --enable-checking=structs --with-file-notification=yes
 --with-x-toolkit=lucid --with-x'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM
LUCID ZLIB

Important settings:
  value of $LANG: en_IE.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix