]> git.pld-linux.org Git - packages/gdal.git/blame - gdal-armadillo.patch
adjusted upstream patch to fix build with poppler 0.69.0
[packages/gdal.git] / gdal-armadillo.patch
CommitLineData
779b0eec 1Kill warnings in Armadillo detection code to make compiler output empty
743c2d9c
JR
2--- gdal-1.11.0/configure.ac.orig 2014-06-14 15:45:50.005039893 +0200
3+++ gdal-1.11.0/configure.ac 2014-06-14 16:46:47.261630331 +0200
779b0eec
JB
4@@ -4227,7 +4227,7 @@
5 rm -f testarmadillo.*
6 rm -f testarmadillo
7 echo '#include <armadillo>' > testarmadillo.cpp
8- echo 'int main(int argc, char** argv) { arma::mat matInput(2,2); const arma::mat& matInv = arma::inv(matInput); return 0; } ' >> testarmadillo.cpp
779b0eec 9+ echo 'int main(int, char**) { arma::mat matInput(2,2); const arma::mat& matInv = arma::inv(matInput); (void)matInv; return 0; } ' >> testarmadillo.cpp
38239d5e 10 if test -z "`${CXX} ${CPPFLAGS} testarmadillo.cpp -o testarmadillo -larmadillo 2>&1`" ; then
779b0eec
JB
11 HAVE_ARMADILLO=yes
12 LIBS="-larmadillo ${LIBS}"
This page took 0.054291 seconds and 4 git commands to generate.