inkscape: fix build

This commit is contained in:
Juergen Buchmueller 2016-09-20 08:13:53 +02:00
parent 1baf576242
commit 2a3757e0c1

View file

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