editors/kakoune: Update to 2019.12.10

Changes:	https://github.com/mawww/kakoune/releases/tag/v2019.12.10
This commit is contained in:
Tobias Kortkamp 2019-12-10 17:31:48 +00:00
parent b1308c7f10
commit 2f99e3508e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519766
5 changed files with 29 additions and 72 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= kakoune
DISTVERSION= 2019.07.01
PORTREVISION= 1
DISTVERSION= 2019.12.10
CATEGORIES= editors
MASTER_SITES= https://github.com/mawww/kakoune/releases/download/v${DISTVERSION}/
@ -14,7 +13,7 @@ LICENSE_FILE= ${WRKSRC:H}/UNLICENSE
RUN_DEPENDS= setsid:sysutils/ssid
USES= compiler:c++14-lang gmake ncurses tar:bzip2
USES= compiler:c++17-lang gmake ncurses tar:bzip2
DATADIR= ${PREFIX}/share/kak
DOCSDIR= ${PREFIX}/share/doc/kak
@ -23,8 +22,8 @@ WRKSRC_SUBDIR= src
OPTIONS_DEFINE= DEBUG DOCS
DEBUG_MAKE_ARGS= debug=yes
DEBUG_MAKE_ARGS_OFF= debug=no
DEBUG_MAKE_ARGS= debug=yes
post-patch:
@${REINPLACE_CMD} -e 's,/share/man/,/man/,' -e '/-O3/d' \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1561990787
SHA256 (kakoune-2019.07.01.tar.bz2) = 8cf978499000bd71a78736eaee5663bd996f53c4e610c62a9bd97502a3ed6fd3
SIZE (kakoune-2019.07.01.tar.bz2) = 452043
TIMESTAMP = 1575997511
SHA256 (kakoune-2019.12.10.tar.bz2) = 66ad8d28cecb29b08e5975e659ee91206ca676a0194c730ca4eed026bafa2ff8
SIZE (kakoune-2019.12.10.tar.bz2) = 474002

View File

@ -0,0 +1,12 @@
https://github.com/mawww/kakoune/pull/3249
--- src/json_ui.cc.orig 2019-12-10 17:07:00 UTC
+++ src/json_ui.cc
@@ -9,6 +9,7 @@
#include "ranges.hh"
#include "string_utils.hh"
+#include <cstdio>
#include <utility>
#include <unistd.h>

View File

