1
0
Fork 0
mirror of https://aur.archlinux.org/ocp.git synced 2024-11-22 04:16:28 +00:00

Fix compiling with gcc 5

This commit is contained in:
Mikael Eriksson 2015-07-01 14:39:01 +02:00 committed by Mikael Eriksson
parent 332d6346ea
commit 8acb9d86dc

View file

@ -3,7 +3,7 @@
pkgname=ocp pkgname=ocp
pkgver=0.1.21 pkgver=0.1.21
pkgrel=4 pkgrel=5
pkgdesc="Open Cubic Player" pkgdesc="Open Cubic Player"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://stian.cubic.org/project-ocp.php" url="http://stian.cubic.org/project-ocp.php"
@ -16,6 +16,7 @@ install=ocp.install
build() { build() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
sed -i "4592c2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*)" configure
./configure --prefix=/usr --sysconfdir=/etc ./configure --prefix=/usr --sysconfdir=/etc
make -j1 DESTDIR=$pkgdir make -j1 DESTDIR=$pkgdir
} }