<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">GCC7 fixes

error: function 'GfxFontLoc&amp; GfxFontLoc::operator=(GfxFontLoc&amp;&amp;)' defaulted on
its redeclaration with an exception-specification that differs from the
implicit exception-specification ''

error: function 'X509CertificateInfo::EntityInfo&amp;
X509CertificateInfo::EntityInfo::operator=(X509CertificateInfo::EntityInfo&amp;&amp;)'
defaulted on its redeclaration with an exception-specification that differs
from the implicit exception-specification ''

--- poppler/GfxFont.cc.orig
+++ poppler/GfxFont.cc
@@ -180,7 +180,7 @@
 
 GfxFontLoc::GfxFontLoc(GfxFontLoc &amp;&amp;other) noexcept = default;
 
-GfxFontLoc &amp;GfxFontLoc::operator=(GfxFontLoc &amp;&amp;other) noexcept = default;
+GfxFontLoc &amp;GfxFontLoc::operator=(GfxFontLoc &amp;&amp;other) = default;
 
 void GfxFontLoc::setPath(GooString *pathA)
 {
--- poppler/GfxFont.h.orig
+++ poppler/GfxFont.h
@@ -124,7 +122,7 @@
     GfxFontLoc(const GfxFontLoc &amp;) = delete;
     GfxFontLoc(GfxFontLoc &amp;&amp;) noexcept;
     GfxFontLoc &amp;operator=(const GfxFontLoc &amp;) = delete;
-    GfxFontLoc &amp;operator=(GfxFontLoc &amp;&amp;other) noexcept;
+    GfxFontLoc &amp;operator=(GfxFontLoc &amp;&amp;other);
 
     // Set the 'path' string from a GooString on the heap.
     // Ownership of the object is taken.
--- poppler/CertificateInfo.cc.orig
+++ poppler/CertificateInfo.cc
@@ -39,7 +39,7 @@
 
 X509CertificateInfo::EntityInfo::EntityInfo(X509CertificateInfo::EntityInfo &amp;&amp;other) noexcept = default;
 
-X509CertificateInfo::EntityInfo &amp;X509CertificateInfo::EntityInfo::operator=(X509CertificateInfo::EntityInfo &amp;&amp;other) noexcept = default;
+X509CertificateInfo::EntityInfo &amp;X509CertificateInfo::EntityInfo::operator=(X509CertificateInfo::EntityInfo &amp;&amp;other) = default;
 
 X509CertificateInfo::X509CertificateInfo() : ku_extensions(KU_NONE), cert_version(-1), is_self_signed(false) { }
 
--- poppler/CertificateInfo.h.orig
+++ poppler/CertificateInfo.h
@@ -70,7 +70,7 @@
         ~EntityInfo();
 
         EntityInfo(EntityInfo &amp;&amp;) noexcept;
-        EntityInfo &amp;operator=(EntityInfo &amp;&amp;) noexcept;
+        EntityInfo &amp;operator=(EntityInfo &amp;&amp;);
 
         EntityInfo(const EntityInfo &amp;) = delete;
         EntityInfo &amp;operator=(const EntityInfo &amp;) = delete;
</pre></body></html>