Description: fix link failure caused by C99 inline semantics
 get_pos.c defines assemble_fill_buffer as a non-static inline function.
 With modern GCC defaulting to C99 inline semantics the inline definition
 does not emit an external symbol, while the calls (not inlined at -O0)
 generate undefined references at link time.  Make the function static
 inline, as it is only used within get_pos.c.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: other
Forwarded: not-needed
Last-Update: 2026-09-03

--- maq-0.7.1.orig/get_pos.c
+++ maq-0.7.1/get_pos.c
@@ -5,7 +5,7 @@
 #include "assemble.h"
 
 /** fill the rolling buffer */
-inline void assemble_fill_buffer(gzFile fpin, rolling_buf_t *ab)
+static inline void assemble_fill_buffer(gzFile fpin, rolling_buf_t *ab)
 {
 	if (gzeof(fpin) || (ab->is_rounded == 1 && ab->head == ab->tail)) return; // the buffer is full
 	int n_records, n_bytes;
