preload-hacks: Some patches to make it work.
[termux-packages] / packages / ddrescue / fix-configure.patch
CommitLineData
36e77394
FF
1diff -u -r ../ddrescue-1.23/configure ./configure
2--- ../ddrescue-1.23/configure 2018-02-13 12:54:43.000000000 +0000
3+++ ./configure 2018-02-18 21:07:51.862861331 +0000
539ae082
LP
4@@ -15,23 +15,15 @@
5 LC_ALL=C
6 export LC_ALL
7 srcdir=
8-prefix=/usr/local
36e77394 9+prefix?=/usr/local
539ae082
LP
10 exec_prefix='$(prefix)'
11 bindir='$(exec_prefix)/bin'
12 datarootdir='$(prefix)/share'
13 infodir='$(datarootdir)/info'
14 mandir='$(datarootdir)/man'
15-CXX=g++
36e77394 16+CXX?=g++
539ae082 17 CPPFLAGS=
36e77394 18-CXXFLAGS='-Wall -W -O2'
539ae082
LP
19-LDFLAGS=
20-
21-# checking whether we are using GNU C++.
22-/bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
23- {
24- CXX=c++
36e77394 25- CXXFLAGS=-O2
539ae082 26- }
36e77394 27+CXXFLAGS?='-Wall -W -O2'
539ae082
LP
28
29 # Loop over all args
30 args=