summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-07-21 20:25:07 +0000
committerTristan Heaven <tristan@gentoo.org>2008-07-21 20:25:07 +0000
commit9147b94e20eaaac00bd0b5f85c4ccfb5f2efb223 (patch)
tree322a1c171374550ca5056dd4e92d451153f87a5d /x11-misc
parentalpha/ia64/x86 stable wrt #232523 (diff)
downloadhistorical-9147b94e20eaaac00bd0b5f85c4ccfb5f2efb223.tar.gz
historical-9147b94e20eaaac00bd0b5f85c4ccfb5f2efb223.tar.bz2
historical-9147b94e20eaaac00bd0b5f85c4ccfb5f2efb223.zip
Fix building with glibc-2.8, bug #231122
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26 x86_64
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/keytouch-editor/ChangeLog6
-rw-r--r--x11-misc/keytouch-editor/Manifest15
-rw-r--r--x11-misc/keytouch-editor/files/keytouch-editor-3.1.3-glibc28.patch10
-rw-r--r--x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild14
4 files changed, 38 insertions, 7 deletions
diff --git a/x11-misc/keytouch-editor/ChangeLog b/x11-misc/keytouch-editor/ChangeLog
index 37f5620fc433..8e8995f4aff8 100644
--- a/x11-misc/keytouch-editor/ChangeLog
+++ b/x11-misc/keytouch-editor/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/keytouch-editor
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/keytouch-editor/ChangeLog,v 1.6 2008/02/29 20:49:02 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/keytouch-editor/ChangeLog,v 1.7 2008/07/21 20:25:07 nyhm Exp $
+
+ 21 Jul 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/keytouch-editor-3.1.3-glibc28.patch, keytouch-editor-3.1.3.ebuild:
+ Fix building with glibc-2.8, bug #231122
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org>
keytouch-editor-3.1.3.ebuild:
diff --git a/x11-misc/keytouch-editor/Manifest b/x11-misc/keytouch-editor/Manifest
index c81a5971a0ca..87960063c027 100644
--- a/x11-misc/keytouch-editor/Manifest
+++ b/x11-misc/keytouch-editor/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX keytouch-editor-3.1.3-glibc28.patch 199 RMD160 84a96bd0341c7aa08c71205dac930dc532e1e750 SHA1 338acc940a28e3baff84a6f72b083f66aa6afbf1 SHA256 62d5f2678cfbbe6c49d1b95b2445af2cc3dd03f2eb69763916f8f3957f9c0505
DIST keytouch-editor-3.1.3.tar.gz 252462 RMD160 fcb87a9549b2af07005af68e63850ced8beb2b6d SHA1 a8c0b28bac4b1f9de3897e1a78dc14b4d994334e SHA256 ca0f151a850914adcfdc806a58a804aabcd04918be3b01dcc1ffac87686b582b
DIST keytouch_editor_3.0.pdf 206325 RMD160 f4482d6b40d46173c45a7ba56fe28fed8d325abd SHA1 49fe62e70485e38fbb97641d83a9d32842a4f32f SHA256 f133d1d5321e675b2412c5db201ab94ad31082b80b974642bf562c884456868c
-EBUILD keytouch-editor-3.1.3.ebuild 1239 RMD160 00db7e6c9d9406c5b09783dd46e9870de71c4c93 SHA1 432c899abc2e2865fe98be0e5fe256abff9e1f43 SHA256 8c1295cd33ac7a3ad42a6a01734cb0925079c95fd69e298f8dfbc52cc0019e45
-MISC ChangeLog 1053 RMD160 2515b64a05bd9424d3ecde6ecbd5974e8b6789cb SHA1 81aa4dc24e5fae3c9cd24c8b9e94dcc56b1cb5b8 SHA256 9eb7532bc82a03ebd722ec2375b30a52177ee766043682cd21d3c1ee6bb86fea
+EBUILD keytouch-editor-3.1.3.ebuild 1307 RMD160 3d228084e7ff781acd84e46dbc72a89b6bb6ed45 SHA1 bd7d6d06b34ede3ca64b2ecd5edfa36e0aa5903e SHA256 e56b01e09c6197878df51d3fcea2ee060f7e1d5e036b22bde43444068dd2ac14
+MISC ChangeLog 1220 RMD160 9ba063ee311adc238a3183a5c3fc6d5cccd6ac7f SHA1 7f6476fcb4f181bea8c71dd9693462981c96d746 SHA256 3a0dfeb39b93d26a2f285639e70c333b1d3a4650356f1d1b16f473cdb8328dca
MISC metadata.xml 253 RMD160 33155d552badd3133f93e25bfcd82b62d296deb9 SHA1 b30245f00aae656e7a024b2ab4b8ad8e5549250f SHA256 2ddc2634b7e897546998869bcf0803bfbf4940cb75da9e45a2a8f421b4dabfd3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiE8KgACgkQdz7hIScOUREOwQCfS8axstZuBlsiB0zpa5aiTUr5
+FVIAn1Stg51rWylmTxM/wh1Um8WuYgB9
+=xF+y
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/keytouch-editor/files/keytouch-editor-3.1.3-glibc28.patch b/x11-misc/keytouch-editor/files/keytouch-editor-3.1.3-glibc28.patch
new file mode 100644
index 000000000000..6c9680d2a4a2
--- /dev/null
+++ b/x11-misc/keytouch-editor/files/keytouch-editor-3.1.3-glibc28.patch
@@ -0,0 +1,10 @@
+--- src/ud_socket.c
++++ src/ud_socket.c
+@@ -3,6 +3,7 @@
+ * A few routines for handling UNIX domain sockets
+ */
+
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
diff --git a/x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild b/x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild
index 4df236b47da4..c2938209b513 100644
--- a/x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild
+++ b/x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild
@@ -1,14 +1,13 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild,v 1.2 2008/02/29 20:49:02 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/keytouch-editor/keytouch-editor-3.1.3.ebuild,v 1.3 2008/07/21 20:25:07 nyhm Exp $
inherit eutils linux-info
-DOC_V=3.0
DESCRIPTION="Generates keyboard files for use by keyTouch"
HOMEPAGE="http://keytouch.sourceforge.net/"
SRC_URI="mirror://sourceforge/keytouch/${P}.tar.gz
- doc? ( mirror://sourceforge/keytouch/keytouch_editor_${DOC_V}.pdf )"
+ doc? ( mirror://sourceforge/keytouch/keytouch_editor_3.0.pdf )"
LICENSE="GPL-2"
SLOT="0"
@@ -21,9 +20,16 @@ DEPEND="${RDEPEND}
RDEPEND="${RDEPEND}
kde? ( || (
kde-base/kdesu
- kde-base/kdebase ) )
+ kde-base/kdebase
+ ) )
!kde? ( x11-libs/gksu )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-glibc28.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"