diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libsynaptics | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 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 |