kitty: update to 0.14.3
This commit is contained in:
parent
ab9ba11d81
commit
7c4381ab12
2 changed files with 41 additions and 3 deletions
37
srcpkgs/kitty/patches/musl.patch
Normal file
37
srcpkgs/kitty/patches/musl.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
From 9cbb726566f14454b24d05e6e94c640997fc77ff Mon Sep 17 00:00:00 2001
|
||||
From: Kovid Goyal <kovid@kovidgoyal.net>
|
||||
Date: Tue, 30 Jul 2019 06:20:54 +0530
|
||||
Subject: [PATCH] Fix #1865
|
||||
|
||||
---
|
||||
glfw/linux_joystick.c | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/glfw/linux_joystick.c b/glfw/linux_joystick.c
|
||||
index d40bf0233..70a86f6f3 100644
|
||||
--- a/glfw/linux_joystick.c
|
||||
+++ b/glfw/linux_joystick.c
|
||||
@@ -144,10 +144,10 @@ static bool openJoystickDevice(const char* path)
|
||||
char absBits[(ABS_CNT + 7) / 8] = {0};
|
||||
struct input_id id;
|
||||
|
||||
- if (ioctl(linjs.fd, EVIOCGBIT(0, sizeof(evBits)), evBits) < 0 ||
|
||||
- ioctl(linjs.fd, EVIOCGBIT(EV_KEY, sizeof(keyBits)), keyBits) < 0 ||
|
||||
- ioctl(linjs.fd, EVIOCGBIT(EV_ABS, sizeof(absBits)), absBits) < 0 ||
|
||||
- ioctl(linjs.fd, EVIOCGID, &id) < 0)
|
||||
+ if (ioctl(linjs.fd, (int32_t)EVIOCGBIT(0, sizeof(evBits)), evBits) < 0 ||
|
||||
+ ioctl(linjs.fd, (int32_t)EVIOCGBIT(EV_KEY, sizeof(keyBits)), keyBits) < 0 ||
|
||||
+ ioctl(linjs.fd, (int32_t)EVIOCGBIT(EV_ABS, sizeof(absBits)), absBits) < 0 ||
|
||||
+ ioctl(linjs.fd, (int32_t)EVIOCGID, &id) < 0)
|
||||
{
|
||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||
"Linux: Failed to query input device: %s",
|
||||
@@ -165,7 +165,7 @@ static bool openJoystickDevice(const char* path)
|
||||
|
||||
char name[256] = "";
|
||||
|
||||
- if (ioctl(linjs.fd, EVIOCGNAME(sizeof(name)), name) < 0)
|
||||
+ if (ioctl(linjs.fd, (int32_t)EVIOCGNAME(sizeof(name)), name) < 0)
|
||||
strncpy(name, "Unknown", sizeof(name));
|
||||
|
||||
char guid[33] = "";
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'kitty'
|
||||
pkgname=kitty
|
||||
version=0.14.2
|
||||
version=0.14.3
|
||||
revision=1
|
||||
pycompile_dirs="usr/lib/kitty"
|
||||
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
|
||||
makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel
|
||||
python3-devel wayland-devel wayland-protocols"
|
||||
python3-devel wayland-devel wayland-protocols libcanberra-devel"
|
||||
depends="kitty-terminfo-${version}_${revision}"
|
||||
short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
|
||||
maintainer="Benjamin Slade <slade@jnanam.net>"
|
||||
|
@ -13,7 +13,8 @@ license="GPL-3.0-or-later"
|
|||
homepage="https://sw.kovidgoyal.net/kitty/"
|
||||
changelog="https://sw.kovidgoyal.net/kitty/changelog.html"
|
||||
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
|
||||
checksum=9eb32808425867dd63580718bc1b97bbd9046d4024279837c6132eb1ef37f189
|
||||
checksum=f5e522a6e477acd8b4a9637261f20dc66d6f7b9e9229a4a957f10811708b8d8b
|
||||
patch_args="-Np1"
|
||||
pycompile_version="$py3_ver"
|
||||
LDFLAGS+=" -Wl,-z,stack-size=2097152"
|
||||
|
||||
|
|
Loading…
Reference in a new issue