freebsd-ports/audio/praat/files/patch-fon_Praat__tests.cpp
Adriaan de Groot 80ed4eb5ea audio/praat: fix build on 14-
Build failures reported upstream at
	https://github.com/praat/praat/issues/1933
The build failure is in test-code, in a static function
that does nothing useful -- looks like some C++-experimentation
that is still in the source tree. Massage it away so that
builds on 14- can happen. Bump PORTREVISION since on pre-14-
it might now pick a different constructor, and so potentially
the package changes.
2021-11-30 14:29:18 +01:00

11 lines
212 B
C++

--- fon/Praat_tests.cpp.orig 2021-11-30 13:24:45 UTC
+++ fon/Praat_tests.cpp
@@ -742,7 +742,7 @@ class Vec { (public)
};
static Vec copy (Vec x) {
- return x;
+ return Vec(x);
}
/*static void tryVec () {