# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Michal Hybner pkgname=libosip2 pkgver=3.2.0 pkgrel=1 pkgdesc="oSIP is an implementation of SIP" arch=('i686' 'x86_64') url="http://www.gnu.org/software/osip/" license=('LGPL') options=(!emptydirs !libtool) source=(http://ftp.gnu.org/gnu/osip/libosip2-${pkgver/_/-}.tar.gz) md5sums=('459c21f11066be46fe6ea24de438bd40') build() { cd ${startdir}/src/libosip2-${pkgver/_/-}/ patch -p1 < #include +union semun +{ + int val; + struct semid_ds *buf; + unsigned short int *array; + struct seminfo *__buf; +}; + #include #include EOF ./configure --prefix=/usr --disable-semaphore --enable-sysv make || return 1 make DESTDIR=${startdir}/pkg install }