Date: Thu, 15 Aug 2019 12:13:47 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: Arne Steinkamm <arne@Steinkamm.COM>, multimedia@FreeBSD.org Cc: Jan Beich <jbeich@freebsd.org> Subject: Re: Patch for port avidemux-plugins Message-ID: <alpine.LSU.2.21.1908151211070.14047@anthias.pfeifer.com> In-Reply-To: <CAHStE2NWruYvpBhhrGUMzps=g5_ZHmQ%2B6OmwZVXbsNcwP_BSJw@mail.gmail.com> References: <CAHStE2NWruYvpBhhrGUMzps=g5_ZHmQ%2B6OmwZVXbsNcwP_BSJw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Aug 2019, Arne Steinkamm wrote: > avidemux-plugins failed to build because the source redefine the magic > constant __cplusplus which breaks the gcc8 header files. > > I made a fast patch which works here (FreeBSD trajan.stk.cx 12.0-RELEASE-p7 > FreeBSD 12.0-RELEASE-p7 r350232 TRAJAN amd64): Thank you for the report and patch, Arne! Note that I do not have any knowledge of this port (and assume you directed this to me in addition to Jan due to r507372, "Bump PORTREVSION for ports depending on the canonical version of GCC). Let me include multimedia@FreeBSD.org which is listed as maintainer of the port. Gerald > --- /usr/ports/multimedia/avidemux-plugins/Makefile.orig 2019-07-19 > 23:11:01.000000000 +0200 > +++ /usr/ports/multimedia/avidemux-plugins/Makefile 2019-08-15 > 05:24:36.904761000 +0200 > @@ -35,4 +35,8 @@ > > post-configure: post-configure-common > > +pre-build: > + @${REINPLACE_CMD} 's|#define __cplusplus|#define __cplusplus 201402L|g' \ > + ${WRKSRC}/avidemux_plugins/ADM_demuxers/VapourSynth/ADM_vsProxy.h > + > .include <bsd.port.post.mk> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.21.1908151211070.14047>