Patch for port avidemux-plugins

Gerald Pfeifer gerald at pfeifer.com
Thu Aug 15 10:13:26 UTC 2019


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 at 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>
> 


More information about the freebsd-multimedia mailing list