unrar: update to 6.1.6

This commit is contained in:
Yaksh Bariya 2022-03-27 13:36:15 +05:30
parent 423cfbbbd0
commit b042aa8480
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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: