angband: Update to 4.0.1
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 23 Jul 2015 22:30:43 +0000 (18:30 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 23 Jul 2015 22:30:43 +0000 (18:30 -0400)
packages/angband/build.sh
packages/angband/no_langinfo.patch [deleted file]

index a87a874..2e17bce 100644 (file)
@@ -1,6 +1,5 @@
-TERMUX_PKG_VERSION=3.5.1
-TERMUX_PKG_SRCURL=http://rephial.org/downloads/3.5/angband-v${TERMUX_PKG_VERSION}.tar.gz
-TERMUX_PKG_FOLDERNAME=angband-$TERMUX_PKG_VERSION
+TERMUX_PKG_VERSION=4.0.1
+TERMUX_PKG_SRCURL=http://rephial.org/downloads/4.0/angband-${TERMUX_PKG_VERSION}.tar.gz
 TERMUX_PKG_HOMEPAGE=http://rephial.org/
 TERMUX_PKG_DESCRIPTION="Dungeon exploration game where you play an adventurer seeking riches, fighting monsters and preparing for a final battle with Morgoth, the Lord of Darkness"
 TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
diff --git a/packages/angband/no_langinfo.patch b/packages/angband/no_langinfo.patch
deleted file mode 100644 (file)
index d15d612..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -u -r ../angband-v3.5.0/src/main.c ./src/main.c
---- ../angband-v3.5.0/src/main.c       2013-12-24 16:56:52.000000000 +0100
-+++ ./src/main.c       2014-02-06 03:15:12.000000000 +0100
-@@ -23,8 +23,10 @@
- #include "savefile.h"
- /* locale junk */
-+#ifndef __ANDROID__
- #include "locale.h"
- #include "langinfo.h"
-+#endif
- /*
-  * Some machines have a "main()" function in their "main-xxx.c" file,
-@@ -555,11 +557,13 @@
-       if (mstr)
-               ANGBAND_SYS = mstr;
-+#ifndef __ANDROID__
-       if (setlocale(LC_CTYPE, "")) {
-               /* Require UTF-8 */
-               if (strcmp(nl_langinfo(CODESET), "UTF-8") != 0)
-                       quit("Angband requires UTF-8 support");
-       }
-+#endif
-       /* Try the modules in the order specified by modules[] */
-       for (i = 0; i < (int)N_ELEMENTS(modules); i++)