summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-16 05:04:45 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-16 05:04:45 +0000
commit0937a97255d7bf1f532c6f3a030659834a04222f (patch)
tree2bbcdf02fe5c6aa452224dea761863d9714b88ae /app-emulation/ski
parentRevision bump, add patches for bugs 412053 and 381873. Also don't use gcc dir... (diff)
downloadhistorical-0937a97255d7bf1f532c6f3a030659834a04222f.tar.gz
historical-0937a97255d7bf1f532c6f3a030659834a04222f.tar.bz2
historical-0937a97255d7bf1f532c6f3a030659834a04222f.zip
Initial ebuild by Dennis Schridde #376411.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/ski')
-rw-r--r--app-emulation/ski/ChangeLog11
-rw-r--r--app-emulation/ski/Manifest27
-rw-r--r--app-emulation/ski/files/ski-1.3.2-no-local-ltdl.patch22
-rw-r--r--app-emulation/ski/files/ski-1.3.2-remove-hayes.patch14
-rw-r--r--app-emulation/ski/files/ski-1.3.2-syscall-linux-includes.patch18
-rw-r--r--app-emulation/ski/metadata.xml5
-rw-r--r--app-emulation/ski/ski-1.3.2.ebuild45
7 files changed, 142 insertions, 0 deletions
diff --git a/app-emulation/ski/ChangeLog b/app-emulation/ski/ChangeLog
new file mode 100644
index 000000000000..033dc9be9b57
--- /dev/null
+++ b/app-emulation/ski/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emulation/ski
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/ski/ChangeLog,v 1.1 2012/04/16 05:04:45 vapier Exp $
+
+*ski-1.3.2 (16 Apr 2012)
+
+ 16 Apr 2012; Mike Frysinger <vapier@gentoo.org> +ski-1.3.2.ebuild,
+ +files/ski-1.3.2-no-local-ltdl.patch, +files/ski-1.3.2-remove-hayes.patch,
+ +files/ski-1.3.2-syscall-linux-includes.patch, +metadata.xml:
+ Initial ebuild by Dennis Schridde #376411.
+
diff --git a/app-emulation/ski/Manifest b/app-emulation/ski/Manifest
new file mode 100644
index 000000000000..dc93d75b6b0f
--- /dev/null
+++ b/app-emulation/ski/Manifest
@@ -0,0 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ski-1.3.2-no-local-ltdl.patch 366 RMD160 6f331ce51d2e44ace3839b980e55127eb722bf32 SHA1 9bc981f8a5ab65c656b4bccaf89b362b18cb7e7e SHA256 2cf7edfe93c6e99e94b3311f9eadf4eec856c05476739273a2fd7ac5c87df38e
+AUX ski-1.3.2-remove-hayes.patch 682 RMD160 eb91d91ab6d5ded5c5e76088710bc54a7cb18646 SHA1 e2beaf94eed1da859502e84f331039bf1f0c0877 SHA256 8773ce8867e7cde313ce32a84a427e5e593fea55d6d447ee09ff2e2414ead4f1
+AUX ski-1.3.2-syscall-linux-includes.patch 397 RMD160 6c8310734819b00e67388b4d95d55d988cf93a19 SHA1 187f0e2e9c8e30fccb1b457a8868bba341de759f SHA256 0325662033c7674b275dbc2caa8e294a0d903e53266043d5a0551e67ba1ed56f
+DIST ski-1.3.2.tar.gz 2715791 RMD160 1ff739eac7b8163026d208ee9b51d134f524e73f SHA1 fc067041a70cf45cad6af42da7ffe5bf100d7c65 SHA256 34b2a1b2575d6c8703df8f1f3980f7b668e744c4a03f20ed4ed91d40cf40c076
+EBUILD ski-1.3.2.ebuild 1055 RMD160 dc9ba0fdd51483c7f85623d861308bf692035234 SHA1 4676017ef53c8f31f63bc1695d729122a3c6cb05 SHA256 e6e545d6a0f8be412f9be8a55a0f3a27f934f91181c6f408510e26906cffeeb9
+MISC ChangeLog 489 RMD160 5c529036b5b89b10ca0387f94c0e4e4842c28163 SHA1 fc58add76d8e64abf1f8d721e2e24a89c23c64bd SHA256 8d776a6c095aba5f7ede1dedc371d9e0a44f1f0161a0bd36d6f5e02ecd65e5d2
+MISC metadata.xml 157 RMD160 d78bc90d4c0fdb88250c9822e913c6f0159b2e8b SHA1 337a3ca895783b15c7f1fdf721f88b41a4b2e94e SHA256 7e261fbe78f2088ab2a27fe3bd23a4224dde9a11031edcb4b7bb95dd3ba1fe4a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBAgAGBQJPi6iSAAoJELEHsLL7fEFWcEgP+wa1uz4nZ/USzJYVDUJFKbN4
+AwDENgX/R8y0mSEfR9fxyF8KoPDhlZnzjFoQcCauiWDXBXbLPg66NlGj6Ga/KNk+
+IQ2Jxkx6Tyz6Z+aJbVMaiVLcvVgeRqd/Y7+JJL5GVxydsNA8LIkq546UPunHyTLR
+DxteMLRQsKHnYJ6B+KzYa1Dk8cQBJVv1dQ/Fgm2z6/fdAGKf8mHc7Omm260f1qf0
+5YHN+lVcT2N2fUQQdsW1DqAmPQNRICifT2WURmg3ICV54dGJskv6IQptdKamk2Sh
+By8wqesquDMw6004nyFGpihrnN8AohGPDhc42gAm3KZL1mxgJa2CYQXLiP4zsJBf
+HZZhyvYGhF3CGkoS8gzRAb7VqTu37sOSLNdXiLxQDTRhO1d7M8QxTjmXTF6vzL2I
+D43qKef8FDZFVjg1A+Nd4nJzHfqlMe2se0E/d1XVGIdwlp6huNMqUXqqWTaQdkdw
+/AvszcrHWDIW2HaduDWZVvX5/l9EFcwhMNX3+AdRJs5VL8bg+42r3KzgqDDSm27j
+L+HGA2fPDcFSlV2T2Bn6zxOL8ij9HGSd7F0XTBi4AHuxGcaQtkIHnJLEMRF8g5TN
+33dq7C0AU0EDjAtT7MjLoQ/kQgagOG4YMrgsSRTyuiPvyvoVraaOsvY0MJzw9LEP
+SsU6Sk7X7MOvXOn3P3L0
+=U//6
+-----END PGP SIGNATURE-----
diff --git a/app-emulation/ski/files/ski-1.3.2-no-local-ltdl.patch b/app-emulation/ski/files/ski-1.3.2-no-local-ltdl.patch
new file mode 100644
index 000000000000..aa75146668b5
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-no-local-ltdl.patch
@@ -0,0 +1,22 @@
+build against the system ltdl rather than the local copy
+
+--- ski-1.3.2/src/Makefile.am
++++ ski-1.3.2/src/Makefile.am
+@@ -181,8 +181,7 @@
+ eparse.h \
+ libdas.h \
+ netdev.h \
+- osload.h \
+- ltdl.h
++ osload.h
+
+ EXTRA_linux_FILES = \
+ linux/dwarf-linux.c \
+@@ -279,7 +278,6 @@
+ eparse.y \
+ escan.l \
+ load.c \
+- ltdl.c \
+ platform.c \
+ libdas.c \
+ libsrs.c
diff --git a/app-emulation/ski/files/ski-1.3.2-remove-hayes.patch b/app-emulation/ski/files/ski-1.3.2-remove-hayes.patch
new file mode 100644
index 000000000000..3e9de483fd17
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-remove-hayes.patch
@@ -0,0 +1,14 @@
+## Description: Remove references to HAYES
+## Origin/Author: Andreas Moog <amoog@ubuntu.com>
+## Bug-Ubuntu: https://bugs.launchpad.net/bugs/756157
+--- ski//src/linux/syscall-linux.c
++++ ski.new//src/linux/syscall-linux.c
+@@ -2250,8 +2250,6 @@
+ case TIOCSERSETMULTI: /* Set multiport config */
+ case TIOCMIWAIT: /* wait for a change on serial input line(s) */
+ case TIOCGICOUNT: /* read serial port inline interrupt counts */
+- case TIOCGHAYESESP: /* Get Hayes ESP configuration */
+- case TIOCSHAYESESP: /* Set Hayes ESP configuration */
+ case SIOCRTMSG: /* call to routing system */
+ case SIOCSIFLINK: /* set iface channel */
+ case SIOCGIFMEM: /* get memory address (BSD) */
diff --git a/app-emulation/ski/files/ski-1.3.2-syscall-linux-includes.patch b/app-emulation/ski/files/ski-1.3.2-syscall-linux-includes.patch
new file mode 100644
index 000000000000..e3c1083687ac
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-syscall-linux-includes.patch
@@ -0,0 +1,18 @@
+--- ski-1.3.2/src/linux/syscall-linux.c
++++ ski-1.3.2/src/linux/syscall-linux.c
+@@ -45,7 +45,6 @@
+ #include <linux/posix_types.h>
+ #include <linux/personality.h>
+ #include <linux/sockios.h>
+-#include <sys/io.h>
+
+ #include <sys/file.h>
+ #include <sys/fsuid.h>
+@@ -72,7 +71,6 @@
+ #include <sys/uio.h>
+
+ #include <linux/serial.h>
+-#include <asm/page.h>
+ #include <asm/unistd.h>
+
+ #include "std.h"
diff --git a/app-emulation/ski/metadata.xml b/app-emulation/ski/metadata.xml
new file mode 100644
index 000000000000..fe15722775f2
--- /dev/null
+++ b/app-emulation/ski/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ia64</herd>
+</pkgmetadata>
diff --git a/app-emulation/ski/ski-1.3.2.ebuild b/app-emulation/ski/ski-1.3.2.ebuild
new file mode 100644
index 000000000000..22367434810b
--- /dev/null
+++ b/app-emulation/ski/ski-1.3.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/ski/ski-1.3.2.ebuild,v 1.1 2012/04/16 05:04:45 vapier Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="ia64 instruction set simulator"
+HOMEPAGE="http://ski.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gtk motif"
+
+# We use ltdl from libtool at runtime.
+RDEPEND="sys-devel/libtool
+ || ( dev-libs/elfutils dev-libs/libelf )
+ sys-libs/ncurses
+ gtk? ( x11-libs/gtk+:2 )
+ motif? ( x11-libs/openmotif )"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ dev-util/gperf"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-syscall-linux-includes.patch \
+ "${FILESDIR}"/${P}-remove-hayes.patch \
+ "${FILESDIR}"/${P}-no-local-ltdl.patch
+
+ rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4
+
+ AT_M4DIR="macros" eautoreconf
+}
+
+src_configure() {
+ econf \
+ --without-included-ltdl \
+ $(use_enable gtk) \
+ $(use_enable motif x11)
+}