Files
openwrt-R7800-nss/package/libs
John Audia 3d776d31a4 ncurses: Add -std=gnu17 to CFLAGS to avoid a GCC15 error when building with glibc
Without the newly introduced flag, building with libc ends in errors such the below.
There is an upstream fix[1], but backporting it is not straight forward.

/scratch/union/staging_dir/toolchain-x86_64_gcc-15.1.0_glibc/x86_64-openwrt-linux-gnu/include/c++/15.1.0/cstddef:81:21: error: redefinition of 'struct std::__byte_operand<unsigned char>'
   81 |   template<> struct __byte_operand<unsigned char> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/union/staging_dir/toolchain-x86_64_gcc-15.1.0_glibc/x86_64-openwrt-linux-gnu/include/c++/15.1.0/cstddef:78:21: note: previous definition of 'struct std::__byte_operand<unsigned char>'
   78 |   template<> struct __byte_operand<bool> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:438: ../obj_s/cursesp.o] Error 1

1. https://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=394a1a6cf317912584592e33184ef550e738a4b9

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19335
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-07-09 10:38:27 +02:00
..
2025-05-26 19:20:56 +02:00
2025-06-08 12:46:17 +02:00
2024-12-28 15:41:43 +01:00
2024-10-05 12:29:20 +02:00
2025-07-07 20:49:25 +02:00
2025-03-11 23:57:22 +01:00
2025-05-02 19:15:42 +02:00
2025-05-02 19:15:42 +02:00
2025-05-13 16:48:49 +02:00
2024-08-07 18:05:32 +02:00
2024-09-22 18:20:44 +02:00
2025-03-11 23:35:40 +01:00
2025-07-04 11:10:16 +02:00
2025-03-16 22:21:14 +01:00
2025-07-03 13:03:39 +02:00
2024-04-27 12:05:43 +02:00
2025-07-07 15:43:07 +02:00
2025-04-24 14:22:58 +02:00
2025-01-27 23:28:05 +01:00
2025-02-24 12:44:02 +01:00