aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk-xfce-engine/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-28 12:08:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-28 12:43:17 +0000
commit6ee4316155c8714ee276f25a943a7de81de515cc (patch)
tree517f8a6de30ef8b645e8244cb57286e326a56fb5 /main/gtk-xfce-engine/APKBUILD
parentc7c5e59f82b4bb978ce60134ebeb96bef098ad29 (diff)
downloadaports-6ee4316155c8714ee276f25a943a7de81de515cc.tar.bz2
aports-6ee4316155c8714ee276f25a943a7de81de515cc.tar.xz
main/gtk-xfce-engine: fix memleak
https://bugzilla.xfce.org/show_bug.cgi?id=8521
Diffstat (limited to 'main/gtk-xfce-engine/APKBUILD')
-rw-r--r--main/gtk-xfce-engine/APKBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/main/gtk-xfce-engine/APKBUILD b/main/gtk-xfce-engine/APKBUILD
index e983ff2cd8..9004db9292 100644
--- a/main/gtk-xfce-engine/APKBUILD
+++ b/main/gtk-xfce-engine/APKBUILD
@@ -1,16 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-xfce-engine
pkgver=3.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="A port of Xfce engine to GTK+-2.0"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
depends=
makedepends="pkgconfig gtk+-dev libiconv-dev gettext-dev expat-dev"
-source="http://archive.xfce.org/src/xfce/gtk-xfce-engine/${pkgver%.*}/gtk-xfce-engine-$pkgver.tar.bz2"
+source="http://archive.xfce.org/src/xfce/gtk-xfce-engine/${pkgver%.*}/gtk-xfce-engine-$pkgver.tar.bz2
+ memleak.patch"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
build() {
cd "$_builddir"
./configure --prefix=/usr \
@@ -26,4 +36,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir"/ -name '*.la' -delete
}
-md5sums="c02dec13f063c285de44d5388902822a gtk-xfce-engine-3.0.0.tar.bz2"
+md5sums="c02dec13f063c285de44d5388902822a gtk-xfce-engine-3.0.0.tar.bz2
+cbb977c1160d0a07c408a18e748d7b68 memleak.patch"