Date: Monday, October 12, 2015 @ 13:31:28 Author: spupykin Revision: 143763
upgpkg: synfig 1.0.2-1 upd Modified: synfig/trunk/PKGBUILD synfig/trunk/build-fix.patch -----------------+ PKGBUILD | 11 ++++++----- build-fix.patch | 10 ++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-10-12 11:27:15 UTC (rev 143762) +++ PKGBUILD 2015-10-12 11:31:28 UTC (rev 143763) @@ -3,7 +3,7 @@ # Contributor: Franco Iacomella <y...@gnu.org> pkgname=synfig -pkgver=1.0.1 +pkgver=1.0.2 pkgrel=1 pkgdesc="Professional vector animation program (CLI renderer only)" arch=(i686 x86_64) @@ -15,11 +15,12 @@ optdepends=('openexr' 'libsigc++') conflicts=('synfig-core') replaces=('synfig-core') -source=(http://download.tuxfamily.org/synfig/releases/$pkgver/synfig-$pkgver.tar.gz +#source=(http://download.tuxfamily.org/synfig/releases/$pkgver/synfig-$pkgver.tar.gz +source=(http://downloads.sourceforge.net/project/synfig/releases/$pkgver/source/synfig-$pkgver.tar.gz build-fix.patch ffmpeg-0.8.patch) -md5sums=('0af2abd4ea9fd050d905c737fdc19567' - '6d5277b28a3ba531e3e53e4a1f810fa7' +md5sums=('a7b19f9eb22f2bd82067ebc1401b8808' + '16b852a3ff44765d8efd2ce597f5ca0e' 'ebf41046097cfd778dee9a9854561dae') prepare() { @@ -34,7 +35,7 @@ export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig:$PKG_CONFIG_PATH LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,/usr/lib/ffmpeg-compat" CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" - CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" + CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -std=gnu++11" [ -f configure ] || { libtoolize --ltdl --copy --force && autoreconf --install --force; } [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --with-libavcodec --with-libdv make Modified: build-fix.patch =================================================================== --- build-fix.patch 2015-10-12 11:27:15 UTC (rev 143762) +++ build-fix.patch 2015-10-12 11:31:28 UTC (rev 143763) @@ -44,3 +44,13 @@ return picture; } +diff -wbBur synfig-1.0.2/src/synfig/time.cpp synfig-1.0.2.my/src/synfig/time.cpp +--- synfig-1.0.2/src/synfig/time.cpp 2015-07-09 10:33:03.000000000 +0300 ++++ synfig-1.0.2.my/src/synfig/time.cpp 2015-10-12 13:54:58.382313903 +0300 +@@ -319,5 +319,5 @@ + bool + Time::is_valid()const + { +- return !isnan(value_); ++ return !::isnan(value_); + }