From 9fe700504a6d5a382bb071cacb7fef23539af769 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sat, 9 May 2020 21:17:00 +0200 Subject: [PATCH] myman: fix build Also bump gnuski to restart build --- packages/gnuski/build.sh | 2 +- packages/myman/Makefile.patch | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/gnuski/build.sh b/packages/gnuski/build.sh index 99e29fed7..e6a923ec8 100644 --- a/packages/gnuski/build.sh +++ b/packages/gnuski/build.sh @@ -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" diff --git a/packages/myman/Makefile.patch b/packages/myman/Makefile.patch index 05a0046cb..1dec990f2 100644 --- a/packages/myman/Makefile.patch +++ b/packages/myman/Makefile.patch @@ -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,$<)