Skip to content
Snippets Groups Projects
Commit a948f877 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix synfig build with GCC 7

parent 2ad92869
No related branches found
No related tags found
No related merge requests found
--- ETL/_surface.h~ 2016-11-30 04:59:46.000000000 -0600
+++ ETL/_surface.h 2017-03-07 08:08:04.027014347 -0600
@@ -190,7 +190,7 @@
value_prep_type cooker_;
- void swap(const surface &x)
+ void swap(surface &x)
{
std::swap(data_,x.data_);
std::swap(zero_pos_,x.zero_pos_);
......@@ -3,7 +3,7 @@
pkgname=etl
pkgver=0.04.22
pkgrel=1
pkgrel=2
pkgdesc="VoriaETL: C++ STL complementory multiplatform template library"
arch=(any)
url="http://synfig.org"
......@@ -11,8 +11,15 @@ license=('GPL2')
depends=()
conflicts=('synfig-etl')
replaces=('synfig-etl')
source=(https://downloads.sourceforge.net/project/synfig/releases/1.2.0/source/ETL-${pkgver}.tar.gz)
sha256sums=('ac5aeb9b8ec2c69dd455c6c72e104ff20c43e1e5dde6c0cd87f3f7d1b41d2746')
source=(https://downloads.sourceforge.net/project/synfig/releases/1.2.0/source/ETL-${pkgver}.tar.gz ETL-swap-type.patch)
sha256sums=('ac5aeb9b8ec2c69dd455c6c72e104ff20c43e1e5dde6c0cd87f3f7d1b41d2746'
'50ef24805f2e90d02fc2b94e2a578f78eaa266b56c57c198b3b947a65237e9c7')
prepare() {
cd ETL-$pkgver
# fix synfig build with GCC 7 (Fedora)
patch -p0 -i ../ETL-swap-type.patch
}
build() {
cd "$srcdir"/ETL-$pkgver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment