File: fix-ftbfs-gcc15.patch

package info (click to toggle)
groonga 15.1.9%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 171,288 kB
  • sloc: ansic: 772,258; cpp: 51,189; ruby: 40,538; javascript: 10,250; yacc: 7,045; sh: 5,622; python: 2,821; makefile: 1,677
file content (22 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Kentaro Hayashi <kenhys@xdump.org>
Date: Sun, 7 Sep 2025 18:44:57 +0900
Subject: Fix ftbfs with gcc 15

Description: Fix ftbfs with gcc 15
Author: Kentaro Hayashi
Forwarded: not-needed
Origin: https://github.com/k-takata/Onigmo/issues/169
---
 vendor/onigmo/configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vendor/onigmo/configure b/vendor/onigmo/configure
index dd8a57e..12d3ad9 100755
--- a/vendor/onigmo/configure
+++ b/vendor/onigmo/configure
@@ -45,4 +45,4 @@ fi
 cd "${onigmo_directory_in_build_directory}"
 
 echo ./configure ${options}
-./configure ${options}
+CFLAGS="-std=gnu17 $CFLAGS" ./configure ${options}