summaryrefslogtreecommitdiff
path: root/community/dia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dia/PKGBUILD')
-rw-r--r--community/dia/PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD
index ed33f7837..2e50cfa1e 100644
--- a/community/dia/PKGBUILD
+++ b/community/dia/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 69446 2012-04-16 11:44:58Z spupykin $
+# $Id: PKGBUILD 88862 2013-04-24 13:59:45Z spupykin $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=dia
pkgver=0.97.2
-pkgrel=3
+pkgrel=4
pkgdesc="A GTK+ based diagram creation program"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -17,21 +17,18 @@ makedepends=('intltool' 'python2' 'docbook-xsl')
optdepends=('python2')
options=('!libtool' 'docs' '!emptydirs')
source=("ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.97/${pkgname}-${pkgver}.tar.xz"
- "dia-overflow-fix.patch"
- "dia-0.97.2-glib.patch")
+ "dia-crash.patch::https://git.gnome.org/browse/dia/patch/?id=213bdfe956bf8fe57c86316f68a09408fef1647e")
md5sums=('1e1180a513fb567709b09bc19f12105e'
- '8fd9a2ad35b5a6fd8c758d7c73dbfe66'
- '430d39de524c112f39a4bd9801038b05')
+ '2ad4fcfbfb561930a1d0335cc942a07b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/dia-0.97.2-glib.patch
export PYTHON=/usr/bin/python2
for file in `find -type f -name '*.py'`; do
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$file"
done
sed -i 's#python2\.1#python2 python2.1#' configure
-# patch -p1 <$srcdir/dia-overflow-fix.patch
+ patch -p1 <$srcdir/dia-crash.patch
./configure --prefix=/usr \
--with-cairo \