diff -Nru hoel-1.4.29/debian/changelog hoel-1.4.29/debian/changelog
--- hoel-1.4.29/debian/changelog	2026-03-18 10:17:47.000000000 -0400
+++ hoel-1.4.29/debian/changelog	2026-04-21 10:45:06.000000000 -0400
@@ -1,3 +1,9 @@
+hoel (1.4.29-3) unstable; urgency=medium
+
+  * d/p/gcc-16.patch: Fix FTBFS with GCC 16 (Closes: #1133498).
+
+ -- Sergio Durigan Junior <sergiodj@debian.org>  Tue, 21 Apr 2026 10:45:06 -0400
+
 hoel (1.4.29-2) unstable; urgency=medium
 
   [ Otto Kekäläinen ]
diff -Nru hoel-1.4.29/debian/patches/gcc-16.patch hoel-1.4.29/debian/patches/gcc-16.patch
--- hoel-1.4.29/debian/patches/gcc-16.patch	1969-12-31 19:00:00.000000000 -0500
+++ hoel-1.4.29/debian/patches/gcc-16.patch	2026-04-21 10:45:06.000000000 -0400
@@ -0,0 +1,26 @@
+Author: Sergio Durigan Junior <sergiodj@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133498
+Forwarded: not-yet
+
+Index: hoel-1.4.29/src/hoel-mariadb.c
+===================================================================
+--- hoel-1.4.29.orig/src/hoel-mariadb.c	2023-11-13 19:13:03.000000000 -0500
++++ hoel-1.4.29/src/hoel-mariadb.c	2026-04-21 10:43:26.218838076 -0400
+@@ -244,7 +244,7 @@
+  */
+ int h_execute_query_json_mariadb(const struct _h_connection * conn, const char * query, json_t ** j_result) {
+   MYSQL_RES * result;
+-  uint num_fields, col, row;
++  uint num_fields, col;
+   MYSQL_ROW m_row;
+   MYSQL_FIELD * fields;
+   unsigned long * lengths;
+@@ -290,7 +290,7 @@
+   num_fields = mysql_num_fields(result);
+   fields = mysql_fetch_fields(result);
+ 
+-  for (row = 0; (m_row = mysql_fetch_row(result)) != NULL; row++) {
++  for (; (m_row = mysql_fetch_row(result)) != NULL;) {
+     j_data = json_object();
+     if (j_data == NULL) {
+       y_log_message(Y_LOG_LEVEL_ERROR, "Hoel - Error allocating memory for j_data");
diff -Nru hoel-1.4.29/debian/patches/series hoel-1.4.29/debian/patches/series
--- hoel-1.4.29/debian/patches/series	2025-06-03 15:58:18.000000000 -0400
+++ hoel-1.4.29/debian/patches/series	2026-04-21 10:41:41.000000000 -0400
@@ -1 +1,2 @@
 doc.patch
+gcc-16.patch
