FreeBSD Bugzilla – Attachment 254039 Details for
Bug 281887
multimedia/mjpegtools: fix build with clang 19
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
multimedia/mjpegtools: fix build with clang 19
multimedia__mjpegtools-fix-clang19-build-1.diff (text/plain), 3.61 KB, created by
Dimitry Andric
on 2024-10-06 09:51:49 UTC
(
hide
)
Description:
multimedia/mjpegtools: fix build with clang 19
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2024-10-06 09:51:49 UTC
Size:
3.61 KB
patch
obsolete
>commit 302c00c53858a74eb9433807f63f67bd43898b63 >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2024-10-06T11:50:53+02:00 > > multimedia/mjpegtools: fix build with clang 19 > > Clang 19 has become more strict about errors in member functions, which > results in errors building multimedia/mjpegtools: > > ./Region2D.hh:439:13: error: no member named 'DoesContainPoint' in 'Region2D<INDEX, SIZE>' > 439 | || this->DoesContainPoint (rHere.m_tnY, tnX))) > | ~~~~ ^ > ./Region2D.hh:446:22: error: no member named 'Begin' in 'Region2D<INDEX, SIZE>' > 446 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) > | ~~~~ ^ > ./Region2D.hh:446:47: error: no member named 'End' in 'Region2D<INDEX, SIZE>' > 446 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) > | ~~~~ ^ > ./Region2D.hh:549:14: error: no member named 'DoesContainPoint' in 'Region2D<INDEX, SIZE>' > 549 | && !this->DoesContainPoint (rHere.m_tnY, tnX)) > | ~~~~ ^ > ./Region2D.hh:556:22: error: no member named 'Begin' in 'Region2D<INDEX, SIZE>' > 556 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) > | ~~~~ ^ > ./Region2D.hh:556:47: error: no member named 'End' in 'Region2D<INDEX, SIZE>' > 556 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) > | ~~~~ ^ > ./Region2D.hh:635:16: error: no member named 'DoesContainPoint' in 'Region2D<INDEX, SIZE>' > 635 | if (!(this->DoesContainPoint (rHere.m_tnY, tnX) > | ~~~~ ^ > ./Region2D.hh:643:22: error: no member named 'Begin' in 'Region2D<INDEX, SIZE>' > 643 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) > | ~~~~ ^ > ./Region2D.hh:643:47: error: no member named 'End' in 'Region2D<INDEX, SIZE>' > 643 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) > | ~~~~ ^ > > The member functions `DoesContainPoint`, `Begin` and `End` are all > commented out in Region2D.hh, probably because the code was never > finished up properly. The member functions referencing them are also > never used, so comment those out too, using `#if 0`, `#endif` pairs. > > PR: 281887 > MFH: 2024Q3 > >diff --git a/multimedia/mjpegtools/files/patch-y4mdenoise_Region2D.hh b/multimedia/mjpegtools/files/patch-y4mdenoise_Region2D.hh >new file mode 100644 >index 000000000000..51d5f1420de8 >--- /dev/null >+++ b/multimedia/mjpegtools/files/patch-y4mdenoise_Region2D.hh >@@ -0,0 +1,34 @@ >+--- y4mdenoise/Region2D.hh.orig 2021-09-05 06:14:13 UTC >++++ y4mdenoise/Region2D.hh >+@@ -404,6 +404,7 @@ Region2D<INDEX,SIZE>::~Region2D() >+ >+ >+ >++#if 0 >+ // Add the given horizontal extent to the region. >+ template <class INDEX, class SIZE> >+ template <class REGION, class REGION_TEMP> >+@@ -480,6 +481,7 @@ error: >+ PrintRegion (a_rTemp); >+ assert (false); >+ } >++#endif >+ >+ >+ >+@@ -513,6 +515,7 @@ Region2D<INDEX,SIZE>::Union (Status_t &a_reStatus, >+ >+ >+ >++#if 0 >+ // Make the current region represent the union between itself >+ // and the other given region. >+ template <class INDEX, class SIZE> >+@@ -686,6 +689,7 @@ error: >+ PrintRegion (a_rTemp); >+ assert (false); >+ } >++#endif >+ >+ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281887
: 254039