Subject: [PATCH 1/2] community/nethack: upgrade to 3.6.2

From: Drew DeVault <[email-masked]>
Date: Tue, 20 Aug 2019 15:36:38 +0900

---
 community/nethack/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/nethack/APKBUILD b/community/nethack/APKBUILD
index cca2f741d4..ef4141c58d 100644
--- a/community/nethack/APKBUILD
+++ b/community/nethack/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Drew DeVault <[email-masked]>
 # Based on the Arch Linux package
 pkgname=nethack
-pkgver=3.6.1
+pkgver=3.6.2
 pkgrel=0
 pkgdesc="A single player dungeon exploration game"
 url="https://www.nethack.org/index.html"
@@ -17,6 +17,8 @@ prepare() {
 	cd "$builddir"
 	# Fix nonstandard cp usage
 	sed -e 's/cp -n/cp/g' -i sys/unix/hints/linux
+	# Fix glibc issue
+	sed -e 's/#define _GNU_SOURCE//g' -i include/config1.h
 	# Configuration stuff
 	sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
 		-e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' \
@@ -71,4 +73,4 @@ package() {
 
 	install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt
 }
-sha512sums="bd6e36c163f0d85e1ab1fc659464696b5a02c3864a800ad47e047fdc4a35fff4ef7dd28a9b071fa46f7f67fa45c97fdc77bc1f2bdbad80cc02950d73731d9c30  nethack-361-src.tgz"
+sha512sums="e865f21298ffdf67301b5b6ca91f2e762011cc35b55f80603fff014b48f9724d67671168a898abb2171879906a65564d8eb59d272bb5a9f8bf957f074e3c105e  nethack-362-src.tgz"
-- 
2.23.0

---

From: Drew DeVault <[email-masked]>
Date: Tue, 20 Aug 2019 15:36:39 +0900

---
 community/imv/APKBUILD | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/community/imv/APKBUILD b/community/imv/APKBUILD
index 1513be33bd..818fd76454 100644
--- a/community/imv/APKBUILD
+++ b/community/imv/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=imv
-pkgver=3.0.0
-pkgrel=2
+pkgver=3.1.2
+pkgrel=0
 pkgdesc="Image viewer for X11/Wayland"
 url="https://github.com/eXeC64/imv"
 arch="all"
@@ -11,6 +11,7 @@ makedepends="
 	fontconfig-dev
 	freeimage-dev
 	sdl2_ttf-dev
+	librsvg-dev
 	"
 checkdepends="
 	cmocka
@@ -20,11 +21,6 @@ subpackages="$pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/eXeC64/$pkgname/archive/v$pkgver.tar.gz"
 builddir="$srcdir/$pkgname-$pkgver"
 
-prepare() {
-	cd "$builddir"
-	rm test/loader.c # broken with abuild
-}
-
 build() {
 	cd "$builddir"
 	case "$CARCH" in
@@ -43,4 +39,4 @@ package() {
 	DESTDIR="$pkgdir" make install
 }
 
-sha512sums="3db5209498b9cfee8ea3765ff20cb28cea64524b11ffa202f47389b45c8c48f1c2dc461a10b67c71e2a482ed2b810da782174c072790b775a0f80e0dbe52ca0f  imv-3.0.0.tar.gz"
+sha512sums="57427130542d22bca20ddf4280a67451d9213c56309d80bb953c84c25f4912f6b4c5bb2e2d04cf31b3feabdccbb575a535c4aa03c22d9b2a1f97165c7c6a8079  imv-3.1.2.tar.gz"
-- 
2.23.0