Skip to content

Commit e0a7e3c

Browse files
authored
nano: Update to 8.3 (#5110)
1 parent 0194c5b commit e0a7e3c

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

nano/0001-fix-link-order.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- nano-8.3/src/Makefile.am.orig 2025-02-11 19:12:25.787061900 +0100
2+
+++ nano-8.3/src/Makefile.am 2025-02-11 19:13:21.219731800 +0100
3+
@@ -42,7 +42,7 @@
4+
utils.c \
5+
winio.c
6+
7+
-nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a \
8+
+nano_LDADD = $(top_builddir)/lib/libgnu.a @LIBINTL@ \
9+
$(GETRANDOM_LIB) $(CLOCK_TIME_LIB) $(LIBTHREAD)
10+
11+
install-exec-hook:

nano/PKGBUILD

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Alexey Pavlov <[email protected]>
22

33
pkgname=nano
4-
pkgver=8.2
4+
pkgver=8.3
55
pkgrel=1
66
pkgdesc="Pico editor clone with enhancements"
77
arch=('i686' 'x86_64')
@@ -19,13 +19,23 @@ makedepends=('autotools'
1919
'libiconv-devel'
2020
'gettext-devel')
2121
backup=('etc/nanorc')
22-
source=(https://www.nano-editor.org/dist/v8/${pkgname}-${pkgver}.tar.xz{,.asc})
23-
sha256sums=('d5ad07dd862facae03051c54c6535e54c7ed7407318783fcad1ad2d7076fffeb'
24-
'SKIP')
22+
source=(https://www.nano-editor.org/dist/v8/${pkgname}-${pkgver}.tar.xz{,.asc}
23+
"0001-fix-link-order.patch")
24+
sha256sums=('551b717b2e28f7e90f749323686a1b5bbbd84cfa1390604d854a3ca3778f111e'
25+
'SKIP'
26+
'fd89f31bd8813db14587241ef4526f929dcee17b97572b70e92f2db40b53c859')
2527
validpgpkeys=(
2628
'168E6F4297BFD7A79AFD4496514BBE2EB8E1961F' # Benno Schulenberg <[email protected]>
2729
)
2830

31+
prepare() {
32+
cd "${pkgname}-${pkgver}"
33+
34+
patch -Np1 -i "${srcdir}/0001-fix-link-order.patch"
35+
36+
autoreconf -vfi
37+
}
38+
2939
build() {
3040
cd ${srcdir}/${pkgname}-${pkgver}
3141

0 commit comments

Comments
 (0)