lzip: update to 1.22

This commit is contained in:
Leonid Pliushch 2021-02-05 21:42:10 +00:00
parent 54490c0f79
commit cee3acc7ca
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 11 additions and 19 deletions

View File

@ -2,8 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.nongnu.org/lzip/
TERMUX_PKG_DESCRIPTION="Lossless data compressor similar to gzip and bzip2" TERMUX_PKG_DESCRIPTION="Lossless data compressor similar to gzip and bzip2"
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.21 TERMUX_PKG_VERSION=1.22
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://download.savannah.gnu.org/releases/lzip/lzip-${TERMUX_PKG_VERSION}.tar.lz TERMUX_PKG_SRCURL=https://download.savannah.gnu.org/releases/lzip/lzip-${TERMUX_PKG_VERSION}.tar.lz
TERMUX_PKG_SHA256=68c703c7b5198b3fd7a0c3f20011e9a8c938b8dec14824c4c873922fdb01719f TERMUX_PKG_SHA256=8fddf17bdca6bd4694c6015424d3162f14e7c1599373601aa3316a92ca1b5042
TERMUX_PKG_DEPENDS="libc++" TERMUX_PKG_DEPENDS="libc++"

View File

@ -1,25 +1,18 @@
diff -u -r ../lzip-1.19/configure ./configure diff -uNr lzip-1.22/configure lzip-1.22.mod/configure
--- ../lzip-1.19/configure 2017-04-13 12:52:40.000000000 +0200 --- lzip-1.22/configure 2021-01-01 13:06:33.000000000 +0000
+++ ./configure 2017-05-02 10:44:44.249358716 +0200 +++ lzip-1.22.mod/configure 2021-02-05 22:12:08.991335490 +0000
@@ -20,17 +20,10 @@ @@ -23,10 +23,10 @@
datarootdir='$(prefix)/share' build=no
infodir='$(datarootdir)/info' check=no
mandir='$(datarootdir)/man' installdir=
-CXX=g++ -CXX=g++
-CPPFLAGS= -CPPFLAGS=
-CXXFLAGS='-Wall -W -O2' -CXXFLAGS='-Wall -W -O2'
-LDFLAGS= -LDFLAGS=
-
-# checking whether we are using GNU C++.
-/bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
- {
- CXX=c++
- CXXFLAGS=-O2
- }
+CXX?=g++ +CXX?=g++
+CPPFLAGS?= +CPPFLAGS?=
+CXXFLAGS?='-Wall -W -O2' +CXXFLAGS?='-Wall -W -O2'
+LDFLAGS?= +LDFLAGS?=
# Loop over all args # checking whether we are using GNU C++.
args= /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }