pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fastx-toolkit: Silence compiler error about switch statement



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Apr 3 11:02:19 2022 -0500
Changeset:	b733e77fb907cf0fd9c45e58f54b8d6e054fac35

Added Files:
	fastx-toolkit/patches/patch-src_fasta__formatter_fasta__formatter.cpp

Log Message:
fastx-toolkit: Silence compiler error about switch statement

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b733e77fb907cf0fd9c45e58f54b8d6e054fac35

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 .../patch-src_fasta__formatter_fasta__formatter.cpp        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diffs:
diff --git a/fastx-toolkit/patches/patch-src_fasta__formatter_fasta__formatter.cpp b/fastx-toolkit/patches/patch-src_fasta__formatter_fasta__formatter.cpp
new file mode 100644
index 0000000000..87adc35ecd
--- /dev/null
+++ b/fastx-toolkit/patches/patch-src_fasta__formatter_fasta__formatter.cpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+# Silence compile error
+
+--- src/fasta_formatter/fasta_formatter.cpp.orig	2022-04-03 12:45:51.295476843 +0000
++++ src/fasta_formatter/fasta_formatter.cpp
+@@ -103,6 +103,7 @@ void parse_command_line(int argc, char* 
+ 		switch(opt) {
+ 		case 'h':
+ 			usage();
++			break;
+ 		
+ 		case 'i':
+ 			input_filename = optarg;


Home | Main Index | Thread Index | Old Index