calc: update to 2.12.8.0

Switch to getting src from github, this is recommended on the website (also
gives us https).
This commit is contained in:
Henrik Grimler 2021-02-14 08:22:55 +01:00
parent 65bc5a1138
commit 449e7e43c3
2 changed files with 10 additions and 9 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://www.isthe.com/chongo/tech/comp/calc/
TERMUX_PKG_DESCRIPTION="Arbitrary precision console calculator"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.12.7.6
TERMUX_PKG_SRCURL=http://www.isthe.com/chongo/src/calc/calc-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=3e0f27bd6f910f2d556fe5e0fb9b670f16445640fcd157101b26556b2abccec9
TERMUX_PKG_VERSION=2.12.8.0
TERMUX_PKG_SRCURL=https://github.com/lcn2/calc/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4c632a5336e497d8912c6640fd78ac6edfbd0f0e2939e9f1b4a010b994662e63
TERMUX_PKG_DEPENDS="ncurses, ncurses-ui-libs, readline"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -1,11 +1,12 @@
diff -uNr calc-2.12.7.6/Makefile calc-2.12.7.6.mod/Makefile
--- calc-2.12.7.6/Makefile 2021-02-03 20:52:43.000000000 +0000
+++ calc-2.12.7.6.mod/Makefile 2021-02-04 20:00:47.075344477 +0000
@@ -1122,7 +1122,7 @@
# CCMISC and preceed EXTRA_CFLAGS.
--- ./Makefile.ship~ 2021-02-13 06:35:46.000000000 +0000
+++ ./Makefile.ship 2021-02-14 07:20:08.457009951 +0000
@@ -1125,8 +1125,8 @@
# The ARCH_CFLAGS are ${CC} when compiling C files. They follow
# CCMISC and precede EXTRA_CFLAGS.
#
ARCH_CFLAGS= -march=native
-ARCH_CFLAGS= -march=native
-#ARCH_CFLAGS=
+#ARCH_CFLAGS= -march=native
+ARCH_CFLAGS=
# COMMON_CFLAGS are the common ${CC} flags used for all programs, both