ccrypt: fix compilation with gcc15

gcc15 is using iso9899:2024 by default.
ccrypt fails to compile with it.
--> use previous standard "-std=c17" instead.
Ref.: https://github.com/openwrt/packages/issues/27112

Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de>
This commit is contained in:
Ulrich Stark
2025-08-10 23:21:53 +03:00
committed by Hannu Nyman
parent 331c6bc7ca
commit ac8b481f1d

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ccrypt
PKG_VERSION:=1.11
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ccrypt
@@ -32,6 +32,8 @@ endef
CONFIGURE_ARGS += --disable-emacs
EXTRA_CFLAGS += -std=c17
define Package/ccrypt/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/