slackware-current/source/l/netpbm/netpbm-ppmfadeusage.patch
Patrick J Volkerding cb4e8726f4 Mon Oct 2 19:12:58 UTC 2023
kde/kwin-5.27.8-x86_64-2.txz:  Rebuilt.
  [PATCH] fix segfault in EglGbmBackend::textureForOutput.
  Thanks to marav.
l/SDL2-2.28.4-x86_64-1.txz:  Upgraded.
l/mlt-7.20.0-x86_64-1.txz:  Upgraded.
l/netpbm-11.04.02-x86_64-1.txz:  Upgraded.
x/xterm-385-x86_64-1.txz:  Upgraded.
xfce/xfce4-pulseaudio-plugin-0.4.8-x86_64-1.txz:  Upgraded.
2023-10-02 21:29:22 +02:00

51 lines
1.4 KiB
Diff

--- ./editor/ppmfade.orig 2023-10-02 13:25:51.308938861 -0500
+++ ./editor/ppmfade 2023-10-02 13:28:24.940930364 -0500
@@ -109,13 +109,13 @@
print STDERR ("There are no non-option arguments possible. " .
"You specified '$arg'\n");
}
- exit 100;
+ exit 1;
}
}
if (!defined($firstFileNm) && !defined($lastFileNm)) {
print STDERR ("You must specify -f or -l (or both)\n");
- exit 90;
+ exit 1;
}
if (!defined($mode)) {
@@ -142,7 +142,7 @@
} else {
print STDERR
("Unrecognized results from pnmfile on $firstFileNm.\n");
- exit(50);
+ exit 1;
}
} else {
# $lastFileNm is defined
@@ -151,7 +151,7 @@
} else {
print STDERR
("Unrecognized results from pnmfile on $firstFileNm.\n");
- exit(50);
+ exit 1;
}
}
return $width, $height;
@@ -436,12 +436,12 @@
if (defined($firstFileNm) && !-e($firstFileNm)) {
print STDERR ("First file '$firstFileNm' does not exist\n");
- exit 20;
+ exit 1;
}
if (defined($lastFileNm) && !-e($lastFileNm)) {
print STDERR ("Last file '$lastFileNm' does not exist\n");
- exit 20;
+ exit 1;
}
my ($width, $height) = imageDimensions($firstFileNm, $lastFileNm);