1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00
Dimitry Andric 88f549c0d6 graphics/libGLU: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because graphics/libGLU's Makefile does not explicitly set its C++ standard,
this leads to several errors:

  ../src/libnurbs/internals/varray.cc:76:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]);
      ^~~~~~~~~
  ../src/libnurbs/internals/varray.cc:77:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      register long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]);
      ^~~~~~~~~

Upstream already noticed this, and committed
https://gitlab.freedesktop.org/mesa/glu/-/commit/b6c308172993 as a fix,
so add this as an additional patch, until the next version is released.

PR:		271055
Approved by:	manu (maintainer)
MFH:		2023Q2
2023-04-25 18:27:56 +02:00
..
2023-04-11 15:46:12 -05:00
2023-04-10 04:39:54 +08:00
2023-04-13 00:56:37 +00:00
2023-04-13 00:56:37 +00:00
2023-04-17 16:15:22 -03:00
2023-04-13 00:56:37 +00:00
2023-04-20 20:17:18 +02:00
2023-04-13 00:56:37 +00:00
2023-04-13 00:56:37 +00:00
2023-04-20 20:17:18 +02:00
2023-04-20 20:17:18 +02:00
2023-04-19 10:49:04 +02:00
2023-04-13 00:56:37 +00:00
2023-04-13 00:56:37 +00:00
2023-04-13 00:56:37 +00:00
2023-04-13 00:56:37 +00:00
2023-04-13 00:56:37 +00:00
2023-04-23 15:14:05 +02:00
2023-04-13 00:56:37 +00:00