Upstream: no Description: we should always use full path (i.e. gpgme++/context.h), however those file hierarchy is made by installation step, thus libreoffice must use the non-prefix for vendored file. --- a/comphelper/source/misc/docpasswordhelper.cxx +++ b/comphelper/source/misc/docpasswordhelper.cxx @@ -39,9 +39,9 @@ #include #if HAVE_FEATURE_GPGME -# include -# include -# include +# include +# include +# include #endif using ::com::sun::star::uno::Sequence; --- a/comphelper/source/misc/storagehelper.cxx +++ b/comphelper/source/misc/storagehelper.cxx @@ -60,10 +60,10 @@ #include #if HAVE_FEATURE_GPGME -# include -# include -# include -# include +# include +# include +# include +# include #endif using namespace ::com::sun::star; --- a/configure.ac +++ b/configure.ac @@ -13184,7 +13184,7 @@ elif test \( \( "$_os" = "Linux" -o "$_o SYSTEM_GPGMEPP=TRUE # C++ library doesn't come with fancy gpgmepp-config, check for headers the old-fashioned way - AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [ GPGMEPP_CFLAGS=-I/usr/include/gpgme++ ], + AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [], [AC_MSG_ERROR([gpgmepp headers not found, install gpgmepp >= 1.14 development package])], []) AC_CHECK_HEADER(gpgme.h, [], [AC_MSG_ERROR([gpgme headers not found, install gpgme development package])], []) --- a/xmlsecurity/source/gpg/CertificateImpl.cxx +++ b/xmlsecurity/source/gpg/CertificateImpl.cxx @@ -17,8 +17,8 @@ #include #include -#include -#include +#include +#include using namespace css; using namespace css::uno; --- a/xmlsecurity/source/gpg/SEInitializer.cxx +++ b/xmlsecurity/source/gpg/SEInitializer.cxx @@ -12,7 +12,7 @@ #include "SecurityEnvironment.hxx" #include "XMLSecurityContext.hxx" -#include +#include namespace com::sun::star::uno { --- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx +++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx @@ -24,8 +24,8 @@ #include #endif -#include -#include +#include +#include #include #include #include @@ -38,7 +38,7 @@ #if defined _MSC_VER && defined __clang__ #pragma clang diagnostic pop #endif -#include +#include using namespace css; using namespace css::security; --- a/xmlsecurity/source/gpg/CertificateImpl.hxx +++ b/xmlsecurity/source/gpg/CertificateImpl.hxx @@ -25,7 +25,7 @@ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wundef" #endif -#include +#include #if defined _MSC_VER && defined __clang__ #pragma clang diagnostic pop #endif --- a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx +++ b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx @@ -31,10 +31,10 @@ #if defined _MSC_VER && defined __clang__ #pragma clang diagnostic pop #endif -#include -#include -#include -#include +#include +#include +#include +#include #include #include