[Bug 272680] multimedia/dvdstyler no longer compiles on FreeBSD 14

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jul 2023 11:40:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272680

Alan Hicks <ahicks@p-o.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #243585|                            |maintainer-approval+
              Flags|                            |

--- Comment #4 from Alan Hicks <ahicks@p-o.co.uk> ---
Created attachment 243585
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243585&action=edit
Patch to build dvdstyler with c++17

This patch should fix the build error on FreeBSD 14 by upgrading to c++ 17
Attempting to upgrade the dvdstyler code base with the following patches:

Makefile
Bump the revision and add C and C++ flags to pin the compile to c++17

patch-wxVillaLib_ThumbnailFactory.cpp
Use std::abs() instead of labs()

patch-wxVillaLib_imagjpg.cpp
Removing the unnecessary #pragma implementation

patch-wxVillaLib_thumb_md5.cpp
Removing the 'register' storage class specifier

There remain a number of ffmpeg deprecated and other warnings but it compiles
and runs successfully.

These patches have been submitted upstream.

-- 
You are receiving this mail because:
You are the assignee for the bug.