[med-svn] [Git][med-team/mcl][master] Fix invalid C++ comments in ANSI C code
Andreas Tille (@tille)
gitlab at salsa.debian.org
Tue Oct 25 08:19:46 BST 2022
Andreas Tille pushed to branch master at Debian Med / mcl
Commits:
47e1b921 by Andreas Tille at 2022-10-25T09:17:58+02:00
Fix invalid C++ comments in ANSI C code
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/ansic.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -4,7 +4,6 @@ mcl (1:22-282+ds-1) UNRELEASED; urgency=medium
* Standards-Version: 4.6.1 (routine-update)
* Remove trailing whitespace in debian/copyright (routine-update)
* Build-Depends: libtingea-dev
- TODO: wait until cimfomfa (source of libtingea-dev) has passed ned
-- Andreas Tille <tille at debian.org> Wed, 12 Oct 2022 18:03:54 +0200
=====================================
debian/patches/ansic.patch
=====================================
@@ -0,0 +1,53 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 12 Oct 2022 18:03:54 +0200
+Description: C++ comments are invalid in ANSI C code
+
+--- a/src/mcl/alg.c
++++ b/src/mcl/alg.c
+@@ -1119,7 +1119,7 @@ mcxstatus mclAlgorithmInit
+
+ case ALG_OPT_AMOIXA
+ : helpbits |= MCX_OPT_DISPLAY_HIDDEN ;
+- // fall through
++ /* fall through */
+ case ALG_OPT_SHOWLONGHELP
+ : helpbits |= MCX_OPT_DISPLAY_SKIP
+
+--- a/src/shmx/mcxload.c
++++ b/src/shmx/mcxload.c
+@@ -706,9 +706,9 @@ int main
+ ;
+
+ case MY_OPT_STRICT_TABG : t++ ;
+- // fall through
++ /* fall through */
+ case MY_OPT_RESTRICT_TABG : t++ ;
+- // fall through
++ /* fall through */
+ case MY_OPT_EXTEND_TABG
+ :
+ { xfusetabg = mcxIOnew(opt->val, "r")
+@@ -720,9 +720,9 @@ int main
+ ; }
+
+ case MY_OPT_STRICT_TABC : t++ ;
+- // fall through
++ /* fall through */
+ case MY_OPT_RESTRICT_TABC : t++ ;
+- // fall through
++ /* fall through */
+ case MY_OPT_EXTEND_TABC
+ :
+ { xfusetabc = mcxIOnew(opt->val, "r")
+@@ -734,9 +734,9 @@ int main
+ ; }
+
+ case MY_OPT_STRICT_TABR : t++ ;
+- // fall through
++ /* fall through */
+ case MY_OPT_RESTRICT_TABR : t++ ;
+- // fall through
++ /* fall through */
+ case MY_OPT_EXTEND_TABR
+ :
+ { xfusetabr = mcxIOnew(opt->val, "r")
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ OCamlSupport.patch
02-wrong-interpreter-path.patch
05-manual-what-is.patch
spelling.patch
+ansic.patch
View it on GitLab: https://salsa.debian.org/med-team/mcl/-/commit/47e1b92168a5cf1954622bc495a9d90d01f0916b
--
View it on GitLab: https://salsa.debian.org/med-team/mcl/-/commit/47e1b92168a5cf1954622bc495a9d90d01f0916b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221025/3e404966/attachment-0001.htm>
More information about the debian-med-commit
mailing list