chiark / gitweb /
libandroid-support: Add wcslcpy to header
[termux-packages] / packages / apt / gpgv.patch
1 diff -u -r ../upstream.git/apt-pkg/contrib/gpgv.cc ./apt-pkg/contrib/gpgv.cc
2 --- ../upstream.git/apt-pkg/contrib/gpgv.cc     2014-04-25 13:39:00.000000000 +0200
3 +++ ./apt-pkg/contrib/gpgv.cc   2014-06-06 00:18:13.209224724 +0200
4 @@ -43,7 +84,7 @@
5               int const &statusfd, int fd[2])
6  {
7     #define EINTERNAL 111
8 -   std::string const gpgvpath = _config->Find("Dir::Bin::gpg", "/usr/bin/gpgv");
9 +   std::string const gpgvpath = _config->Find("Dir::Bin::gpg", "@TERMUX_PREFIX@/bin/gpgv");
10     // FIXME: remove support for deprecated APT::GPGV setting
11     std::string const trustedFile = _config->Find("APT::GPGV::TrustedKeyring", _config->FindFile("Dir::Etc::Trusted"));
12     std::string const trustedPath = _config->FindDir("Dir::Etc::TrustedParts");