myman: fix build

Also bump gnuski to restart build
This commit is contained in:
Henrik Grimler 2020-05-09 21:17:00 +02:00
parent 3418a22374
commit 9fe700504a
2 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open source clone of Skifree, the old Windows game"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=0.3
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/gnuski/files/gnuski/gnuski-${TERMUX_PKG_VERSION}/gnuski-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=1b629bd29dd6ad362b56055ccdb4c7ad462ff39d7a0deb915753c2096f5f959d
TERMUX_PKG_DEPENDS="ncurses"

View File

@ -1,5 +1,14 @@
--- ../Makefile.orig 2020-05-09 11:22:42.148997286 +0200
+++ ./Makefile 2020-05-09 18:21:32.486951866 +0200
+++ ./Makefile 2020-05-09 21:15:52.803520582 +0200
@@ -1682,7 +1682,7 @@
endif
else
ifeq ($(subst default,undefined,$(origin HOSTCC)),undefined)
-HOSTCC = ${hostprefix}gcc
+HOSTCC = ${hostprefix}clang
endif
endif
@@ -1748,11 +1748,11 @@
ifneq (,$(findstring bcc32,${CC}))
LINK = ${CC} ${CFLAGS} ${EXTRACFLAGS} -e$(call q,$@) $(call q,$<)