<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/science/dlib-cpp, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/'/>
<entry>
<title>science/dlib-cpp: Update to 20.0.1</title>
<updated>2026-04-14T11:38:04+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2026-04-14T11:03:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=2e0f48d4ad8f49bae4b82bbfdc4ee863ea3673e5'/>
<id>2e0f48d4ad8f49bae4b82bbfdc4ee863ea3673e5</id>
<content type='text'>
Reported by:	portscout!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	portscout!
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: Fixup EXTRACT_AFTER_ARGS</title>
<updated>2025-06-08T11:16:07+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2025-06-08T11:16:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=95b6df329452bbd1021461f30bd5d649dcb727c4'/>
<id>95b6df329452bbd1021461f30bd5d649dcb727c4</id>
<content type='text'>
PR:		287377
Reported by:	diizzy
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		287377
Reported by:	diizzy
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: Use more system dependencies</title>
<updated>2025-06-08T11:03:31+00:00</updated>
<author>
<name>Matthieu Volat</name>
<email>mazhe@alkumuna.eu</email>
</author>
<published>2025-06-08T10:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=1bc195e580f7b82855a5ab59ca8ad9121190c7a3'/>
<id>1bc195e580f7b82855a5ab59ca8ad9121190c7a3</id>
<content type='text'>
PR:		287377
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		287377
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: Update to 20.0</title>
<updated>2025-06-01T11:49:32+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2025-06-01T07:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=1019edca0943d670a3282c1d7dfd6091e5fefdeb'/>
<id>1019edca0943d670a3282c1d7dfd6091e5fefdeb</id>
<content type='text'>
Reported by:	portscout!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	portscout!
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: Update to 19.24.9</title>
<updated>2025-05-17T18:07:44+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2025-05-17T14:15:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=f6ed91fd42bf905d1b767fdc2168cc77fb346267'/>
<id>f6ed91fd42bf905d1b767fdc2168cc77fb346267</id>
<content type='text'>
Reported by:	portscout!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	portscout!
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: Update to 19.24.8</title>
<updated>2025-03-03T14:32:10+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2025-03-03T06:01:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=182a6e17834b31d5e2d15779b195a99e94155928'/>
<id>182a6e17834b31d5e2d15779b195a99e94155928</id>
<content type='text'>
Reported by:	portscout!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	portscout!
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: add option to be built with the FFMPEG wrappers</title>
<updated>2024-12-19T06:05:37+00:00</updated>
<author>
<name>Alexey Donskov</name>
<email>aadonsk4@mts.ru</email>
</author>
<published>2024-12-18T14:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=8adfea7d5c0e492ae8e0d4f7ef09d7b428567cb6'/>
<id>8adfea7d5c0e492ae8e0d4f7ef09d7b428567cb6</id>
<content type='text'>
Sponsored by:	Future Crew, LLC
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/334
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	Future Crew, LLC
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/334
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: fix build with libc++ 19</title>
<updated>2024-11-10T12:08:40+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2024-11-10T11:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=1c818faba7259c7176aa3f6717451a274bff7fc2'/>
<id>1c818faba7259c7176aa3f6717451a274bff7fc2</id>
<content type='text'>
As noted in the libc++ 19 release notes [1], std::char_traits&lt;&gt; is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/dlib-cpp to fail to compile with clang 19 and libc++
19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits&lt;unsigned int&gt;'
    820 |   static_assert(is_same&lt;_CharT, typename traits_type::char_type&gt;::value,
        |                                          ^
  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:718:19: note: in instantiation of template class 'std::basic_string&lt;unsigned int&gt;' requested here
    718 |     const ustring convert_to_utf32 (
        |                   ^
  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
        |                             ^

This can be fixed by defining `unichar` as `char32_t` instead of
`uint32` in `unicode.h`, and adding a serializer for `char32_t` to
`serialize.h`.

[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals

PR:		282665
Approved by:	arrowd (maintainer)
MFH:		2024Q4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As noted in the libc++ 19 release notes [1], std::char_traits&lt;&gt; is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/dlib-cpp to fail to compile with clang 19 and libc++
19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits&lt;unsigned int&gt;'
    820 |   static_assert(is_same&lt;_CharT, typename traits_type::char_type&gt;::value,
        |                                          ^
  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:718:19: note: in instantiation of template class 'std::basic_string&lt;unsigned int&gt;' requested here
    718 |     const ustring convert_to_utf32 (
        |                   ^
  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
        |                             ^

This can be fixed by defining `unichar` as `char32_t` instead of
`uint32` in `unicode.h`, and adding a serializer for `char32_t` to
`serialize.h`.

[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals

PR:		282665
Approved by:	arrowd (maintainer)
MFH:		2024Q4
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: Update to 19.24.6</title>
<updated>2024-10-26T12:30:19+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>arrowd@FreeBSD.org</email>
</author>
<published>2024-10-26T09:16:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=e142fcd94b1797fcc6703aed443791b8d2ea4330'/>
<id>e142fcd94b1797fcc6703aed443791b8d2ea4330</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>science/dlib-cpp: fix build with clang and libc++ 19</title>
<updated>2024-10-09T19:10:15+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2024-10-08T10:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=e8b1dca33760dc680dcc732dcd3e9c7be1d79e76'/>
<id>e8b1dca33760dc680dcc732dcd3e9c7be1d79e76</id>
<content type='text'>
As noted in the libc++ 19 release notes [1], std::char_traits&lt;&gt; is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/dlib-cpp to fail to compile with clang 19 and
libc++ 19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits&lt;unsigned int&gt;'
    820 |   static_assert(is_same&lt;_CharT, typename traits_type::char_type&gt;::value,
        |                                          ^
  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/bigint/../unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string&lt;unsigned int&gt;' requested here
    496 |     inline const ustring convert_utf8_to_utf32 (
        |                          ^
  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
        |                             ^

These can be fixed by using `char32_t` instead of `uint32_t` for the
`unichar` type.

Also, clang 19 now implements CWG 96 [1], which requires a template
argument list after a 'template' keyword, resulting in errors similar
to:

  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/filtering/../global_optimization/find_max_global.h:61:130: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
     61 |             static auto go(T&amp;&amp; f, const matrix&lt;double,0,1&gt;&amp; a) -&gt; decltype(call_function_and_expand_args&lt;max_unpack-1&gt;::template go(std::forward&lt;T&gt;(f),a))
        |                                                                                                                                  ^

This can be fixed by adding `&lt;&gt;` after the `go` identifier.

[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals

PR:		281975
Approved by:	arrowd (maintainer)
MFH:		2024Q3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As noted in the libc++ 19 release notes [1], std::char_traits&lt;&gt; is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes science/dlib-cpp to fail to compile with clang 19 and
libc++ 19, resulting in errors similar to:

  /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits&lt;unsigned int&gt;'
    820 |   static_assert(is_same&lt;_CharT, typename traits_type::char_type&gt;::value,
        |                                          ^
  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/bigint/../unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string&lt;unsigned int&gt;' requested here
    496 |     inline const ustring convert_utf8_to_utf32 (
        |                          ^
  /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
     23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
        |                             ^

These can be fixed by using `char32_t` instead of `uint32_t` for the
`unichar` type.

Also, clang 19 now implements CWG 96 [1], which requires a template
argument list after a 'template' keyword, resulting in errors similar
to:

  /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24/dlib/filtering/../global_optimization/find_max_global.h:61:130: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
     61 |             static auto go(T&amp;&amp; f, const matrix&lt;double,0,1&gt;&amp; a) -&gt; decltype(call_function_and_expand_args&lt;max_unpack-1&gt;::template go(std::forward&lt;T&gt;(f),a))
        |                                                                                                                                  ^

This can be fixed by adding `&lt;&gt;` after the `go` identifier.

[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals

PR:		281975
Approved by:	arrowd (maintainer)
MFH:		2024Q3
</pre>
</div>
</content>
</entry>
</feed>
