nixpkgs/pkgs/applications/graphics/gscan2pdf/ffmpeg5-compat.patch
Martin Weinelt 608a3ef0b7
gscan2pdf: 2.12.6 -> 2.12.8
Adds a patch that fixes ffmpeg 5.1 compatibility
2022-09-25 17:54:23 +02:00

16 lines
672 B
Diff

--- 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';