File: 08-Fix-configure.ac-failing-to-define-LL_FORM-when-usin.patch

package info (click to toggle)
mcpp 2.7.2-5.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,440 kB
  • sloc: ansic: 35,245; sh: 9,241; makefile: 116; cpp: 84; exp: 18
file content (28 lines) | stat: -rw-r--r-- 768 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
23
24
25
26
27
28
From: John Brandwood <john.brandwood@telzey.com>
Date: Fri, 9 May 2025 11:16:51 -0400
Subject: Fix configure.ac failing to define LL_FORM when using GCC v15.
Origin: https://github.com/jbrandwood/mcpp.git/commit/c326468d6c5437e0c846eabbc2f5cf501143d66d

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 29d4452..11841df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,9 +207,9 @@ AC_DEFUN([AC_CHECK_MOD_LL], [
         [ac_cv_c_printf_modifier],
         AC_RUN_IFELSE([AC_LANG_SOURCE([
 #include    <stdio.h>
+#include    <stdlib.h>
+#include    <string.h>
 #include    <assert.h>
-    int     strcmp();
-    void    exit();
 $3
 int main( void)
 {   char    buf@<:@ 20@:>@;
-- 
2.51.0