Commit 9a3d8e39 authored by Timo Teräs's avatar Timo Teräs

main/newt: fix includes (to build against musl)

parent 48844372
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=newt
pkgver=0.52.11
pkgrel=2
pkgrel=3
pkgdesc="Redhat's Newt windowing toolkit development files"
url="https://fedorahosted.org/newt/"
arch="all"
license="LGPL-2"
depends=
makedepends="slang-dev popt-dev python-dev ncurses-dev wget"
makedepends="slang-dev popt-dev python-dev ncurses-dev"
subpackages="$pkgname-dev $pkgname-doc py-newt:py"
source="https://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz
"
fix-includes.patch"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
......@@ -50,4 +50,9 @@ py() {
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
md5sums="4b9a0685ecd180c42d2c4a5806e3fc52 newt-0.52.11.tar.gz"
md5sums="4b9a0685ecd180c42d2c4a5806e3fc52 newt-0.52.11.tar.gz
d4637d1cec167e1d7087b9137b6954db fix-includes.patch"
sha256sums="8bac17b4272475f5e172b9894b8c062a6e5ab0689a736d9dbbcc1695604fb8d7 newt-0.52.11.tar.gz
bff77da4814f8f4ec09572bac464bf7545d4790ada2f4c0deffb27128b6dd83d fix-includes.patch"
sha512sums="525da1b5af09fd023935a8ebbeaa34524c01145efb696f4baeff6c0bdba6eee35aed14403e0195816c9d9c3a9fe9fc8e2e0bc5c3965780f3c2c00e4dfe272c8d newt-0.52.11.tar.gz
ce53446eb587b79790f12f806f02999568cb49067520813ab146d1f16c71f009e86ab72d08666e483b550fdae3332b673935b8aa1a14b02f5273217fb5404611 fix-includes.patch"
--- 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>
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