bump(main/angband): 4.2.5

This commit is contained in:
Twaik Yont 2023-10-04 15:37:02 +03:00
parent 710c81cc32
commit 7144e00754
2 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://rephial.org/
TERMUX_PKG_DESCRIPTION="Dungeon exploration adventure game"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.2.4
TERMUX_PKG_SHA256=8cf30b0f5c4d096e18a2896b81e5a8fa82215ebdcd3037502673fb70a6c30779
TERMUX_PKG_VERSION="4.2.5"
TERMUX_PKG_SHA256=2a27ce296310c4cbf960e2eb41ef55d383e546f24533446cf224119498a99651
TERMUX_PKG_SRCURL=https://github.com/angband/angband/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -1,17 +1,17 @@
--- ./src/main.c.orig 2021-08-01 00:28:01.000000000 +0200
+++ ./src/main.c 2021-09-10 09:34:27.031713786 +0200
@@ -36,7 +36,7 @@
@@ -37,7 +37,7 @@
*/
#include "locale.h"
#include <locale.h>
-#if !defined(WINDOWS)
+#if !defined(WINDOWS) && !defined(__ANDROID__)
#include "langinfo.h"
#include <langinfo.h>
#endif
@@ -497,9 +497,11 @@
@@ -475,9 +475,11 @@
ANGBAND_SYS = mstr;
#if !defined(WINDOWS)
#if !defined(WINDOWS) && !defined(DJGPP)
if (setlocale(LC_CTYPE, "")) {
+#ifndef __ANDROID__
/* Require UTF-8 */