File parallel-remove-nag-screen.patch of Package gnu_parallel

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-20230822/src/parallel
===================================================================
--- parallel-20230822.orig/src/parallel
+++ parallel-20230822/src/parallel
@@ -2604,6 +2604,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
@@ -2643,6 +2644,7 @@ sub parse_options(@) {
     # accept to be added to a public hall of shame by removing the
     # line.  That includes you, George and Andreas.
 
+}
     parse_halt();
 
     if($ENV{'PARALLEL_ENV'}) {
Index: parallel-20230822/src/sem
===================================================================
--- parallel-20230822.orig/src/sem
+++ parallel-20230822/src/sem
@@ -2629,6 +2629,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:
@@ -2643,6 +2644,7 @@ sub parse_options(@) {
     # accept to be added to a public hall of shame by removing the
     # line.  That includes you, George and Andreas.
 
+}
     parse_halt();
 
     if($ENV{'PARALLEL_ENV'}) {
openSUSE Build Service is sponsored by