Skip to content
Snippets Groups Projects
Commit c7f5269e authored by Celeste's avatar Celeste Committed by Natanael Copa
Browse files

main/newt: upgrade to 0.52.24

also, add default_prepare and remove patch that's already applied upstream
parent d82a1036
No related branches found
No related tags found
1 merge request!54136main/newt: upgrade to 0.52.24
Pipeline #189728 skipped
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=newt
pkgver=0.52.23
pkgrel=1
pkgver=0.52.24
pkgrel=0
pkgdesc="Redhat's Newt windowing toolkit development files"
options="!check" # No testsuite
url="https://pagure.io/newt/"
......@@ -9,11 +9,11 @@ arch="all"
license="LGPL-2.0-only"
makedepends="slang-dev popt-dev python3-dev ncurses-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-$pkgname:py3"
source="https://releases.pagure.org/newt/newt-$pkgver.tar.gz
fix-includes.patch
"
source="https://releases.pagure.org/newt/newt-$pkgver.tar.gz"
prepare() {
default_prepare
sed -i -e 's:-lslang:-lslang -lncurses:g' \
-e 's:instroot:DESTDIR:g' Makefile.in
}
......@@ -40,6 +40,5 @@ py3() {
}
sha512sums="
c845d03946f72a6b46301152d7dc308f71d17b03d255d73d02ea7deb5392e22522dc8504f941fcffe5309c6c10f1b56742dac8585a16b0dc7e0c463f18871dda newt-0.52.23.tar.gz
ce53446eb587b79790f12f806f02999568cb49067520813ab146d1f16c71f009e86ab72d08666e483b550fdae3332b673935b8aa1a14b02f5273217fb5404611 fix-includes.patch
2001f45fb1cdb48cbc51feb8b6e555a2e50b65d897db2dbc1b1711c04efb51834801bef921c89879ddb43de221a243ed240c4a3355eebafa78f50f24432acdcd newt-0.52.24.tar.gz
"
--- newt-0.52.11.orig/whiptail.c
+++ newt-0.52.11/whiptail.c
@@ -1,4 +1,5 @@
#include "config.h"
+#include <sys/stat.h>
#include <fcntl.h>
#include <popt.h>
#include <stdio.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment