summaryrefslogtreecommitdiff
path: root/user/gptfdisk
diff options
context:
space:
mode:
Diffstat (limited to 'user/gptfdisk')
-rw-r--r--user/gptfdisk/APKBUILD9
-rw-r--r--user/gptfdisk/ncurses.patch14
2 files changed, 20 insertions, 3 deletions
diff --git a/user/gptfdisk/APKBUILD b/user/gptfdisk/APKBUILD
index 21249e469..65f372d39 100644
--- a/user/gptfdisk/APKBUILD
+++ b/user/gptfdisk/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gptfdisk
-pkgver=1.0.4
+pkgver=1.0.5
pkgrel=0
pkgdesc="Utility for manipulating GUID Partition Tables (GPT)"
url="https://www.rodsbooks.com/gdisk/index.html"
@@ -11,7 +11,9 @@ license="GPL-2.0-only"
depends=""
makedepends="icu-dev ncurses-dev popt-dev util-linux-dev"
subpackages="$pkgname-doc"
-source="https://www.rodsbooks.com/gdisk/gptfdisk-$pkgver.tar.gz"
+source="https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$pkgver/gptfdisk-$pkgver.tar.gz
+ ncurses.patch
+ "
build() {
make LDFLAGS="$LDFLAGS -ltinfo"
@@ -24,4 +26,5 @@ package() {
done
}
-sha512sums="2df6db6974c06a6677a155d32566b8b46dad0df7781131e9018072db9acce5e41f6c4e7024b0e5f236dd43350a63572be34fb4b6fdb580cd9b946619a7a683bf gptfdisk-1.0.4.tar.gz"
+sha512sums="3d3a59e3488dd3d6bda5d103b9ad8b7936752210346b9787ddc936681498fba90577b6ae950c471d09a01bf6405fce32038ff1777c52db0b21e5277737fe3703 gptfdisk-1.0.5.tar.gz
+052dab1640dcceceace0a147af4853ba3f1210880bdd9519b151d9c8f17b6dbc339828fa83d73314af022aa27b9e2b8eabfd81460b0a7e3d3485697323c62760 ncurses.patch"
diff --git a/user/gptfdisk/ncurses.patch b/user/gptfdisk/ncurses.patch
new file mode 100644
index 000000000..6d8589309
--- /dev/null
+++ b/user/gptfdisk/ncurses.patch
@@ -0,0 +1,14 @@
+--- gptfdisk-1.0.5/gptcurses.cc.old 2020-02-17 22:34:11.000000000 +0000
++++ gptfdisk-1.0.5/gptcurses.cc 2020-02-26 02:16:16.836739330 +0000
+@@ -23,11 +23,7 @@
+ #include <iostream>
+ #include <string>
+ #include <sstream>
+-#ifdef __APPLE__
+ #include <ncurses.h>
+-#else
+-#include <ncursesw/ncurses.h>
+-#endif
+ #include "gptcurses.h"
+ #include "support.h"
+