mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
tmate: fix compilation with GCC14
Need a define for strcasestr Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=tmate
|
PKG_NAME:=tmate
|
||||||
PKG_VERSION:=2.4.0
|
PKG_VERSION:=2.4.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/tmate-io/tmate/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/tmate-io/tmate/tar.gz/$(PKG_VERSION)?
|
||||||
|
|||||||
13
net/tmate/patches/010-gcc14.patch
Normal file
13
net/tmate/patches/010-gcc14.patch
Normal file
@@ -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 <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
Reference in New Issue
Block a user