From 36e77394c2f0eb617a6947dff765701614a795d1 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 18 Feb 2018 22:09:36 +0100 Subject: [PATCH] ddrescue: Update from 1.22 to 1.23 --- packages/ddrescue/build.sh | 7 +++---- packages/ddrescue/fix-configure.patch | 15 ++++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/ddrescue/build.sh b/packages/ddrescue/build.sh index c309b855d..09268a464 100644 --- a/packages/ddrescue/build.sh +++ b/packages/ddrescue/build.sh @@ -1,6 +1,5 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/ddrescue/ TERMUX_PKG_DESCRIPTION="GNU data recovery tool" -TERMUX_PKG_VERSION=1.22 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SRCURL=http://mirror.switch.ch/ftp/mirror/gnu/ddrescue/ddrescue-${TERMUX_PKG_VERSION}.tar.lz -TERMUX_PKG_SHA256=09857b2e8074813ac19da5d262890f722e5f7900e521a4c60354cef95eea10a7 +TERMUX_PKG_VERSION=1.23 +TERMUX_PKG_SHA256=a9ae2dd44592bf386c9c156a5dacaeeb901573c9867ada3608f887d401338d8d +TERMUX_PKG_SRCURL=http://mirrors.kernel.org/gnu/ddrescue/ddrescue-${TERMUX_PKG_VERSION}.tar.lz diff --git a/packages/ddrescue/fix-configure.patch b/packages/ddrescue/fix-configure.patch index 372e2a3b2..3f5af42db 100644 --- a/packages/ddrescue/fix-configure.patch +++ b/packages/ddrescue/fix-configure.patch @@ -1,29 +1,30 @@ -diff -uNr ddrescue-1.22/configure ddrescue-1.22.mod/configure ---- ddrescue-1.22/configure 2017-02-03 14:22:59.000000000 +0200 -+++ ddrescue-1.22.mod/configure 2017-09-09 22:03:38.904467078 +0300 +diff -u -r ../ddrescue-1.23/configure ./configure +--- ../ddrescue-1.23/configure 2018-02-13 12:54:43.000000000 +0000 ++++ ./configure 2018-02-18 21:07:51.862861331 +0000 @@ -15,23 +15,15 @@ LC_ALL=C export LC_ALL srcdir= -prefix=/usr/local -+prefix=@TERMUX_PREFIX@ ++prefix?=/usr/local exec_prefix='$(prefix)' bindir='$(exec_prefix)/bin' datarootdir='$(prefix)/share' infodir='$(datarootdir)/info' mandir='$(datarootdir)/man' -CXX=g++ ++CXX?=g++ CPPFLAGS= - CXXFLAGS='-Wall -W -O2' +-CXXFLAGS='-Wall -W -O2' -LDFLAGS= - -# checking whether we are using GNU C++. -/bin/sh -c "${CXX} --version" > /dev/null 2>&1 || - { - CXX=c++ -- CXXFLAGS='-W -O2' +- CXXFLAGS=-O2 - } -+LDFLAGS=-L/data/data/com.termux/files/usr/lib ++CXXFLAGS?='-Wall -W -O2' # Loop over all args args=