freebsd-ports/multimedia/vdr
Dimitry Andric 83a6aff277 multimedia/vdr: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because multimedia/vdr's Makefile does not explicitly set its C++
standard, this leads to an error:

  util.c:269:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
     register int i;
     ^~~~~~~~~

Because the port's own Makefile is rather non-standard it does not
respect USE_CXXSTD=, so patch away the 'register' keyword instead.

PR:		271707
Approved by:	fernape
MFH:		2023Q2
2023-06-04 18:21:24 +02:00
..
files
distinfo
Makefile
Makefile.plugins
pkg-descr
pkg-plist