gnu_parallel/parallel-remove-nag-screen.patch

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-20230322/src/parallel
===================================================================
--- parallel-20230322.orig/src/parallel
+++ parallel-20230322/src/parallel
@@ -2575,6 +2575,7 @@ sub parse_options(@) {
# out, and if it works, you should post it on the email
# list. Ideas that will cost work and which have not been tested
# are, however, unlikely to be prioritized.
+ if (0) {
#
# Please note that GPL version 3 gives you the right to fork GNU
# Parallel under a new name, but it does not give you the right to
@@ -2614,6 +2615,7 @@ sub parse_options(@) {
# accept to be added to a public hall of shame by removing the
# line. That includes you, Andreas and George.
+}
parse_halt();
if($ENV{'PARALLEL_ENV'}) {
Index: parallel-20230322/src/sem
===================================================================
--- parallel-20230322.orig/src/sem
+++ parallel-20230322/src/sem
@@ -2600,6 +2600,7 @@ sub parse_options(@) {
# runs. If that is too much trouble for you, why not use one of
# the alternatives instead?
# See a list in: 'man parallel_alternatives'
+ if (0) {
#
# If you want GNU Parallel to be maintained in the future you
# should keep this line.
@@ -2614,6 +2615,7 @@ sub parse_options(@) {
# accept to be added to a public hall of shame by removing the
# line. That includes you, Andreas and George.
+}
parse_halt();
if($ENV{'PARALLEL_ENV'}) {