deri pushed a commit to branch master
in repository groff.

commit ba849da1b99a2ac54709d7cecf2aad54c5f0277a
Author: Deri James <[email protected]>
AuthorDate: Tue Oct 15 13:58:19 2024 +0100

    Work around debian's ImageMagick policy.
    
    * src/devices/gropdf/gropdf.pl: Don't use perlmagick to embed
    PDFs
    
    Fixes <https://savannah.gnu.org/bugs/index.php?66333>. Thanks
    to Branden for the report.
---
 ChangeLog                    | 10 ++++++++++
 src/devices/gropdf/gropdf.pl |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 11c5a83b7..2e210c821 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-10-15  Deri James  <[email protected]>
+
+       Work around debian's ImageMagick policy.
+
+       * src/devices/gropdf/gropdf.pl: Don't use perlmagick to embed
+       PDFs
+
+       Fixes <https://savannah.gnu.org/bugs/index.php?66333>. Thanks
+       to Branden for the report.
+
 2024-10-13  G. Branden Robinson <[email protected]>
 
        * tmac/s.tmac (XA): Revert commit a6e09ca7fb, 2022-04-17.  The
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index a6f7b6fee..05ea97866 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1681,7 +1681,7 @@ sub do_x
 
                if (!exists($incfil{$fil}))
                {
-                   if ($gotexif)
+                   if ($gotexif and $FDnm!~m/\.pdf$/i)
                    {
                        binmode $FD;
 

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to