summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-01-07 17:19:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-01-07 17:19:36 +0000
commitf72ce665be25d3e84213c1185135ee97bddcf478 (patch)
tree21b6baf1272725ca6d28935bdb5a288b86352edf /x11-misc
parentMarked ~hppa (LuckyLuke in #gentoo-hppa). (diff)
downloadhistorical-f72ce665be25d3e84213c1185135ee97bddcf478.tar.gz
historical-f72ce665be25d3e84213c1185135ee97bddcf478.tar.bz2
historical-f72ce665be25d3e84213c1185135ee97bddcf478.zip
Fix building with a patchset from FreeBSD and keyword ~amd64 wrt #196764, thanks to Martic Berkemeier for reporting. Also respect correct CXX and CXXFLAGS targets and sanitize ebuild.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/accessx/ChangeLog12
-rw-r--r--x11-misc/accessx/Manifest23
-rw-r--r--x11-misc/accessx/accessx-0951-r1.ebuild37
-rw-r--r--x11-misc/accessx/files/access-gcc3-gentoo.patch12
-rw-r--r--x11-misc/accessx/files/accessx-0951-build.patch65
-rw-r--r--x11-misc/accessx/files/digest-accessx-0951-r13
6 files changed, 130 insertions, 22 deletions
diff --git a/x11-misc/accessx/ChangeLog b/x11-misc/accessx/ChangeLog
index 6f61ee2cf641..c43d17092d19 100644
--- a/x11-misc/accessx/ChangeLog
+++ b/x11-misc/accessx/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for x11-misc/accessx
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/accessx/ChangeLog,v 1.21 2007/07/22 02:43:59 coldwind Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/accessx/ChangeLog,v 1.22 2008/01/07 17:19:35 drac Exp $
+
+*accessx-0951-r1 (07 Jan 2008)
+
+ 07 Jan 2008; Samuli Suominen <drac@gentoo.org>
+ +files/accessx-0951-build.patch, +accessx-0951-r1.ebuild:
+ Fix building with a patchset from FreeBSD and keyword ~amd64 wrt #196764,
+ thanks to Martic Berkemeier for reporting. Also respect correct CXX and
+ CXXFLAGS targets and sanitize ebuild.
22 Jul 2007; Santiago M. Mola <coldwind@gentoo.org> accessx-0951.ebuild:
virtual/x11 removed and clean up.
diff --git a/x11-misc/accessx/Manifest b/x11-misc/accessx/Manifest
index 0000adc57b6d..202ea23a5a4d 100644
--- a/x11-misc/accessx/Manifest
+++ b/x11-misc/accessx/Manifest
@@ -1,16 +1,20 @@
-AUX access-gcc3-gentoo.patch 355 RMD160 f2594ffe1821cb4b72ac5fc0076b71cd4d29c9c2 SHA1 8967bb45d9d24163c437d7aa9f1301380bb670e3 SHA256 e139ad6ce65f4d1bc4c57b6ca97c62987ba9b6cae1df2930e3e481428d66f2bc
-MD5 fb7ad94abfb681ca6ba8d09e740339b2 files/access-gcc3-gentoo.patch 355
-RMD160 f2594ffe1821cb4b72ac5fc0076b71cd4d29c9c2 files/access-gcc3-gentoo.patch 355
-SHA256 e139ad6ce65f4d1bc4c57b6ca97c62987ba9b6cae1df2930e3e481428d66f2bc files/access-gcc3-gentoo.patch 355
+AUX accessx-0951-build.patch 1666 RMD160 abf8d73875ce94d5e2e7b59f5606bf0bc56be720 SHA1 7c8a16fff372db6f4f2950455c86b581160dedfa SHA256 8f22d2effde1ff63e4201236bd2a8928db37fdf1ecafe618569e3a1ff03bcecc
+MD5 141bd5ef792366a7f411240950395c2c files/accessx-0951-build.patch 1666
+RMD160 abf8d73875ce94d5e2e7b59f5606bf0bc56be720 files/accessx-0951-build.patch 1666
+SHA256 8f22d2effde1ff63e4201236bd2a8928db37fdf1ecafe618569e3a1ff03bcecc files/accessx-0951-build.patch 1666
DIST accessx0951.tar.gz 17199 RMD160 505db30895d16137ff893ee0adbc1e8a8c706e4b SHA1 c189d86067df37d206c7c1cd99ec7568f045d0a8 SHA256 441e9316552a88d26b265a3074656ec56a84d8ea287d7dcebdb7a2b562111863
+EBUILD accessx-0951-r1.ebuild 871 RMD160 8460eb890e9abe73380be3769564090e4753f5cb SHA1 a54b250036ce2b33983c857efe60c1bdfd60ea6d SHA256 541e70f364fc787c0eb837c51504800347c924dff0f912dfc61d283f8ee08f68
+MD5 52ac38199d70fae18518fb85bb41c71e accessx-0951-r1.ebuild 871
+RMD160 8460eb890e9abe73380be3769564090e4753f5cb accessx-0951-r1.ebuild 871
+SHA256 541e70f364fc787c0eb837c51504800347c924dff0f912dfc61d283f8ee08f68 accessx-0951-r1.ebuild 871
EBUILD accessx-0951.ebuild 632 RMD160 9cb94bfaa79125b0ff81133c38b7f9536fcc29f0 SHA1 86d386ed5521d6ff64180f7d431f06269b2a3d53 SHA256 513c8d67a4d814296cacca1c637d34af06f6858c27546d917a72c7e1deff13d7
MD5 76c67851b7ec8982dc27cf4f4c6188d8 accessx-0951.ebuild 632
RMD160 9cb94bfaa79125b0ff81133c38b7f9536fcc29f0 accessx-0951.ebuild 632
SHA256 513c8d67a4d814296cacca1c637d34af06f6858c27546d917a72c7e1deff13d7 accessx-0951.ebuild 632
-MISC ChangeLog 2048 RMD160 26f30d8f17c619df37c02627416c99a6539a8047 SHA1 ed824e9fb83e4f64a138f9b75b2d7a6f092e33aa SHA256 d4ba3bf3fd5759fe7ad1529b687db6fd2e06d88af204a790fb64215ac245c3fe
-MD5 bcf7f48b6082a8a96b3b6cd6e1186e28 ChangeLog 2048
-RMD160 26f30d8f17c619df37c02627416c99a6539a8047 ChangeLog 2048
-SHA256 d4ba3bf3fd5759fe7ad1529b687db6fd2e06d88af204a790fb64215ac245c3fe ChangeLog 2048
+MISC ChangeLog 2376 RMD160 90842482c183480aef26c18c14cf919fbcd4e995 SHA1 972a1e8e7630720852fc981a1cb97e33edeb136a SHA256 216d0a7203f9dd17d510a3d266006f3ab82b09f10241f4474af2639881b6cd5b
+MD5 84f0873bcf7d6451f92c5126b9ef6688 ChangeLog 2376
+RMD160 90842482c183480aef26c18c14cf919fbcd4e995 ChangeLog 2376
+SHA256 216d0a7203f9dd17d510a3d266006f3ab82b09f10241f4474af2639881b6cd5b ChangeLog 2376
MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826
MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 metadata.xml 166
@@ -18,3 +22,6 @@ SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 metadata
MD5 1640ddd4c44f1722be8f8e2f276ce180 files/digest-accessx-0951 232
RMD160 099f94733da49495e300ea2c00d8bbd13186d03c files/digest-accessx-0951 232
SHA256 db3bc62b75d2f8f704ae8de6760f1414bba5d30d3069314ea11f2046989528c7 files/digest-accessx-0951 232
+MD5 1640ddd4c44f1722be8f8e2f276ce180 files/digest-accessx-0951-r1 232
+RMD160 099f94733da49495e300ea2c00d8bbd13186d03c files/digest-accessx-0951-r1 232
+SHA256 db3bc62b75d2f8f704ae8de6760f1414bba5d30d3069314ea11f2046989528c7 files/digest-accessx-0951-r1 232
diff --git a/x11-misc/accessx/accessx-0951-r1.ebuild b/x11-misc/accessx/accessx-0951-r1.ebuild
new file mode 100644
index 000000000000..09ee4a3664ca
--- /dev/null
+++ b/x11-misc/accessx/accessx-0951-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/accessx/accessx-0951-r1.ebuild,v 1.1 2008/01/07 17:19:35 drac Exp $
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Interface to the XKEYBOARD extension in X11"
+HOMEPAGE="http://cmos-eng.rehab.uiuc.edu/accessx"
+SRC_URI="http://cmos-eng.rehab.uiuc.edu/${PN}/software/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ dev-lang/tk"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" OPTS="${CXXFLAGS}" \
+ XLIBDIR="-L/usr/$(get_libdir)" || die "emake failed."
+}
+
+src_install() {
+ dobin accessx ax
+ dodoc CHANGES README
+}
diff --git a/x11-misc/accessx/files/access-gcc3-gentoo.patch b/x11-misc/accessx/files/access-gcc3-gentoo.patch
deleted file mode 100644
index 49e8c9132622..000000000000
--- a/x11-misc/accessx/files/access-gcc3-gentoo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur accessx/ax.C accessx.m/ax.C
---- accessx/ax.C 2001-03-13 23:42:10.000000000 -0600
-+++ accessx.m/ax.C 2002-07-24 22:15:20.000000000 -0500
-@@ -713,7 +713,7 @@
- ///////////////////////////////////////////////////////////////////////////////
-
-
--void main(int argc, char** argv)
-+int main(int argc, char** argv)
- {
- Access ax;
- ax.QueryServer();
diff --git a/x11-misc/accessx/files/accessx-0951-build.patch b/x11-misc/accessx/files/accessx-0951-build.patch
new file mode 100644
index 000000000000..6d732487214f
--- /dev/null
+++ b/x11-misc/accessx/files/accessx-0951-build.patch
@@ -0,0 +1,65 @@
+diff -ur accessx.orig/Access.C accessx/Access.C
+--- accessx.orig/Access.C 2003-09-19 19:08:01.000000000 +0300
++++ accessx/Access.C 2008-01-07 18:53:43.000000000 +0200
+@@ -22,6 +22,8 @@
+ #include <X11/XKBlib.h>
+ #include "Access.h"
+
++using namespace std;
++
+ //
+ // Access()
+ //
+@@ -153,7 +155,7 @@
+ //Get the state of the keyboard.
+
+ XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd);
+- if ((int)xkb == BadAlloc || xkb == NULL)
++ if (xkb == NULL)
+ {
+ return 5; /*AccessKeyboardQueryFailure;*/
+ }
+@@ -262,7 +264,7 @@
+ //Get the state of the keyboard.
+
+ XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd);
+- if ((int)xkb == BadAlloc || xkb == NULL)
++ if (xkb == NULL)
+ {
+ return 5; /*AccessKeyboardQueryFailure;*/
+ }
+diff -ur accessx.orig/Access.h accessx/Access.h
+--- accessx.orig/Access.h 2003-09-19 19:00:42.000000000 +0300
++++ accessx/Access.h 2008-01-07 18:53:47.000000000 +0200
+@@ -21,7 +21,7 @@
+ *
+ */
+
+-#include <iostream.h>
++#include <iostream>
+ #include <math.h>
+
+ inline char* onoroff(int val)
+diff -ur accessx.orig/ax.C accessx/ax.C
+--- accessx.orig/ax.C 2003-09-19 19:09:31.000000000 +0300
++++ accessx/ax.C 2008-01-07 18:53:49.000000000 +0200
+@@ -20,6 +20,7 @@
+
+ #include "ax.h"
+
++using namespace std;
+
+ ///////////////////////////////////////////////////////////////////////////////
+ //
+diff -ur accessx.orig/ax.h accessx/ax.h
+--- accessx.orig/ax.h 2003-09-19 19:06:56.000000000 +0300
++++ accessx/ax.h 2008-01-07 18:53:51.000000000 +0200
+@@ -24,7 +24,7 @@
+
+ // Include Files
+
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/x11-misc/accessx/files/digest-accessx-0951-r1 b/x11-misc/accessx/files/digest-accessx-0951-r1
new file mode 100644
index 000000000000..d034ebeb7b3d
--- /dev/null
+++ b/x11-misc/accessx/files/digest-accessx-0951-r1
@@ -0,0 +1,3 @@
+MD5 e61286559b65e452705a6329646776f1 accessx0951.tar.gz 17199
+RMD160 505db30895d16137ff893ee0adbc1e8a8c706e4b accessx0951.tar.gz 17199
+SHA256 441e9316552a88d26b265a3074656ec56a84d8ea287d7dcebdb7a2b562111863 accessx0951.tar.gz 17199