Browse Source

ddrescue: Update from 1.22 to 1.23

android-5
Fredrik Fornwall 7 years ago
parent
commit
36e77394c2
  1. 7
      packages/ddrescue/build.sh
  2. 15
      packages/ddrescue/fix-configure.patch

7
packages/ddrescue/build.sh

@ -1,6 +1,5 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/ddrescue/ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/ddrescue/
TERMUX_PKG_DESCRIPTION="GNU data recovery tool" TERMUX_PKG_DESCRIPTION="GNU data recovery tool"
TERMUX_PKG_VERSION=1.22 TERMUX_PKG_VERSION=1.23
TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=a9ae2dd44592bf386c9c156a5dacaeeb901573c9867ada3608f887d401338d8d
TERMUX_PKG_SRCURL=http://mirror.switch.ch/ftp/mirror/gnu/ddrescue/ddrescue-${TERMUX_PKG_VERSION}.tar.lz TERMUX_PKG_SRCURL=http://mirrors.kernel.org/gnu/ddrescue/ddrescue-${TERMUX_PKG_VERSION}.tar.lz
TERMUX_PKG_SHA256=09857b2e8074813ac19da5d262890f722e5f7900e521a4c60354cef95eea10a7

15
packages/ddrescue/fix-configure.patch

@ -1,29 +1,30 @@
diff -uNr ddrescue-1.22/configure ddrescue-1.22.mod/configure diff -u -r ../ddrescue-1.23/configure ./configure
--- ddrescue-1.22/configure 2017-02-03 14:22:59.000000000 +0200 --- ../ddrescue-1.23/configure 2018-02-13 12:54:43.000000000 +0000
+++ ddrescue-1.22.mod/configure 2017-09-09 22:03:38.904467078 +0300 +++ ./configure 2018-02-18 21:07:51.862861331 +0000
@@ -15,23 +15,15 @@ @@ -15,23 +15,15 @@
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
srcdir= srcdir=
-prefix=/usr/local -prefix=/usr/local
+prefix=@TERMUX_PREFIX@ +prefix?=/usr/local
exec_prefix='$(prefix)' exec_prefix='$(prefix)'
bindir='$(exec_prefix)/bin' bindir='$(exec_prefix)/bin'
datarootdir='$(prefix)/share' datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info' infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man' mandir='$(datarootdir)/man'
-CXX=g++ -CXX=g++
+CXX?=g++
CPPFLAGS= CPPFLAGS=
CXXFLAGS='-Wall -W -O2' -CXXFLAGS='-Wall -W -O2'
-LDFLAGS= -LDFLAGS=
- -
-# checking whether we are using GNU C++. -# checking whether we are using GNU C++.
-/bin/sh -c "${CXX} --version" > /dev/null 2>&1 || -/bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
- { - {
- CXX=c++ - CXX=c++
- CXXFLAGS='-W -O2' - CXXFLAGS=-O2
- } - }
+LDFLAGS=-L/data/data/com.termux/files/usr/lib +CXXFLAGS?='-Wall -W -O2'
# Loop over all args # Loop over all args
args= args=

Loading…
Cancel
Save