Commit c3afe238 authored by Natanael Copa's avatar Natanael Copa

main/nano: upgrade to 2.4.1

parent 5fa8aeff
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=nano
pkgver=2.4.0
pkgver=2.4.1
pkgrel=0
pkgdesc="Text Editor. GNU nano is designed to be a free replacement for the Pico text editor."
url="http://www.nano-editor.org/"
......@@ -12,7 +12,6 @@ makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
time_t.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
......@@ -50,9 +49,6 @@ package() {
sed -i 's:# include:include:g' "$pkgdir"/etc/nanorc
}
md5sums="e5c9c6424ee2303663ae4b99ecd4b493 nano-2.4.0.tar.gz
476f1059619a1b965f9a2ebf10f01401 time_t.patch"
sha256sums="5076fb502680503e648cbdcbf2077e39fba193420ae19203f0a54cb2d94a75bd nano-2.4.0.tar.gz
a12db65a531bef5a64a39f8fae056c5c1a1fb9de6cd66d50725abc8e1a7f982b time_t.patch"
sha512sums="7f079e307521a47405ba6d107d481df6869dbd7ea9297de6c69e831d00335cee403ac3ec1ef3578488cbec65c2e2ddec15edfddd45071f0fb4e2eccc94cbef1d nano-2.4.0.tar.gz
5b2de5333936defe352c5bf6a1f018a9f0446e7b4644020e177cc8651b708cb02bc57ed09c856320253d4db40eb9937452a48be4c52393f606bb31f1199fb912 time_t.patch"
md5sums="1c612b478f976abf8ef926480c7a3684 nano-2.4.1.tar.gz"
sha256sums="6a0ceb5e1b9b9bea72d5d1f46488ace4782b1f198ea6ba558480a86d994f29d2 nano-2.4.1.tar.gz"
sha512sums="0e2bc99627682350496853b2dc8d3d4c25303b3723fd1dec2e26f2860b21d0f4c6cb99810517fc4e86312f3bec5481c327afab84dac55f4c388799453e6f5f11 nano-2.4.1.tar.gz"
--- ./src/text.c.orig
+++ ./src/text.c
@@ -2664,7 +2664,7 @@
ssize_t current_y_save = openfile->current_y;
ssize_t lineno_save = openfile->current->lineno;
struct stat spellfileinfo;
- __time_t timestamp;
+ time_t timestamp;
pid_t pid_spell;
char *ptr;
static int arglen = 3;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment