diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template index 59cf572357..d1e3a5dbd3 100644 --- a/srcpkgs/inkscape/template +++ b/srcpkgs/inkscape/template @@ -1,7 +1,7 @@ # Template file for 'inkscape'. pkgname=inkscape version=0.91 -revision=15 +revision=16 build_style=gnu-configure configure_args="--enable-lcms --enable-poppler-cairo --without-gnome-vfs --disable-static" @@ -19,3 +19,8 @@ distfiles="https://inkscape.global.ssl.fastly.net/media/resources/file/${pkgname checksum=4d901f8a9e1924404e797ad23b8b0c495a9d155448816d95a55974314e1f141b CXXFLAGS="-std=c++11" + +pre_configure() { + sed -i src/ui/clipboard.cpp \ + -e 's;ScopedPtr;make_unique_ptr_gfree;' +}