diff options
Diffstat (limited to 'community/trickle/PKGBUILD')
-rw-r--r-- | community/trickle/PKGBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/community/trickle/PKGBUILD b/community/trickle/PKGBUILD index 536780e7d..7dcd4dece 100644 --- a/community/trickle/PKGBUILD +++ b/community/trickle/PKGBUILD @@ -1,24 +1,33 @@ -# $Id: PKGBUILD 80164 2012-11-17 02:17:02Z kkeen $ +# $Id: PKGBUILD 102975 2013-12-25 09:36:34Z bgyorgy $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor Romain Bouchaud-Leduc <r0m1.bl@camaris.org> pkgname=trickle pkgver=1.07 -pkgrel=7 +pkgrel=8 pkgdesc="Lightweight userspace bandwidth shaper" arch=('i686' 'x86_64' 'mips64el') url="http://monkey.org/~marius/trickle" license=('BSD') depends=('libevent') -source=("http://monkey.org/~marius/trickle/${pkgname}-${pkgver}.tar.gz") -md5sums=('860ebc4abbbd82957c20a28bd9390d7d') +source=("http://monkey.org/~marius/trickle/${pkgname}-${pkgver}.tar.gz" + "fix-crasher.patch") +md5sums=('860ebc4abbbd82957c20a28bd9390d7d' + 'a072091bce131e9f7229bff85ed5858c') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - # FS#23194 + # FS#27549 sed -i 's|^_select(int|select(int|' trickle-overload.c + # FS#35872 + patch -Np1 -i "${srcdir}/fix-crasher.patch" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ --mandir=/usr/share/man sed -i "s|.*in_addr_t.*||g" config.h |