kitty: update to 0.15.0

This commit is contained in:
SolitudeSF 2019-11-27 09:29:17 +02:00 committed by Helmut Pozimski
parent f245a713ce
commit f637b0403a
2 changed files with 32 additions and 2 deletions

View file

@ -0,0 +1,30 @@
From 4a5e48d848b219e4451a7f2a971c1f8e846a9bb6 Mon Sep 17 00:00:00 2001
From: Kovid Goyal <kovid@kovidgoyal.net>
Date: Wed, 27 Nov 2019 22:19:12 +0530
Subject: [PATCH] Better fix for getting clock_gettime() from time.h
Fixes #2169
---
setup.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
index e3109bfc0..45f12183a 100755
--- a/setup.py
+++ b/setup.py
@@ -213,13 +213,12 @@ def init_env(
for el in extra_logging:
cppflags.append('-DDEBUG_{}'.format(el.upper().replace('-', '_')))
# gnu11 is needed to get monotonic.h to build on older Linux distros
- std = 'c' if is_macos or ccver[0] >= 5 else 'gnu'
cflags = os.environ.get(
'OVERRIDE_CFLAGS', (
- '-Wextra {} -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std={}11'
+ '-Wextra {} -Wno-missing-field-initializers -Wall -Wstrict-prototypes -D_POSIX_C_SOURCE=200809L -std=c11'
' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
).format(
- float_conversion, std,
+ float_conversion,
optimize,
' '.join(sanitize_args),
stack_protector,

View file

@ -1,6 +1,6 @@
# Template file for 'kitty'
pkgname=kitty
version=0.14.6
version=0.15.0
revision=1
pycompile_dirs="usr/lib/kitty"
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
@ -13,7 +13,7 @@ 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=f07e0b2398b21e546ead8bb7755b140ee2d9cd1be10b720263b2578a0396a9b8
checksum=79a9e40b97ce05bd3d8286c1187d1cd751c7a6590cc147170a71aafc37087000
patch_args="-Np1"
pycompile_version="$py3_ver"
LDFLAGS+=" -Wl,-z,stack-size=2097152"