X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fgnupg2%2F0001-fix-pth-config-usage.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fgnupg2%2F0001-fix-pth-config-usage.patch;h=e58aad3f7498a15d07ab215bc64cb0ca0bceb6c7;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/gnupg2/0001-fix-pth-config-usage.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/gnupg2/0001-fix-pth-config-usage.patch new file mode 100644 index 0000000..e58aad3 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/gnupg2/0001-fix-pth-config-usage.patch @@ -0,0 +1,27 @@ +Fix usage of PTH_CONFIG to work with pthsem + +The pthsem re-implement of pth provides a compatibility layer for pth, +but its pth-config script behaves slightly differently than the +original one when reporting the version number. This patch to gnupg2's +configure script adjusts the version checking to support this +difference, since Buildroot uses pth-config from pthsem. + +We patch directly the configure script, because triggering the entire +autoreconf dance for just a one byte change in the configure script +seems a bit silly. + +Signed-off-by: Thomas Petazzoni + +Index: b/configure +=================================================================== +--- a/configure ++++ b/configure +@@ -8346,7 +8346,7 @@ + tmp=1.3.7 + if test "$PTH_CONFIG" != "no"; then + +- _pth_version=`$PTH_CONFIG --version | awk 'NR==1 {print $3}'` ++ _pth_version=`$PTH_CONFIG --version | awk 'NR==1 {print $2}'` + _req_version="$tmp" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTH - version >= $_req_version" >&5