forked from pool/gnu_parallel
Jan Engelhardt
fdbfbe37a2
OBS-URL: https://build.opensuse.org/package/show/utilities/gnu_parallel?expand=0&rev=150
55 lines
1.9 KiB
Diff
55 lines
1.9 KiB
Diff
From: Andreas Stieger <astieger@suse.com>
|
|
Date: Fri, 07 Jul 2017 14:55:15 +0000
|
|
Subject: remove nag screen
|
|
Upstream: no
|
|
References: https://bugs.launchpad.net/ubuntu/+source/parallel/+bug/1779764
|
|
|
|
Removes the nag screen printed to stdout.
|
|
https://en.opensuse.org/openSUSE:Packaging_guidelines#Donation_requests
|
|
|
|
---
|
|
src/parallel | 2 ++
|
|
src/sem | 2 ++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
Index: parallel-20210922/src/parallel
|
|
===================================================================
|
|
--- parallel-20210922.orig/src/parallel
|
|
+++ parallel-20210922/src/parallel
|
|
@@ -2052,6 +2052,7 @@ sub parse_options(@) {
|
|
if(defined $opt::eta) { $opt::progress = $opt::eta; }
|
|
if(defined $opt::bar) { $opt::progress = $opt::bar; }
|
|
|
|
+if (0) {
|
|
# Funding a free software project is hard. GNU Parallel is no
|
|
# exception. On top of that it seems the less visible a project
|
|
# is, the harder it is to get funding. And the nature of GNU
|
|
@@ -2127,6 +2128,7 @@ sub parse_options(@) {
|
|
# line. This is because _YOU_ actively make it harder to justify
|
|
# spending time developing GNU Parallel.
|
|
|
|
+}
|
|
parse_halt();
|
|
|
|
if($ENV{'PARALLEL_ENV'}) {
|
|
Index: parallel-20210922/src/sem
|
|
===================================================================
|
|
--- parallel-20210922.orig/src/sem
|
|
+++ parallel-20210922/src/sem
|
|
@@ -2052,6 +2052,7 @@ sub parse_options(@) {
|
|
if(defined $opt::eta) { $opt::progress = $opt::eta; }
|
|
if(defined $opt::bar) { $opt::progress = $opt::bar; }
|
|
|
|
+if (0) {
|
|
# Funding a free software project is hard. GNU Parallel is no
|
|
# exception. On top of that it seems the less visible a project
|
|
# is, the harder it is to get funding. And the nature of GNU
|
|
@@ -2127,6 +2128,7 @@ sub parse_options(@) {
|
|
# line. This is because _YOU_ actively make it harder to justify
|
|
# spending time developing GNU Parallel.
|
|
|
|
+}
|
|
parse_halt();
|
|
|
|
if($ENV{'PARALLEL_ENV'}) {
|