From 2e2a4905868b9534d6ce19fb50032906898c219c Mon Sep 17 00:00:00 2001 From: Renato Aguiar Date: Thu, 18 Oct 2018 11:48:45 -0700 Subject: [PATCH] loksh: update to 6.4 --- srcpkgs/loksh/patches/ncursesw.patch | 13 +++++++++++++ srcpkgs/loksh/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/loksh/patches/ncursesw.patch diff --git a/srcpkgs/loksh/patches/ncursesw.patch b/srcpkgs/loksh/patches/ncursesw.patch new file mode 100644 index 00000000000..852b0acb63f --- /dev/null +++ b/srcpkgs/loksh/patches/ncursesw.patch @@ -0,0 +1,13 @@ +--- Makefile.orig 2018-10-18 11:46:33.917801273 -0700 ++++ Makefile 2018-10-18 11:46:38.748833596 -0700 +@@ -9,8 +9,8 @@ + MAN_DIR ?= $(PREFIX)/share/man + DOC_DIR ?= $(PREFIX)/share/doc/loksh + +-NCURSES_CFLAGS = $(shell pkg-config --cflags ncurses) +-NCURSES_LDFLAGS = $(shell pkg-config --libs ncurses) ++NCURSES_CFLAGS = $(shell pkg-config --cflags ncursesw) ++NCURSES_LDFLAGS = $(shell pkg-config --libs ncursesw) + + OBJECTS = alloc.o c_ksh.o c_sh.o c_test.o c_ulimit.o edit.o emacs.o eval.o \ + exec.o expr.o history.o io.o jobs.o lex.o mail.o main.o misc.o \ diff --git a/srcpkgs/loksh/template b/srcpkgs/loksh/template index b9a223571ba..a22ba9f6d30 100644 --- a/srcpkgs/loksh/template +++ b/srcpkgs/loksh/template @@ -1,18 +1,18 @@ # Template file for 'loksh' pkgname=loksh -version=6.3 +version=6.4 revision=1 build_style=gnu-makefile make_build_args="HAVE_LIBBSD=1" make_install_args="BIN_NAME=loksh" hostmakedepends="pkg-config" -makedepends="libbsd-devel" +makedepends="libbsd-devel ncurses-devel" short_desc="A Linux port of OpenBSD's ksh" maintainer="Renato Aguiar " license="Public Domain" homepage="https://github.com/dimkr/loksh" distfiles="https://github.com/dimkr/loksh/archive/${version}.tar.gz" -checksum=4c8bccf3fef58dce1c67395cffbf4e95fb6ee597d582ff2d2b3a851b1e302b44 +checksum=852d586849201346475946b6dc0551ea807262fd7d3fbd5fb2fe75fa42c6b222 register_shell="/bin/loksh" alternatives="