termux-packages/packages/enscript/diffpp.in.patch
Henrik Grimler dc896e159e
enscript: avoid manually applying patches
This also fixes the LibraryPath, seems @TERMUX_PREFIX@ was not sed'ed
in it before.
2022-02-22 21:10:05 +01:00

12 lines
337 B
Diff

--- ../diffpp.in.orig 2022-02-22 20:04:42.190819348 +0000
+++ ./scripts/diffpp.in 2022-02-22 20:05:18.550692024 +0000
@@ -69,7 +69,7 @@
open(FP, $file) || die "$program: couldn't open file `$file' for input: $!\n";
@orig_file = <FP>;
close(FP);
-$[ = 1;
+{ no warnings; $[ = 1; }
$orig_line_num = 1;
$orig_num_lines = @orig_file;