@ -1,64 +0,0 @@
https://github.com/mawww/kakoune/pull/2998
--- src/file.cc.orig 2019-07-01 14:20:51 UTC
+++ src/file.cc
@@ -12,6 +12,7 @@
#include <cerrno>
#include <cstdlib>
+#include <cstdio>
#include <cstring>
#include <dirent.h>
#include <fcntl.h>
--- src/highlighters.cc.orig 2019-07-01 14:21:58 UTC
+++ src/highlighters.cc
@@ -19,6 +19,8 @@
#include "utf8_iterator.hh"
#include "window.hh"
+#include <cstdio>
+
namespace Kakoune
{
--- src/json_ui.cc.orig 2019-07-01 14:24:14 UTC
+++ src/json_ui.cc
@@ -12,6 +12,7 @@
#include <utility>
+#include <stdio.h>
#include <unistd.h>
namespace Kakoune
--- src/regex_impl.cc.orig 2019-07-01 14:25:58 UTC
+++ src/regex_impl.cc
@@ -10,6 +10,7 @@
#include "vector.hh"
#include "utils.hh"
+#include <cstdio>
#include <cstring>
namespace Kakoune
--- src/remote.cc.orig 2019-07-01 14:27:22 UTC
+++ src/remote.cc
@@ -16,6 +16,7 @@
#include <sys/un.h>
#include <sys/wait.h>
#include <unistd.h>
+#include <stdio.h>
#include <string.h>
#include <pwd.h>
#include <fcntl.h>
--- src/string_utils.cc.orig 2019-07-01 14:28:37 UTC
+++ src/string_utils.cc
@@ -4,6 +4,8 @@
#include "utf8_iterator.hh"
#include "unit_tests.hh"
+#include <cstdio>
+
namespace Kakoune
{

View File

@ -6,9 +6,13 @@ man/man1/kak.1.gz
%%DATADIR%%/colors/default.kak
%%DATADIR%%/colors/desertex.kak
%%DATADIR%%/colors/github.kak
%%DATADIR%%/colors/greyscale.kak
%%DATADIR%%/colors/gruvbox.kak
%%DATADIR%%/colors/kaleidoscope-dark.kak
%%DATADIR%%/colors/kaleidoscope-light.kak
%%DATADIR%%/colors/lucius.kak
%%DATADIR%%/colors/palenight.kak
%%DATADIR%%/colors/plain.kak
%%DATADIR%%/colors/red-phoenix.kak
%%DATADIR%%/colors/reeder.kak
%%DATADIR%%/colors/solarized-dark-termcolors.kak
@ -52,6 +56,7 @@ man/man1/kak.1.gz
%%DATADIR%%/rc/filetype/cucumber.kak
%%DATADIR%%/rc/filetype/d.kak
%%DATADIR%%/rc/filetype/dart.kak
%%DATADIR%%/rc/filetype/dhall.kak
%%DATADIR%%/rc/filetype/diff.kak
%%DATADIR%%/rc/filetype/dockerfile.kak
%%DATADIR%%/rc/filetype/elixir.kak
@ -59,8 +64,10 @@ man/man1/kak.1.gz
%%DATADIR%%/rc/filetype/etc.kak
%%DATADIR%%/rc/filetype/exherbo.kak
%%DATADIR%%/rc/filetype/fish.kak
%%DATADIR%%/rc/filetype/fsharp.kak
%%DATADIR%%/rc/filetype/gas.kak
%%DATADIR%%/rc/filetype/git.kak
%%DATADIR%%/rc/filetype/gluon.kak
%%DATADIR%%/rc/filetype/go.kak
%%DATADIR%%/rc/filetype/haml.kak
%%DATADIR%%/rc/filetype/haskell.kak
@ -76,6 +83,7 @@ man/man1/kak.1.gz
%%DATADIR%%/rc/filetype/kakrc.kak
%%DATADIR%%/rc/filetype/kickstart.kak
%%DATADIR%%/rc/filetype/latex.kak
%%DATADIR%%/rc/filetype/ledger.kak
%%DATADIR%%/rc/filetype/lisp.kak
%%DATADIR%%/rc/filetype/lua.kak
%%DATADIR%%/rc/filetype/mail.kak
@ -84,6 +92,7 @@ man/man1/kak.1.gz
%%DATADIR%%/rc/filetype/mercurial.kak
%%DATADIR%%/rc/filetype/moon.kak
%%DATADIR%%/rc/filetype/nim.kak
%%DATADIR%%/rc/filetype/nix.kak
%%DATADIR%%/rc/filetype/ocaml.kak
%%DATADIR%%/rc/filetype/perl.kak
%%DATADIR%%/rc/filetype/php.kak
@ -105,6 +114,7 @@ man/man1/kak.1.gz
%%DATADIR%%/rc/filetype/swift.kak
%%DATADIR%%/rc/filetype/systemd.kak
%%DATADIR%%/rc/filetype/taskpaper.kak
%%DATADIR%%/rc/filetype/terraform.kak
%%DATADIR%%/rc/filetype/toml.kak
%%DATADIR%%/rc/filetype/troff.kak
%%DATADIR%%/rc/filetype/tupfile.kak
@ -116,7 +126,7 @@ man/man1/kak.1.gz
%%DATADIR%%/rc/tools/comment.kak
%%DATADIR%%/rc/tools/ctags.kak
%%DATADIR%%/rc/tools/doc.kak
%%DATADIR%%/rc/tools/formatter.kak
%%DATADIR%%/rc/tools/format.kak
%%DATADIR%%/rc/tools/git.kak
%%DATADIR%%/rc/tools/go/go-tools.kak
%%DATADIR%%/rc/tools/grep.kak