From: Rosen Penev Date: Tue, 7 Jan 2025 02:27:05 +0000 (-0800) Subject: tmate: fix compilation with GCC14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=81b26a1540de0f12b4add569de399d5c1d79efe5;p=feed%2Fpackages.git tmate: fix compilation with GCC14 Need a define for strcasestr Signed-off-by: Rosen Penev --- diff --git a/net/tmate/Makefile b/net/tmate/Makefile index ee3c0b588d..656c737d5c 100644 --- a/net/tmate/Makefile +++ b/net/tmate/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tmate PKG_VERSION:=2.4.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tmate-io/tmate/tar.gz/$(PKG_VERSION)? diff --git a/net/tmate/patches/010-gcc14.patch b/net/tmate/patches/010-gcc14.patch new file mode 100644 index 0000000000..85bb26e0fc --- /dev/null +++ b/net/tmate/patches/010-gcc14.patch @@ -0,0 +1,13 @@ +--- a/tmux.c ++++ b/tmux.c +@@ -16,6 +16,10 @@ + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + ++#ifndef _GNU_SOURCE ++#define _GNU_SOURCE ++#endif ++ + #include + #include +