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-20221122/src/parallel
===================================================================
--- parallel-20221122.orig/src/parallel
+++ parallel-20221122/src/parallel
@@ -2508,6 +2508,7 @@ sub parse_options(@) {
 	}
     }
 
+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
@@ -2581,6 +2582,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-20221122/src/sem
===================================================================
--- parallel-20221122.orig/src/sem
+++ parallel-20221122/src/sem
@@ -2508,6 +2508,7 @@ sub parse_options(@) {
 	}
     }
 
+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
@@ -2581,6 +2582,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'}) {
openSUSE Build Service is sponsored by