From 79599d8ca4641d954e072de410d4165bb6d09381 Mon Sep 17 00:00:00 2001 From: Internet1235 <135099493+Internet1235@users.noreply.github.com> Date: Sat, 18 Jan 2025 12:03:54 +0800 Subject: [PATCH] apcupsd: fix gcc 13 compliation error Fixes: coolsnowwolf/lede#13288 --- net/apcupsd/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/apcupsd/Makefile b/net/apcupsd/Makefile index b6397208..b765b583 100644 --- a/net/apcupsd/Makefile +++ b/net/apcupsd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apcupsd PKG_VERSION:=3.14.14 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_MAINTAINER:=Othmar Truniger PKG_LICENSE:=GPL-2.0 @@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk define Package/apcupsd SECTION:=net CATEGORY:=Network - DEPENDS:=+libpthread +libusb-compat + DEPENDS:=+libpthread +libusb-compat +libstdcpp TITLE:=UPS control software URL:=http://www.apcupsd.org/ endef @@ -35,7 +35,7 @@ endef define Package/apcupsd-cgi SECTION:=net CATEGORY:=Network - DEPENDS:=+libpthread +libgd + DEPENDS:=+libpthread +libgd +libstdcpp TITLE:=UPS control software CGI module URL:=http://www.apcupsd.org/ endef @@ -57,7 +57,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \ - LD="$(TARGET_CC)" \ + LD="$(TARGET_CXX)" \ all install endef