From 2a3757e0c13645a3d368aeebdbb099cd45f74783 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 20 Sep 2016 08:13:53 +0200 Subject: [PATCH] inkscape: fix build --- srcpkgs/inkscape/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;' +}