From b042aa8480b2cb064b3231b727eab7c5ce4950b9 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Sun, 27 Mar 2022 13:36:15 +0530 Subject: [PATCH] unrar: update to 6.1.6 --- packages/unrar/build.sh | 5 ++--- packages/unrar/makefile.patch | 11 ++++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/unrar/build.sh b/packages/unrar/build.sh index 642ca421f..b39fe6347 100644 --- a/packages/unrar/build.sh +++ b/packages/unrar/build.sh @@ -3,9 +3,8 @@ TERMUX_PKG_DESCRIPTION="Tool for extracting files from .rar archives" TERMUX_PKG_LICENSE="non-free" TERMUX_PKG_LICENSE_FILE="license.txt" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=6.1.2 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=6.1.6 TERMUX_PKG_SRCURL=https://www.rarlab.com/rar/unrarsrc-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=3e96421f568e438af6dcdaef717c48eb93b825d97058ebcb173b9bfc57807be3 +TERMUX_PKG_SHA256=67f4ab891c062218c2badfaac9c8cab5c8bfd5e96dabfca56c8faa3d209a801d TERMUX_PKG_DEPENDS="libandroid-support, libc++" TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/unrar/makefile.patch b/packages/unrar/makefile.patch index 99626348a..e0a86ceec 100644 --- a/packages/unrar/makefile.patch +++ b/packages/unrar/makefile.patch @@ -1,6 +1,6 @@ ---- ./makefile.orig 2021-05-25 19:02:31.081243251 +0000 -+++ ./makefile 2021-05-25 19:02:50.741677177 +0000 -@@ -2,14 +2,13 @@ +--- ./makefile.orig 2022-03-27 13:31:57.231913431 +0530 ++++ ./makefile 2022-03-27 13:33:07.581913404 +0530 +@@ -2,14 +2,14 @@ # Makefile for UNIX - unrar # Linux using GCC @@ -8,7 +8,8 @@ -CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -LIBFLAGS=-fPIC +CXX?=c++ -+CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else ++CXXFLAGS?= ++CXXFLAGS+=-O3 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else +LIBFLAGS=$(LDFLAGS) DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -STRIP=strip @@ -21,7 +22,7 @@ # Linux using LCC #CXX=lcc -@@ -161,14 +160,14 @@ +@@ -161,14 +161,14 @@ $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ) install-unrar: