mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
2c811dd762493c12ec899e1e89b47cc97f877c45
Currently, rrdtool1 produces the following build error
for various C files while building with GCC 15:
In file included from rrd_tool.h:93,
from rrd_cgi.c:11:
getopt.h:108:12: error: conflicting types for 'getopt'; have 'int(void)'
108 | extern int getopt ();
| ^~~~~~
In file included from include/fortify/unistd.h:22,
from rrd_tool.h:56:
include/unistd.h:127:5: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)'
127 | int getopt(int, char * const [], const char *);
| ^~~~~~
This adds -std=gnu17 to TARGET_CFLAGS to fix the compilation error.
Signed-off-by: Til Kaiser <mail@tk154.de>
OpenWrt packages feed
Description
This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.
Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.
Usage
This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.
This feed is enabled by default. To install all its package definitions, run:
./scripts/feeds update packages
./scripts/feeds install -a -p packages
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Languages
Makefile
54.5%
Shell
31.4%
C
8.1%
C++
1.9%
Lua
1.4%
Other
2.5%