diff options
author | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
commit | 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (patch) | |
tree | b31de2992989d616383f6552ba5d23b75701ef04 /community/qcad | |
parent | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (diff) |
Sun Oct 14 00:45:38 PDT 2012
Diffstat (limited to 'community/qcad')
-rw-r--r-- | community/qcad/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD index 28cacf696..610f3b6a4 100644 --- a/community/qcad/PKGBUILD +++ b/community/qcad/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63722 2012-02-05 12:09:17Z ibiru $ +# $Id: PKGBUILD 77657 2012-10-13 11:44:42Z allan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Giovanni Scafora <linuxmania@gmail.com> @@ -6,12 +6,13 @@ pkgname=qcad pkgver=2.0.5.0 -pkgrel=9 +pkgrel=11 pkgdesc="A 2D CAD package based upon Qt" arch=('i686' 'x86_64') url="http://www.ribbonsoft.com/qcad.html" license=('GPL2') depends=('qt3') +makedepends=('glu') options=(libtool) source=(http://www.ribbonsoft.com/archives/$pkgname/$pkgname-$pkgver-1-community.src.tar.gz qcad.xpm @@ -31,8 +32,10 @@ build() { cd ${srcdir}/${pkgname}-2.0.5.0-1-community.src - #Arch64 fix - gentoo patch - [ "$CARCH" = "x86_64" ] && patch -p1 < ../qcad-intptr.patch + [ "$CARCH" = "x86_64" ] && { + patch -p1 < ../qcad-intptr.patch; + sed -i '1,1i#include <stdint.h>' qcadlib/src/engine/rs_layer.cpp qcadlib/src/engine/rs_entity.cpp; + } patch -p1 < ../qcad.patch sed -i "s:"-pedantic"::g" mkspecs/defs.pro |