diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/ski |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/ski')
-rw-r--r-- | app-emulation/ski/Manifest | 14 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-AC_C_BIGENDIAN.patch | 75 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-binutils.patch | 31 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-configure-withval.patch | 22 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-ncurses-config.patch | 25 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-no-local-ltdl.patch | 22 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-prototypes.patch | 31 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-remove-hayes.patch | 14 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-syscall-linux-includes.patch | 18 | ||||
-rw-r--r-- | app-emulation/ski/files/ski-1.3.2-uselib.patch | 18 | ||||
-rw-r--r-- | app-emulation/ski/metadata.xml | 11 | ||||
-rw-r--r-- | app-emulation/ski/ski-1.3.2-r1.ebuild | 56 |
12 files changed, 337 insertions, 0 deletions
diff --git a/app-emulation/ski/Manifest b/app-emulation/ski/Manifest new file mode 100644 index 000000000000..5a9cf94733e2 --- /dev/null +++ b/app-emulation/ski/Manifest @@ -0,0 +1,14 @@ +AUX ski-1.3.2-AC_C_BIGENDIAN.patch 2266 SHA256 e15a60efaaa0ce3fb1d25d68029f9c35928daa468ecb110d2f7ee1ab50a93774 SHA512 0970007c99f29dd19d4e64f433cd7addec8a316ec68a7e3c07c11ec3849d70086ba262883eb82f66c0517b9bf2c77399d69d72345ca0e8d9cb3723086fe4a6a0 WHIRLPOOL 636a0da82e04e8036c3ce5c1f895a41e361c4330c2d0ebb0c0950cb56b4079c35e094c837472730271c25bc1e1c867d5bfeb1938ae482c2c13471c709ef02bcc +AUX ski-1.3.2-binutils.patch 1039 SHA256 d737f8f4687f2eba3dbd2333a0b7aaf60b1c4a83d103b36708f42bd9239ccaac SHA512 b473ed658a5496c849cbb82dfeaa1913834dde60e2da17d09a4a882e87067236ecf25b807281921c86fc4a2cca5461f2a608e1a4c301d4cfda39507bdfcc4d6a WHIRLPOOL 5478593f0f7341d4bff752a7a92d7b726977a8cafc8754c3d8541f4fc441f6e58b95946d3d463bb2dcdce6ec899c74ac6ad9d2bc054cf033eab5618a6b5602b8 +AUX ski-1.3.2-configure-withval.patch 634 SHA256 5ad259f8527bd726719e74369d2a2493b1480738b358ab7761d0f1422da26496 SHA512 38e612baf0a3fee74c3d3fa0f106b6169eb5d5594b5cfd437ab65f888dfaf151863a0d5b312ebe0b4ff882937fa4a5c2a3b6b0064fc0dabe6fd57990de4eb9ec WHIRLPOOL 19650ba28d33487815d73e9b48efe4c452a971128a07f8dbb623a4f9520244ab603064bbc469576d3cec3cd955c0d4ce8df3bfe145d83b0a9d6d67a84c8b8662 +AUX ski-1.3.2-ncurses-config.patch 584 SHA256 182257feb6f981297e5c9a22b539587f39ae965b1d3f17987dba2f40c2edc90e SHA512 64bd0b4ee7d7e9117f9907eaf71f92b0b74dc4d1c4724845de31820a9853199f8834d3d01afdfb725c389d45f353e2d8b99264aa5ddff5c3067c22e990cd967e WHIRLPOOL f043b8ce97bba72cc6b39348f938ecda39da66eab5e905c627847577b13d545bf978c0cf17a5f854b2416e48d7150229387dd79ee2e8b1b0775f59e4251a0f97 +AUX ski-1.3.2-no-local-ltdl.patch 366 SHA256 2cf7edfe93c6e99e94b3311f9eadf4eec856c05476739273a2fd7ac5c87df38e SHA512 70ecc14b4449065ade95b00b18b79cd6106f3efc1553310b2ae3b6df10f1f31886c9d7c3832e727daf51bd0ce22d53f818fb30b9e8c11dea597315bbeb442f81 WHIRLPOOL 8b064cb3475d2aaffd697182c8bf415b9cead758b0a46f526a3c58723cbfa96d17fed2e2d73a56816d8e47c3563cfc77b4d439aae539af8386e98d16e69f2f06 +AUX ski-1.3.2-prototypes.patch 656 SHA256 3b4063bd261b9f41ed69198692a133ad5ae482bd454c5081372959b9af4d0a4f SHA512 d1f37e57a0aaea4621a749b94453121f16cd3ce6c51cae4cdde8b6258f5a4a7a63c5b35e8bc50cf43d5462ab8be9abfc4196443e329641622ab848f56e27616d WHIRLPOOL 9188388a0842beeb8a9803b26a7afac530bc79c9d62ed1930aa04fa53dd8b4d97e2eefed3131cec5ca746e5ba53a010cd4a3dc03be843c95211671aee2326cb5 +AUX ski-1.3.2-remove-hayes.patch 682 SHA256 8773ce8867e7cde313ce32a84a427e5e593fea55d6d447ee09ff2e2414ead4f1 SHA512 efbaac0e9c6d1423def13d22b361aa9e7766b8959f2def6e146e12e74393f142b0212e2234ba2753aa71e19b6a0c30e86a74a05026efba2db01229d1a7e43a5e WHIRLPOOL 5b962643c5674612c1f9c713f3268dd2aeedeb7200b84c3bdcca77063773e36e5f158897b53490f1af5701d6bf8102b426af97bacb58ac543485a18aebcb508d +AUX ski-1.3.2-syscall-linux-includes.patch 397 SHA256 0325662033c7674b275dbc2caa8e294a0d903e53266043d5a0551e67ba1ed56f SHA512 f0784af8eb8ecc8df92f96f1ce2f714f4cb1a9e60409a06c02cf300316a9680b01be6b6d1f83854b1fb3bd364cf0b08262a99a63190695fd9722691ef1fa3d6f WHIRLPOOL 0c76d91c77ebb3a5483971ab3c5f47612b59ca415eaee2f9278347f4afc755f67494386b0b3cba8350bacda60fbc05a05f4adeecac85bf69d136678ab19396eb +AUX ski-1.3.2-uselib.patch 582 SHA256 046f61d9ac609e6dd90fc357dbd9d235ba6ce38122de4aca3a79505b5266f2b4 SHA512 f119e1a18ef08f40758fa1ddde61a88533b432c75111bba38ffc134edfee66f28ee01336509ed106461bddfc438d1eac48213ab4940e82f5128b924e584b974e WHIRLPOOL 24fd068d3c20e756a882267aee18cbbc071bf47b52eeb130886bead1c0db2dae62de7cbab6da4f638eb5383572b45abae672172431895fee6c93146bd6633b39 +DIST ski-1.3.2.tar.gz 2715791 SHA256 34b2a1b2575d6c8703df8f1f3980f7b668e744c4a03f20ed4ed91d40cf40c076 SHA512 21f2e1dd87cb517602d4d6ef62707ec6042c1b6ec5dfd063db7315d13bbc3fb47b491c15b7efb0433fc82f27c7924e2d50b2f57fe24e49aeb864ce2c3c2c8bd0 WHIRLPOOL a6b00dc928612a37c33dc3dacd8a53f749ffa660f3aef5572b214e5c97ed93728e987c4be8abb2d375e0a84eb3037f9de490f3f0474a579e3c0476e50d6010ef +EBUILD ski-1.3.2-r1.ebuild 1223 SHA256 2510c20f4b10d03ad20d3b2464d486a8649a9fe8a0aee1ca1816ae0755c39052 SHA512 642a6e1351ef8cf984a7c842a62347183afeb23174ba7d7972301c7a6514311a00e5e9b009206d14d1a2a15b194784ff4db0d7376b4393db4c69632bd34c092b WHIRLPOOL 7904f786644ce1a7a8a6b937894c14156d3c5268d37f0db50a57bdf115c337992a5c68864af366333c6fe3f1efd0190e1db4e9e50f20bd07f8db15a18a1d0681 +MISC ChangeLog 2827 SHA256 618835c1f8372f9673b3e276d3c98e301e4159f966d90f2d2db4bd0583b3da74 SHA512 5ddafcdfb9bfdbffc0be2deca938475e8e0ab972c89e6ca93d9bc613a2374069a2c9e56c641475d76dca0cc026cea7d4889d9a766526e0d019d544dd01d5dde8 WHIRLPOOL 4b674a1bba5a2f8fde92d57533282a7186fe0efee33bc69e464054768d29256c21b95ffa09cb28491109aee8ac9029a8482876b9671043aa3687b4efcf36da1b +MISC ChangeLog-2015 1846 SHA256 b375d4f7381122b02b6dc7678accd73c3dc4b2aff5f7085d5ea245a9237a2571 SHA512 4651b1bfa0169a65aa362937b27987b1560b4a139354ede7e81b42586d8ba644963c79b99f47361e7a62b731f94dd494c854c80ad0e3a65b2cc83d619a3a6668 WHIRLPOOL c6046dc920bb32109d18c7c8b484f2e330b1bdd0404bd09427821829ce363b68462267a9fe1e4171fbaecb1eba7dc3299b09ff969ac311cb8217b4683ed32f1e +MISC metadata.xml 335 SHA256 84157c1c4ed543d272de702819b4757a546f5cb5d83bdb2bf360193b8a601aa3 SHA512 4b9ac18f2d0cbb672eb1af814e0f09a8bcd5b2f9f4cd1f1c30efff18ae2eccd2ea4f166cc3446756733e2bcc581b9a1f7ab62a96234fe9e02f649eac2a011b20 WHIRLPOOL 83d7e11a8f33ce9d02478d602932218d8d6271edb77dee425fde127a8a2136b8598b6a470597db3e0b55b966fc8c0361fe71ac4e924037f4b515b02b77f03583 diff --git a/app-emulation/ski/files/ski-1.3.2-AC_C_BIGENDIAN.patch b/app-emulation/ski/files/ski-1.3.2-AC_C_BIGENDIAN.patch new file mode 100644 index 000000000000..34a7d8183702 --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-AC_C_BIGENDIAN.patch @@ -0,0 +1,75 @@ +use standard AC_C_BIGENDIAN macro rather than trying to define it manually + +--- a/configure.ac ++++ b/configure.ac +@@ -155,52 +155,24 @@ AC_SUBST(GSKI_CFLAGS) + AC_SUBST(GSKI_LIBS) + AM_CONDITIONAL(WITH_GTK_INTERFACE, test "x$with_gtk" = "xyes") + +-dnl Target endianness +-AC_ARG_ENABLE(bigendian, +-AC_HELP_STRING([--enable-bigendian], +- [the target is big endian default=no]), +-ski_cv_c_target_bigendian=${enableval}, ski_cv_c_target_bigendian=no) +- + dnl Check for host endianness + AC_CACHE_CHECK([whether host byte ordering is defined in sys/param.h], + ski_cv_c_bigendian_compile, + [AC_TRY_COMPILE([ + #include <sys/types.h> + #include <sys/param.h> + ],[ + #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN + #error bogus endian macros + #endif + ], + ski_cv_c_bigendian_compile=yes, ski_cv_c_bigendian_compile=no)]) + + if test "x$ski_cv_c_bigendian_compile" = xyes; then + AC_DEFINE(ENDIANESS_IN_SYS_PARAM_H, 1, + [define if sys/param.h defines the endiness]) +-else +-AC_CACHE_CHECK([whether host byte ordering is big endian], +-ski_cv_c_bigendian, +-[AC_TRY_RUN([int main () { +- union { +- long l; +- char c[sizeof (long)]; +- } u; +- u.l = 1; +- return (u.c[sizeof (long) - 1] == 1); +-}], +-ski_cv_c_bigendian=no, ski_cv_c_bigendian=yes, +-AC_MSG_ERROR([cannot detect host endianness]))]) +- +-AC_DEFINE(BIG_ENDIAN, 4321, [define to 4321 if missing from sys/param.h]) +-AC_DEFINE(LITTLE_ENDIAN, 1234, [define to 4321 if missing from sys/param.h]) +-if test "x$ski_cv_c_bigendian" = xyes; then +- AC_DEFINE(BYTE_ORDER, 4321, +- [define to 4321 if host is big endian, 1234 if little endian]) +-else +- AC_DEFINE(BYTE_ORDER, 1234, +- [define to 4321 if host is big endian, 1234 if little endian]) +-fi + fi ++AC_C_BIGENDIAN + + dnl Check for variables & functions + +--- a/src/std.h ++++ b/src/std.h +@@ -62,6 +62,14 @@ extern unsigned long long __strtoull(const char *, char **, int); + # define BIG_ENDIAN 4321 + # define LITTLE_ENDIAN 1234 + # define BYTE_ORDER BIG_ENDIAN ++# else ++# define BIG_ENDIAN 4321 ++# define LITTLE_ENDIAN 1234 ++# ifdef WORDS_BIGENDIAN ++# define BYTE_ORDER BIG_ENDIAN ++# else ++# define BYTE_ORDER LITTLE_ENDIAN ++# endif + # endif /* !defined HAVE_CONFIG_H */ + #endif /* !defined ENDIANESS_IN_SYS_PARAM_H */ + diff --git a/app-emulation/ski/files/ski-1.3.2-binutils.patch b/app-emulation/ski/files/ski-1.3.2-binutils.patch new file mode 100644 index 000000000000..71094f3bf4b6 --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-binutils.patch @@ -0,0 +1,31 @@ +From 30d3253c6b413ba22ca0ca30dcd4c4c24daec2e1 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyfox@gentoo.org> +Date: Tue, 19 Aug 2014 09:42:43 +0300 +Subject: [PATCH] Fix build failure against binutils-2.16.1 and upper. + +Follow binutils' upstream change from 2004: + + https://sourceware.org/git/?p=binutils.git;a=commitdiff;h=7e2dd9e4c3e0b69dcb7d471b891879b5fd28687e + > section.c (struct sec): Rename "_cooked_size" to "size". + +Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> +--- + src/linux/dwarf-linux.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/linux/dwarf-linux.c b/src/linux/dwarf-linux.c +index 1941a1f..73be0e6 100644 +--- a/src/linux/dwarf-linux.c ++++ b/src/linux/dwarf-linux.c +@@ -155,7 +155,7 @@ find_in_section (bfd * bfd, asection * sect, PTR obj) + first.function = function; + first.line = line; + first.num_lines = 1; +- first.limit = sect->_cooked_size; ++ first.limit = sect->size; + last_line = line; + } + if (line > last_line +-- +2.0.4 + diff --git a/app-emulation/ski/files/ski-1.3.2-configure-withval.patch b/app-emulation/ski/files/ski-1.3.2-configure-withval.patch new file mode 100644 index 000000000000..7bb3ce9fc85c --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-configure-withval.patch @@ -0,0 +1,22 @@ +fix handling of 3rd/4th args to AC_ARG_WITH() + +--- a/configure.ac ++++ b/configure.ac +@@ -130,7 +130,7 @@ dnl See if we build X11 + AC_ARG_WITH(x11, + AC_HELP_STRING([--with-x11], + [Enable the Motif based X11 interface default=no]), +- [with_x11=yes],[with_x11=no]) ++ [with_x11=$withval]) + + if test "x$with_x11" = "xyes"; then + dnl Check for motif, error out if not found +@@ -144,7 +144,7 @@ dnl See if we build GTK + AC_ARG_WITH(gtk, + AC_HELP_STRING([--with-gtk], + [Enable building the GTK Ski interface default=no]), +- [with_gtk=yes],[with_gtk=no] ++ [with_gtk=$withval] + ) + + if test "x$with_gtk" = "xyes"; then diff --git a/app-emulation/ski/files/ski-1.3.2-ncurses-config.patch b/app-emulation/ski/files/ski-1.3.2-ncurses-config.patch new file mode 100644 index 000000000000..4317df415efa --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-ncurses-config.patch @@ -0,0 +1,25 @@ +use pkg-config to look up ncurses deps to support things like split tinfo + +--- a/configure.ac ++++ b/configure.ac +@@ -93,6 +93,7 @@ + AC_PROG_SED + AC_PROG_YACC + AM_PROG_LEX ++PKG_PROG_PKG_CONFIG + + AC_C_INLINE + AC_C_CONST +@@ -304,9 +305,9 @@ + fi + + if test "x$check_curses" != xno; then +-AC_CHECK_LIB(curses, tgetent, [], +- [AC_CHECK_LIB(ncurses, tgetent, , +- [AC_MSG_ERROR(Required curses library not found.)])]) ++ PKG_CHECK_MODULES([NCURSES], [ncurses]) ++ CFLAGS="$CFLAGS $NCURSES_CFLAGS" ++ LIBS="$LIBS $NCURSES_LIBS" + fi + + AC_CHECK_LIB(elf, elf_begin, [], 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-prototypes.patch b/app-emulation/ski/files/ski-1.3.2-prototypes.patch new file mode 100644 index 000000000000..b66614368708 --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-prototypes.patch @@ -0,0 +1,31 @@ +fix up prototypes to avoid -Wimplicit-function-declaration warnings + +--- a/src/coreui.h ++++ b/src/coreui.h +@@ -177,6 +177,7 @@ + void stepIt_setupGtk(CTR cnt); + + void runIt_setupX(void); ++void runIt_setupGtk(void); + + + /*-------------------------------------------------------------------------- +--- a/src/ssGtk.c ++++ b/src/ssGtk.c +@@ -82,6 +82,7 @@ + + /* externals */ + extern dataStart; ++ADDR iAinstAddr(ADDR baseAddr, BYTE iAmode, int delta); + + static GtkLabel* instcount_label; + /* sits in a background loop */ +@@ -100,7 +101,7 @@ + } + + +-void runIt_setupGtk(void *data) ++void runIt_setupGtk(void) + { + g_idle_add(runItGtk, NULL); + stopPressed = NO; 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/files/ski-1.3.2-uselib.patch b/app-emulation/ski/files/ski-1.3.2-uselib.patch new file mode 100644 index 000000000000..d600cb2ce3fa --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-uselib.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/592226 + +patch taken from Fedora + +glibc-2.23+ no longer exports the uselib function. make the syscall directly. + +--- ski-1.3.2/src/linux/syscall-linux.c ++++ ski-1.3.2/src/linux/syscall-linux.c +@@ -554,7 +554,8 @@ + extern void munmapSyms (ADDR, ADDR); + extern void dynBlock (ADDR, ADDR); + extern void memFree (ADDR); +-extern int uselib (const char *libname); /* Linux specific */ ++#include <sys/syscall.h> ++#define uselib(libname) syscall(__NR_uselib, libname) + + extern int setresuid (uid_t, uid_t, uid_t); + extern int getresuid (uid_t *, uid_t *, uid_t *); diff --git a/app-emulation/ski/metadata.xml b/app-emulation/ski/metadata.xml new file mode 100644 index 000000000000..a82c03848dd3 --- /dev/null +++ b/app-emulation/ski/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ia64@gentoo.org</email> + <name>Gentoo Linux IA-64 Development</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">ski</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emulation/ski/ski-1.3.2-r1.ebuild b/app-emulation/ski/ski-1.3.2-r1.ebuild new file mode 100644 index 000000000000..3ca262479f5d --- /dev/null +++ b/app-emulation/ski/ski-1.3.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="ia64 instruction set simulator" +HOMEPAGE="http://ski.sourceforge.net/ http://www.gelato.unsw.edu.au/IA64wiki/SkiSimulator" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gtk motif" + +RDEPEND="dev-libs/libltdl:0= + sys-libs/ncurses:0= + virtual/libelf + gtk? ( + gnome-base/libglade:2.0 + gnome-base/libgnomeui + x11-libs/gtk+:2 + ) + motif? ( x11-libs/motif:0= )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + dev-util/gperf" + +PATCHES=( + "${FILESDIR}"/${P}-syscall-linux-includes.patch + "${FILESDIR}"/${P}-remove-hayes.patch + "${FILESDIR}"/${P}-no-local-ltdl.patch + "${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch + "${FILESDIR}"/${P}-configure-withval.patch + "${FILESDIR}"/${P}-binutils.patch + "${FILESDIR}"/${P}-uselib.patch #592226 + "${FILESDIR}"/${P}-ncurses-config.patch + "${FILESDIR}"/${P}-prototypes.patch +) + +src_prepare() { + default + + rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4 + + AT_M4DIR="macros" eautoreconf +} + +src_configure() { + econf \ + --without-included-ltdl \ + $(use_with gtk) \ + $(use_with motif x11) +} |