summaryrefslogtreecommitdiffstats
path: root/source/l/netpbm/netpbm-ppmfadeusage.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-11-13 05:15:29 +0000
committer Eric Hameleers <alien@slackware.com>2018-11-13 17:59:46 +0100
commit2520b90f18ab408818b967f77ef38c1be85de634 (patch)
treec07e9cf84c06eb9e4a8981d21cfc66fab58416d5 /source/l/netpbm/netpbm-ppmfadeusage.patch
parentcb1323a95c7d3275677760efd96a3eb9824c8aa8 (diff)
downloadcurrent-2520b90f18ab408818b967f77ef38c1be85de634.tar.gz
current-2520b90f18ab408818b967f77ef38c1be85de634.tar.xz
Tue Nov 13 05:15:29 UTC 201820181113051529
d/python-setuptools-40.6.1-x86_64-1.txz: Upgraded. l/M2Crypto-0.31.0-x86_64-1.txz: Upgraded. l/SDL2-2.0.9-x86_64-2.txz: Rebuilt. Fixed use of SDL_syswm.h with SDL_PROTOTYPES_ONLY in C++ mode. Thanks to orbea. l/libtiff-4.0.10-x86_64-1.txz: Upgraded. This update fixes some denial of service security issues. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7456 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8905 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10779 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10963 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18661 (* Security fix *) l/netpbm-10.84.02-x86_64-1.txz: Upgraded. n/net-snmp-5.8-x86_64-2.txz: Rebuilt. Recompiled to link the perl modules to the new libraries. Thanks to th_r.
Diffstat (limited to 'source/l/netpbm/netpbm-ppmfadeusage.patch')
-rw-r--r--source/l/netpbm/netpbm-ppmfadeusage.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/source/l/netpbm/netpbm-ppmfadeusage.patch b/source/l/netpbm/netpbm-ppmfadeusage.patch
new file mode 100644
index 000000000..d48f5f546
--- /dev/null
+++ b/source/l/netpbm/netpbm-ppmfadeusage.patch
@@ -0,0 +1,57 @@
+diff -urNp old/editor/ppmfade new/editor/ppmfade
+--- old/editor/ppmfade 2017-11-01 11:47:49.869611402 +0100
++++ new/editor/ppmfade 2017-11-01 11:53:25.524973342 +0100
+@@ -84,7 +84,7 @@ for ($n = 0; $n < @ARGV; $n++) {
+ if (-e $first_file) {
+ } else {
+ print "I can't find first file '$first_file'\n";
+- exit 20;
++ exit 1;
+ }
+ } elsif ($ARGV[$n] eq "-l") {
+ $n++;
+@@ -92,7 +92,7 @@ for ($n = 0; $n < @ARGV; $n++) {
+ if (-e $last_file) {
+ } else {
+ print "I can't find last file '$last_file'\n";
+- exit 20;
++ exit 1;
+ }
+ } elsif ($ARGV[$n] eq "-base") {
+ $n++;
+@@ -113,9 +113,12 @@ for ($n = 0; $n < @ARGV; $n++) {
+ $mode = $BLOCK;
+ } elsif ("$ARGV[$n]" eq "-mix") {
+ $mode = $MIX;
++ } elsif ($ARGV[$n] eq "-help" || $ARGV[$n] eq "--help" || $ARGV[$n] eq "-h") {
++ print "ppmfade: Use 'man ppmfade' for help.\n";
++ exit 1;
+ } else {
+ print "Unknown argument: $ARGV[$n]\n";
+- exit 100;
++ exit 1;
+ }
+ }
+ #
+@@ -134,18 +137,18 @@ if ($first_file ne "undefined") {
+ $width = $1; $height = $2;
+ } else {
+ print("Unrecognized results from pnmfile on $first_file.\n");
+- exit(50);
++ exit 1;
+ }
+ } elsif ($last_file ne "undefined") {
+ if ((`pnmfile $last_file` =~ m{\b(\d+)\sby\s(\d+)} )) {
+ $width = $1; $height = $2;
+ } else {
+ print("Unrecognized results from pnmfile on $first_file.\n");
+- exit(50);
++ exit 1;
+ }
+ } else {
+ print("ppmfade: You must specify -f or -l (or both)\n");
+- exit(90);
++ exit 1;
+ }
+
+ print("Frames are " . $width . "W x " . $height . "H\n");