libllvm: Fix building under ubuntu 18.04
[termux-packages] / packages / ddrescue / fix-configure.patch
1 diff -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
4 @@ -15,23 +15,15 @@
5 LC_ALL=C
6 export LC_ALL
7 srcdir=
8 -prefix=/usr/local
9 +prefix?=/usr/local
10 exec_prefix='$(prefix)'
11 bindir='$(exec_prefix)/bin'
12 datarootdir='$(prefix)/share'
13 infodir='$(datarootdir)/info'
14 mandir='$(datarootdir)/man'
15 -CXX=g++
16 +CXX?=g++
17 CPPFLAGS=
18 -CXXFLAGS='-Wall -W -O2'
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++
25 - CXXFLAGS=-O2
26 - }
27 +CXXFLAGS?='-Wall -W -O2'
28
29 # Loop over all args
30 args=