termux-packages/packages/enscript/diffpp.patch.txt

12 lines
336 B
Plaintext

--- enscript-1.6.6/scripts/diffpp 2018-08-26 16:51:49.594000009 +0530
+++ diffpp 2018-08-27 18:05:56.762000111 +0530
@@ -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;