diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-12 06:44:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-12 06:44:21 +0000 |
commit | 2ec52cb037c5e9e784a508bc627a5add5d239d91 (patch) | |
tree | d7706f54e91e2b010e95407345bbd52d250a09b7 /main/ristretto/APKBUILD | |
parent | 2fc423b42b5027e1edad7496eff4c9f511c7cf14 (diff) | |
download | aports-2ec52cb037c5e9e784a508bc627a5add5d239d91.tar.bz2 aports-2ec52cb037c5e9e784a508bc627a5add5d239d91.tar.xz |
main/ristretto: fix memleak
https://bugzilla.xfce.org/show_bug.cgi?id=7882
Diffstat (limited to 'main/ristretto/APKBUILD')
-rw-r--r-- | main/ristretto/APKBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/main/ristretto/APKBUILD b/main/ristretto/APKBUILD index 020137e62a..b99a34a219 100644 --- a/main/ristretto/APKBUILD +++ b/main/ristretto/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ristretto pkgver=0.0.93 -pkgrel=0 +pkgrel=1 pkgdesc="Ristretto is a image viewer for Xfce" url="http://goodies.xfce.org/projects/applications/ristretto" arch="all" @@ -9,7 +9,18 @@ license="GPL-2" depends="desktop-file-utils hicolor-icon-theme" makedepends="libxfce4ui-dev dbus-glib-dev libexif-dev thunar-dev" install= -source="http://archive.xfce.org/src/apps/ristretto/0.0/ristretto-$pkgver.tar.bz2" +source="http://archive.xfce.org/src/apps/ristretto/0.0/ristretto-$pkgver.tar.bz2 + ristretto-0.0.93_memleak-fix.patch + " + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} build() { cd "$srcdir"/$pkgname-$pkgver @@ -25,4 +36,5 @@ package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } -md5sums="74dcdf0fcbf7039852b817732a91fb6c ristretto-0.0.93.tar.bz2" +md5sums="74dcdf0fcbf7039852b817732a91fb6c ristretto-0.0.93.tar.bz2 +8cf982058356e06bcdcb5d41c91856aa ristretto-0.0.93_memleak-fix.patch" |