<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a0fcaf433adc7acfb57f2840b77a97e964cdb1ee">https://github.com/macports/macports-ports/commit/a0fcaf433adc7acfb57f2840b77a97e964cdb1ee</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a0fcaf433adc7acfb57f2840b77a97e964cdb1ee
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Sat Apr 27 00:12:39 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> mlt: update to 7.24.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/67622
</span>---
multimedia/mlt/Portfile | 149 +++++++--------------
multimedia/mlt/files/patch-RtAudio.cpp.diff | 15 ---
multimedia/mlt/files/patch-filter_rbpitch.cpp.diff | 10 --
3 files changed, 51 insertions(+), 123 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mlt/Portfile b/multimedia/mlt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b261fe42928..73c52013c84 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mlt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mlt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,12 +1,12 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup muniversal 1.0
</span> PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span> PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup mltframework mlt 6.24.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mltframework mlt 7.24.0 v
</span> github.tarball_from releases
epoch 4
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,53 +25,50 @@ long_description MLT is an open source multimedia framework, designed and dev
</span> This package contains the files necessary for running applications that use \
the MLT multimedia framework.
homepage https://www.mltframework.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 44be9a15f7516a25dedc79162e8403a1cccac643 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3b977c5632329fca7634d0034162df6d5b79cde3256bac43e7ba8353acced61e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1351427
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6efa1a3daf2ae3c2aa3a3714c43df49901f23895 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8cde7c22a1a5395abe913976c2edafb498f81ed81a5f49dd0e6e2d86d68bcec0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1662552
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-filter_rbpitch.cpp.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-RtAudio.cpp.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport ${name}-qt5 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- replaced_by ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qt4 conflicts qt5 description "build Qt4 version of ${name}" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant qt6 conflicts qt5 description "build Qt6 version of ${name}" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt6 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DMOD_QT6=OFF -DMOD_QT6=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt6.depends_lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsvg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5compat
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qt5 conflicts qt4 description "build Qt5 version of ${name}" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant qt5 conflicts qt6 description "build Qt5 version of ${name}" {
</span> PortGroup qt5 1.0
qt5.min_version 5.6
qt5.depends_component \
qtsvg
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DMOD_QT=OFF -DMOD_QT=ON
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# somewhat arbitrary boundary for Qt versions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset qt4] && ![variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 14 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset qt5] && ![variant_isset qt6]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://doc-snapshots.qt.io/qt6-dev/macos.html#supported-versions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 21 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +qt6
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +qt5
</span> }
}
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags-append -std=c++11
</span> # fatal error: 'stdatomic.h' file not found
compiler.blacklist-append {clang < 700}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:git \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span> path:bin/doxygen:doxygen
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:atk \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:frei0r-plugins \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libavcodec.dylib:ffmpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set ffmpeg_ver 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:frei0r-plugins \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ffmpeg${ffmpeg_ver} \
</span> port:libsamplerate \
port:libsdl2 \
port:libvorbis \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,100 +77,56 @@ depends_lib-append port:atk \
</span> port:libexif \
port:fftw-3 \
port:libebur128 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:rubberband
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rubberband \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rtaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmovit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gdk-pixbuf2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pango
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
</span>
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-gpl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-jackrack \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-mmx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-gtk2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-swfdec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-opencv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-sdl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-kde
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGPL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGPL3=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMOD_JACKRACK=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMOD_OPENCV=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMOD_SDL1=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMOD_QT=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMOD_QT6=OFF
</span>
if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} ne ""} {
configure.ldflags-append -stdlib=${configure.cxx_stdlib}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- QTDIR=${qt_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # NB: qt-includedir can and should be set to ${qt_includes_dir},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # not ${qt_includes_dir}/Qt !!
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --qt-libdir=${qt_frameworks_dir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --qt-includedir=${qt_includes_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append "-I${qt_includes_dir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-mmx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append "-I${prefix}/include"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-delete "-L${prefix}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure the build system actually sees our settings by amending the toplevel config.mak.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set config.mak [open ${worksrcpath}/config.mak "a"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${config.mak} "CC=${configure.cc}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${config.mak} "CXX=${configure.cxx}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${config.mak} "CFLAGS+=${configure.cflags} ${configure.cppflags}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${config.mak} "CXXFLAGS+=${configure.cxxflags} ${configure.cppflags}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${config.mak} "LDLAGS+=${configure.ldflags}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${config.mak}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC="${configure.cc}" CXX="${configure.cxx}" CPP="${configure.cpp}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${universal_possible} && [variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend merger_build_env(${arch}) "CFLAGS=${configure.cflags} -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend merger_build_env(${arch}) "CXXFLAGS=${configure.cxxflags} -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend merger_build_env(${arch}) "LDFLAGS=${configure.ldflags} -L${worksrcpath}-${arch}/src/framework -L${prefix}/lib -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append "CFLAGS=${configure.cflags} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append "CXXFLAGS=${configure.cxxflags} [get_canonical_archflags cxx]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append "LDFLAGS=${configure.ldflags} -L${worksrcpath}/src/framework -L${prefix}/lib [get_canonical_archflags ld]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gtk2 description {include the gtk2 module (for additional image and text producers)} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-gtk2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:lib/pkgconfig/gtk+-2.0.pc:gtk2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants gtk2 x11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant gpl3 description {enable GPLv3 components} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-gpl3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DGPL3=OFF -DGPL3=ON
</span> license GPL-3+
}
# use an opencv variant to avoid opportunistic dependencies on this library
# the opencv dependency must match our choice of Qt version, which is
# another reason why opencv support is provided through a variant.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant opencv description {enable OpenCV support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set opencv_ver 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant opencv conflicts qt6 description {enable OpenCV support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set opencv_ver 4
</span> depends_lib-append path:lib/opencv${opencv_ver}/libopencv_core.dylib:opencv${opencv_ver}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PKG_CONFIG_PATH=${prefix}/lib/opencv${opencv_ver}/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-opencv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-opencv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/lib/opencv${opencv_ver}/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DMOD_OPENCV=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMOD_OPENCV=ON
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset qt4]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants opencv qt4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {[variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset qt5]} {
</span> require_active_variants opencv qt5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[variant_isset qt6]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # not supported yet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants opencv qt6
</span> }
}
# Allow building without SDL support, useful when used in dependents that themselves
# depend on SDL 1.2, to avoid (warnings about) runtime conflicts.
variant disable_sdl description {disable SDL support to avoid SDL vs. SDL2 conflicts} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --disable-sdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DMOD_SDL2=OFF
</span> configure.cppflags-append \
-DMELT_NOSDL
depends_lib-delete port:libsdl2
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mlt/files/patch-RtAudio.cpp.diff b/multimedia/mlt/files/patch-RtAudio.cpp.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index c7681c96623..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mlt/files/patch-RtAudio.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/modules/rtaudio/RtAudio.cpp.orig 2020-12-31 11:47:28.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/modules/rtaudio/RtAudio.cpp 2020-12-31 11:48:08.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -46,6 +46,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <cstring>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <climits>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <algorithm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // Static variable definitions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const unsigned int RtApi::MAX_SAMPLE_RATES = 14;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10227,4 +10228,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // End:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // vim: et sts=2 sw=2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mlt/files/patch-filter_rbpitch.cpp.diff b/multimedia/mlt/files/patch-filter_rbpitch.cpp.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index d60a1577c92..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mlt/files/patch-filter_rbpitch.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/modules/rubberband/filter_rbpitch.cpp.orig 2020-12-31 11:47:05.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/modules/rubberband/filter_rbpitch.cpp 2020-12-31 11:47:55.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -25,6 +25,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <algorithm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <cstring>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <math.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cstdlib>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- using namespace RubberBand;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>