app-office/libreoffice: Fix build with <poppler-0.73
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 16 Jan 2019 16:23:05 +0000 (17:23 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 16 Jan 2019 16:23:05 +0000 (17:23 +0100)
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/libreoffice/files/libreoffice-6.2.0.2-poppler-0.73.patch

index eb6d597c19571f26489ad77f05ccf0bdc6360779..fb9112bc3981bed8da88a547fc0778429ad1712c 100644 (file)
@@ -59,7 +59,7 @@ index da021a2a..443e757 100644
  typedef std::vector< Output_t > OutputBuffer;
  
 +#if !POPPLER_CHECK_VERSION(0, 73, 0)
-+static_assert(std::is_same_v<Guchar, unsigned char>, "unexpected typedef");
++static_assert(std::is_same<Guchar, unsigned char>::value, "unexpected typedef");
 +#endif
 +
  #endif // INCLUDED_SDEXT_SOURCE_PDFIMPORT_XPDFWRAPPER_PDFIOUTDEV_GPL_HXX