Update tsu to v2.0.0 (#2237)
[termux-packages] / packages / ddrescue / fix-configure.patch
index 372e2a3..3f5af42 100644 (file)
@@ -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=