diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libsynaptics | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libsynaptics')
-rw-r--r-- | community/libsynaptics/PKGBUILD | 26 | ||||
-rw-r--r-- | community/libsynaptics/libsynaptics-gcc433.patch | 10 |
2 files changed, 36 insertions, 0 deletions
diff --git a/community/libsynaptics/PKGBUILD b/community/libsynaptics/PKGBUILD new file mode 100644 index 000000000..2b449fd36 --- /dev/null +++ b/community/libsynaptics/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 66206 2012-02-23 03:20:15Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=libsynaptics +pkgver=0.14.6c +pkgrel=5 +pkgdesc="Library for accessing synaptics touchpads" +arch=('i686' 'x86_64') +url="http://qsynaptics.sourceforge.net" +license=('GPL') +depends=('gcc-libs') +makedepends=('xproto') +options=('!libtool') +source=(http://qsynaptics.sourceforge.net/$pkgname-$pkgver.tar.bz2 libsynaptics-gcc433.patch) +md5sums=('fedf8b31171d288954ff2e83b251de44' + '5e1df34fe8c2480b803a8ea6520bdda8') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -Np0 -i ../libsynaptics-gcc433.patch + sed -i '1,1i#include <stdio.h>' pad.cpp + ./configure --prefix=/usr + make + make DESTDIR=$pkgdir install +} diff --git a/community/libsynaptics/libsynaptics-gcc433.patch b/community/libsynaptics/libsynaptics-gcc433.patch new file mode 100644 index 000000000..162ecb0fe --- /dev/null +++ b/community/libsynaptics/libsynaptics-gcc433.patch @@ -0,0 +1,10 @@ +--- pad.cpp 2009-01-29 20:29:48.000000000 +0100 ++++ pad.cpp 2009-01-29 20:29:48.000000000 +0100 +@@ -4,6 +4,7 @@ + #include <pthread.h> + #include <unistd.h> + #include <sys/shm.h> ++#include <stdlib.h> + + // + // singleton specific code |