summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2008-05-09 12:32:25 +0000
committerChristian Parpart <trapni@gentoo.org>2008-05-09 12:32:25 +0000
commit6b63cb11bcde5ec99be1e95c6eddb4feb34ddf0b (patch)
tree9700998e9cfbcb1a49564c19e0fe60b5f5c69ad5 /x11-libs
parentMight as well fix implicit declarations too. (diff)
downloadgentoo-2-6b63cb11bcde5ec99be1e95c6eddb4feb34ddf0b.tar.gz
gentoo-2-6b63cb11bcde5ec99be1e95c6eddb4feb34ddf0b.tar.bz2
gentoo-2-6b63cb11bcde5ec99be1e95c6eddb4feb34ddf0b.zip
fixes compilation error with GCC 4.3.0 - closes bug 219548
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libsynaptics/ChangeLog9
-rw-r--r--x11-libs/libsynaptics/files/libsynaptics-0.14.6c-r1-gcc-4-3-0.patch10
-rw-r--r--x11-libs/libsynaptics/libsynaptics-0.14.6c-r1.ebuild27
3 files changed, 45 insertions, 1 deletions
diff --git a/x11-libs/libsynaptics/ChangeLog b/x11-libs/libsynaptics/ChangeLog
index 3e411208e8b5..c55f21327ab4 100644
--- a/x11-libs/libsynaptics/ChangeLog
+++ b/x11-libs/libsynaptics/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/libsynaptics
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libsynaptics/ChangeLog,v 1.9 2008/01/20 18:50:16 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libsynaptics/ChangeLog,v 1.10 2008/05/09 12:32:25 trapni Exp $
+
+*libsynaptics-0.14.6c-r1 (09 May 2008)
+
+ 09 May 2008; Christian Parpart <trapni@gentoo.org>
+ +files/libsynaptics-0.14.6c-r1-gcc-4-3-0.patch,
+ +libsynaptics-0.14.6c-r1.ebuild:
+ fixes compilation error with GCC 4.3.0 - closes bug 219548
20 Jan 2008; Christoph Mende <angelos@gentoo.org>
libsynaptics-0.14.6c.ebuild:
diff --git a/x11-libs/libsynaptics/files/libsynaptics-0.14.6c-r1-gcc-4-3-0.patch b/x11-libs/libsynaptics/files/libsynaptics-0.14.6c-r1-gcc-4-3-0.patch
new file mode 100644
index 000000000000..454804de9c79
--- /dev/null
+++ b/x11-libs/libsynaptics/files/libsynaptics-0.14.6c-r1-gcc-4-3-0.patch
@@ -0,0 +1,10 @@
+--- pad.cpp~ 2007-04-02 12:38:12.000000000 +0000
++++ pad.cpp 2007-04-02 12:38:21.000000000 +0000
+@@ -2,6 +2,7 @@
+ #include "synparam.h"
+ #include "pad.h"
+ #include <pthread.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <sys/shm.h>
+
diff --git a/x11-libs/libsynaptics/libsynaptics-0.14.6c-r1.ebuild b/x11-libs/libsynaptics/libsynaptics-0.14.6c-r1.ebuild
new file mode 100644
index 000000000000..4d211180b922
--- /dev/null
+++ b/x11-libs/libsynaptics/libsynaptics-0.14.6c-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libsynaptics/libsynaptics-0.14.6c-r1.ebuild,v 1.1 2008/05/09 12:32:25 trapni Exp $
+
+inherit eutils
+
+DESCRIPTION="library for accessing synaptics touchpads"
+HOMEPAGE="http://qsynaptics.sourceforge.net/"
+SRC_URI="http://qsynaptics.sourceforge.net/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-drivers/synaptics-0.14.4"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ epatch "${FILESDIR}/libsynaptics-0.14.6c-r1-gcc-4-3-0.patch" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README TODO
+}