summary refs log tree commit diff
path: root/pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch')
-rw-r--r--pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch b/pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch
new file mode 100644
index 00000000000..ff522735fe3
--- /dev/null
+++ b/pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch
@@ -0,0 +1,15 @@
+--- a/t/351_unpaper.t
++++ b/t/351_unpaper.t
+@@ -88,8 +88,10 @@
+ 
+                         # if we use unlike, we no longer
+                         # know how many tests there will be
+-                        if ( $msg !~
+-/(deprecated|Encoder did not produce proper pts, making some up)/
++                        if ( $msg !~ /( deprecated |
++                            \Qdoes not contain an image sequence pattern\E |
++                            \QEncoder did not produce proper pts, making some up\E |
++                            \Quse the -update option\E )/x
+                           )
+                         {
+                             fail 'no warnings';