components/gpgme/patches/000-gpgme-config.in.patch
author pkidd <patrick.kidd@oracle.com>
Wed, 21 Sep 2016 09:54:51 -0700
branchs11u3-sru
changeset 6948 3bfd310e175b
parent 4665 ac89769a1a3b
permissions -rw-r--r--
Added tag 0.175.3.13.0.3.0, S11.3SRU13.3 for changeset 08b09d8a757a

# Internal patch.
# GpgME can't find /usr/bin/gpg2 and /usr/bin/gpgsm,
# which are needed by gpgme-config. So, we have to find
# them instead.
# Not for upstream because they should fix this.
--- src/gpgme-config.in	2013-03-15 12:27:33.000000000 -0700
+++ src/gpgme-config.in	2015-05-14 12:28:27.296390126 -0700
@@ -179,10 +179,10 @@
 	    fi
 	    ;;
         --get-gpg)
-            output="$output @GPG@"
+            output="$output /usr/bin/gpg2"
             ;;
         --get-gpgsm)
-            output="$output @GPGSM@"
+            output="$output /usr/bin/gpgsm"
             ;;
 	*)
             usage 1 1>&2