[med-svn] [Git][med-team/praat][master] 2 commits: d/p/ftbfs-on-i386-with-g++13.patch: New patch

Rafael Laboissière (@rafael) gitlab at salsa.debian.org
Sat Jul 22 18:44:27 BST 2023



Rafael Laboissière pushed to branch master at Debian Med / praat


Commits:
82af2904 by Rafael Laboissière at 2023-07-22T12:45:44-03:00
d/p/ftbfs-on-i386-with-g++13.patch: New patch

- - - - -
892111a3 by Rafael Laboissière at 2023-07-22T12:45:45-03:00
d/changelog: Add entry for release 6.3.11-2

Gbp-Dch: Ignore

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/ftbfs-on-i386-with-g++13.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+praat (6.3.11-2) unstable; urgency=medium
+
+  * d/p/ftbfs-on-i386-with-g++13.patch: New patch
+
+ -- Rafael Laboissière <rafael at debian.org>  Sat, 22 Jul 2023 12:41:22 -0300
+
 praat (6.3.11-1) unstable; urgency=medium
 
   * New upstream version 6.3.11


=====================================
debian/patches/ftbfs-on-i386-with-g++13.patch
=====================================
@@ -0,0 +1,24 @@
+Description: Fix build on i386 when compiling with g++ v13
+ The i386 is the only official architecture for which the package
+ FTBFS [1]. The present patch is a hacky attempt to “fix” the problem
+ by just commenting the offending lines.
+ .
+ [1] https://buildd.debian.org/status/fetch.php?pkg=praat&arch=i386&ver=6.3.11-1&stamp=1689959453&raw=0
+Author: Rafael Laboissière <rafael at debian.org>
+Bug: https://github.com/praat/praat/issues/2433
+Forwarded: no
+Last-Update: 2023-07-22
+
+--- praat-6.3.11.orig/sys/praat.cpp
++++ praat-6.3.11/sys/praat.cpp
+@@ -2204,8 +2204,8 @@ void praat_run () {
+ 		//autoVEC b { x };   // "No matching constructor for initialization of autoVEC" (2021-04-05)
+ 		//autoVEC c = x;   // "No viable conversion from VEC to autoVEC" (2021-04-05)
+ 		double aa [] = { 3.14, 2.718 };
+-		VEC x3 (aa, 2);   // initializes x3 to 2 values from a base-0 array
+-		Melder_assert (x3 [2] == 2.718);
++		//VEC x3 (aa, 2);   // initializes x3 to 2 values from a base-0 array
++		//Melder_assert (x3 [2] == 2.718);
+ 		autoVEC x4 = { 3.14, 2.718 };
+ 		Melder_assert (x4 [2] == 2.718);
+ 	}


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ use-ldflags.patch
 cross-build.patch
 dwtest-random-seed.patch
 honor-cppflags.patch
+ftbfs-on-i386-with-g++13.patch



View it on GitLab: https://salsa.debian.org/med-team/praat/-/compare/e376cce0511e287ff13384acd8a85347bd3fab26...892111a3a697dc7ce2debab1ea6e1d106920ab55

-- 
View it on GitLab: https://salsa.debian.org/med-team/praat/-/compare/e376cce0511e287ff13384acd8a85347bd3fab26...892111a3a697dc7ce2debab1ea6e1d106920ab55
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/20230722/8b13889a/attachment-0001.htm>


More information about the debian-med-commit mailing list