fix PKGBUILD for cairo-compmgr to build with latest GCC
This commit is contained in:
parent
62d6395f2d
commit
5c33fe9845
1 changed files with 11 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
pkgname=cairo-compmgr
|
pkgname=cairo-compmgr
|
||||||
pkgver=0.3.1
|
pkgver=0.3.1
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgdesc="A Cairo based composite manager"
|
pkgdesc="A Cairo based composite manager"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
|
@ -22,14 +22,20 @@ options=(!libtool)
|
||||||
source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2)
|
source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2)
|
||||||
md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3')
|
md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
#patch for compatibility with vala 0.22
|
||||||
|
sed -i 's!libvala-0.16!libvala-0.22!' configure.ac
|
||||||
|
sed -i 's!libvala-0.16!libvala-0.22!' vapi/cairo-compmgr.deps
|
||||||
|
|
||||||
|
#patch for libiberty path bug
|
||||||
|
sed -i 's!<libiberty.h>!<libiberty/libiberty.h>!' src/ccm-debug.c
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
#patch for compatibility with vala 0.22 (extra)
|
|
||||||
sed -i 's!libvala-0.16!libvala-0.22!' configure.ac
|
|
||||||
sed -i 's!libvala-0.16!libvala-0.22!' vapi/cairo-compmgr.deps
|
|
||||||
|
|
||||||
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lz"
|
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lz"
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue