summaryrefslogtreecommitdiffstats
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/biew/Manifest5
-rw-r--r--dev-util/biew/biew-5.6.2-r1.ebuild67
-rw-r--r--dev-util/biew/biew-6.1.0.ebuild57
-rw-r--r--dev-util/biew/files/biew-562-lvalue-casts.patch152
-rw-r--r--dev-util/decuda/Manifest3
-rw-r--r--dev-util/decuda/decuda-0.4.2.ebuild28
-rw-r--r--dev-util/decuda/files/decuda-ds-setup.patch74
-rw-r--r--dev-util/mutrace/Manifest4
-rw-r--r--dev-util/mutrace/files/mutrace-ds-compile.patch12
-rw-r--r--dev-util/mutrace/files/mutrace-ds-compile2.patch12
-rw-r--r--dev-util/mutrace/mutrace-0.2-r1.ebuild26
-rw-r--r--dev-util/nvidia-cuda-toolkit/Manifest3
-rwxr-xr-xdev-util/nvidia-cuda-toolkit/files/cuda-config28
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9-r1.ebuild15
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.ebuild10
-rw-r--r--dev-util/objconv/Manifest2
-rw-r--r--dev-util/objconv/objconv-2.08.ebuild41
17 files changed, 539 insertions, 0 deletions
diff --git a/dev-util/biew/Manifest b/dev-util/biew/Manifest
new file mode 100644
index 0000000..d268acc
--- /dev/null
+++ b/dev-util/biew/Manifest
@@ -0,0 +1,5 @@
+AUX biew-562-lvalue-casts.patch 5531 RMD160 fd994fa1c4104023b1644a5a8cb53adbafe4b7cf SHA1 b579bbfc6fb8e3a6d8e572e6dc5b16caf7597415 SHA256 1a9090cd036ee0c32d4e36a8db6fd10238e6011d0daf579041a3079912dad5c3
+DIST biew-610-src.tar.bz2 860517 RMD160 c728c8e165c2e16edcc4c25ddef063379b32049d SHA1 332b45580cdee134ee42c48bec652fcba96cd99a SHA256 2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17
+DIST biew562.tar.bz2 594367 RMD160 413f2c72a70056adbebd5e79d541201d6e3b27cb SHA1 44435c0815a59d38c9a6c74d09c0f495e71e23fe SHA256 82263fdd9f9854a9326889b8d4e138c0dba3f08460922d4683f659873313e46a
+EBUILD biew-5.6.2-r1.ebuild 1610 RMD160 97f1694e40d21b58b8cf5b9f6863c58947d99f8f SHA1 ffcf4b2ee462e6761c077da62d6a1cc9be2683a5 SHA256 20e1495142497964cfc2ed77abe8fc5407a598487b66330763d382f34bb1ac87
+EBUILD biew-6.1.0.ebuild 1450 RMD160 a12e08b72d92186911f360b64eb3a3412d3e995b SHA1 191919e6abe1246b70572f550d67fd6a913360f9 SHA256 b524e3659118795f8bc408a06e76e5ebc63aee56f44072e1aa843d8ceb7b7fb3
diff --git a/dev-util/biew/biew-5.6.2-r1.ebuild b/dev-util/biew/biew-5.6.2-r1.ebuild
new file mode 100644
index 0000000..34681c2
--- /dev/null
+++ b/dev-util/biew/biew-5.6.2-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-5.6.2.ebuild,v 1.6 2006/08/13 10:58:43 spock Exp $
+
+inherit flag-o-matic
+IUSE="slang ncurses"
+
+DESCRIPTION="A multiplatform portable viewer of binary files with built-in editor in binary, hexadecimal and disassembler modes."
+HOMEPAGE="http://biew.sourceforge.net/"
+SRC_URI="mirror://sourceforge/biew/${PN}${PV//./}.tar.bz2"
+
+SLOT="0"
+KEYWORDS="x86 amd64"
+LICENSE="GPL-2"
+
+DEPEND="ncurses? ( >=sys-libs/ncurses-5.3 )
+ slang? ( <sys-libs/slang-2.0.0 )"
+S="${WORKDIR}/${PN}-${PV//./}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/biew-562-lvalue-casts.patch
+
+ sed -i "s/USE_MOUSE=.*/USE_MOUSE=y/" makefile
+ sed -i 's:/usr/local:/usr:' biewlib/sysdep/generic/unix/os_dep.c
+ sed -i "s/CFLAGS += -O2 -fomit-frame-pointer/CFLAGS +=/" makefile.inc
+ sed -i 's/bool/__bool/g' plugins/bin/ne.c
+# sed -i "s/TARGET_OS=.*/TARGET_OS=linux/" makefile
+
+ # disable inline assembly for non-x86 platforms
+ use x86 || sed -i "s/TARGET_PLATFORM=.*/TARGET_PLATFORM=generic/" makefile
+}
+
+src_compile() {
+ cd ${S}
+
+ local scrnlib
+
+ if use ncurses ; then
+ scrnlib="ncurses"
+ elif use slang ; then
+ scrnlib="slang"
+ else
+ scrnlib="vt100"
+ fi
+
+ filter-flags -fPIC
+
+ emake HOST_CFLAGS="${CFLAGS}" \
+ TARGET_SCREEN_LIB=${scrnlib} || die
+}
+
+src_install() {
+ dobin biew
+ dodoc doc/*.txt
+
+ insinto /usr/lib/biew
+ doins bin_rc/biew.hlp
+ doins bin_rc/skn/standard.skn
+
+ insinto /usr/lib/biew/skn
+ doins bin_rc/skn/*
+
+ insinto /usr/lib/biew/xlt
+ doins bin_rc/xlt/*
+}
diff --git a/dev-util/biew/biew-6.1.0.ebuild b/dev-util/biew/biew-6.1.0.ebuild
new file mode 100644
index 0000000..7c31eb0
--- /dev/null
+++ b/dev-util/biew/biew-6.1.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-6.1.0.ebuild,v 1.1 2010/02/21 09:46:24 patrick Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes."
+HOMEPAGE="http://biew.sourceforge.net"
+SRC_URI="mirror://sourceforge/project/beye/biew/${PV}/${PN}-${PV//./}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="gpm"
+
+DEPEND="gpm? ( sys-libs/gpm )"
+
+RDEPEND="gpm? (
+ x86? ( sys-libs/gpm )
+ amd64? ( app-emulation/emul-linux-x86-baselibs )
+ )"
+# biew build only compiles 32-bit binary on amd64, and 32-bit libgpm is in
+# app-emulation/emul-linux-x86-baselibs
+
+S=${WORKDIR}/${PN}-${PV//./}
+
+src_compile() {
+ local enable_gpm
+
+ if use gpm ; then
+ enable_gpm=yes
+ else
+ enable_gpm=no
+ fi
+ export _gpm=${enable_gpm}
+
+ append-flags -D_GNU_SOURCE
+
+ econf --cc="$(tc-getCC)" --ld="$(tc-getCC)" \
+ --ar="$(tc-getAR) -rcu" --ranlib="$(tc-getRANLIB)" \
+ --enable-debug
+ emake HOST_CFLAGS="${CFLAGS}" HOST_LDFLAGS="${LDFLAGS}" \
+ || die "make failed"
+ for i in doc/*.ru doc/file_id.diz doc/biew_ru.txt doc/biew_en.txt
+ do
+ if iconv -f cp866 -t utf-8 "$i" > "$i.conv"
+ then
+ mv "$i.conv" "$i"
+ fi
+ done
+}
+
+src_install() {
+ make install DESTDIR="${D}"
+ doman doc/biew.1
+ dodoc doc/*.txt doc/*.en doc/*.ru doc/file_id.diz
+}
diff --git a/dev-util/biew/files/biew-562-lvalue-casts.patch b/dev-util/biew/files/biew-562-lvalue-casts.patch
new file mode 100644
index 0000000..d3ade95
--- /dev/null
+++ b/dev-util/biew/files/biew-562-lvalue-casts.patch
@@ -0,0 +1,152 @@
+diff -Naurp biew-562-orig/biewlib/file_ini.c biew-562/biewlib/file_ini.c
+--- biew-562-orig/biewlib/file_ini.c 2006-08-12 21:56:49.000000000 +0200
++++ biew-562/biewlib/file_ini.c 2006-08-13 12:01:32.000000000 +0200
+@@ -1295,7 +1295,7 @@ static tBool __NEAR__ __FASTCALL__ __add
+ void __HUGE__ *found;
+ ini_cache __HUGE__ *it;
+ ini_cache ic;
+- (const char *)ic.item = section;
++ ic.item = section;
+ ic.flags = 0;
+ if(!(found =la_Find((linearArray *)opening->cache,&ic,__full_compare_cache)))
+ {
+@@ -1325,7 +1325,7 @@ static tBool __NEAR__ __FASTCALL__ __add
+ {
+ do_subsect:
+ it = (ini_cache __HUGE__ *)found;
+- (const char *)ic.item = subsection;
++ ic.item = subsection;
+ if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
+ {
+ ic.item = PMalloc(strlen(subsection)+1);
+@@ -1354,7 +1354,7 @@ static tBool __NEAR__ __FASTCALL__ __add
+ {
+ do_item:
+ it = (ini_cache __HUGE__ *)found;
+- (const char *)ic.item = item;
++ ic.item = item;
+ ic.flags = IC_STRING;
+ if(!(found=la_Find(it->v.leaf,&ic,__full_compare_cache)))
+ {
+@@ -1589,15 +1589,15 @@ unsigned __FASTCALL__ iniReadProfileStri
+ ini_cache ic;
+ void __HUGE__ *found,__HUGE__ *foundi,__HUGE__ *foundv;
+ ini_cache __HUGE__ *fi;
+- (const char *)ic.item = section;
++ ic.item = section;
+ ic.flags = 0;
+ if((found=la_Find(ini->cache,&ic,__full_compare_cache))!=NULL)
+ {
+- (const char *)ic.item=subsection;
++ ic.item=subsection;
+ fi = (ini_cache __HUGE__ *)found;
+ if((foundi=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
+ {
+- (const char *)ic.item = _item;
++ ic.item = _item;
+ ic.flags = IC_STRING;
+ fi = (ini_cache __HUGE__ *)foundi;
+ if((foundv=la_Find(fi->v.leaf,&ic,__full_compare_cache))!=NULL)
+diff -Naurp biew-562-orig/biewlib/sysdep/ia16/cmn_ix86.c biew-562/biewlib/sysdep/ia16/cmn_ix86.c
+--- biew-562-orig/biewlib/sysdep/ia16/cmn_ix86.c 2006-08-12 21:56:49.000000000 +0200
++++ biew-562/biewlib/sysdep/ia16/cmn_ix86.c 2006-08-13 12:01:32.000000000 +0200
+@@ -47,7 +47,7 @@ static unsigned long __NEAR__ __FASTCALL
+ ctrl_arr = c_arr;
+ /* align pointer on 16-byte boundary */
+
+- if((tUInt32)ctrl_arr & 15) ((tUInt32)ctrl_arr) += 16-((tUInt32)ctrl_arr&15);
++ if((tUInt32)ctrl_arr & 15) ctrl_arr += 16-((tUInt32)ctrl_arr&15);
+
+ memset(ctrl_arr,0,sizeof(ctrl_arr));
+ if(time_interval)
+diff -Naurp biew-562-orig/biewlib/sysdep/ia32/aclib_template.c biew-562/biewlib/sysdep/ia32/aclib_template.c
+--- biew-562-orig/biewlib/sysdep/ia32/aclib_template.c 2006-08-12 21:56:49.000000000 +0200
++++ biew-562/biewlib/sysdep/ia32/aclib_template.c 2006-08-13 12:03:54.000000000 +0200
+@@ -159,8 +159,8 @@ static void * RENAME(fast_memcpy)(void *
+ "movntps %%xmm2, 32(%1)\n"
+ "movntps %%xmm3, 48(%1)\n"
+ :: "r" (from), "r" (to) : "memory");
+- ((const unsigned char *)from)+=64;
+- ((unsigned char *)to)+=64;
++ from += 64;
++ to += 64;
+ }
+ else
+ /*
+@@ -181,8 +181,8 @@ static void * RENAME(fast_memcpy)(void *
+ "movntps %%xmm2, 32(%1)\n"
+ "movntps %%xmm3, 48(%1)\n"
+ :: "r" (from), "r" (to) : "memory");
+- ((const unsigned char *)from)+=64;
+- ((unsigned char *)to)+=64;
++ from += 64;
++ to+=64;
+ }
+ #else
+ // Align destination at BLOCK_SIZE boundary
+@@ -209,8 +209,8 @@ static void * RENAME(fast_memcpy)(void *
+ MOVNTQ" %%mm6, 48(%1)\n"
+ MOVNTQ" %%mm7, 56(%1)\n"
+ :: "r" (from), "r" (to) : "memory");
+- ((const unsigned char *)from)+=64;
+- ((unsigned char *)to)+=64;
++ from+=64;
++ to+=64;
+ }
+
+ // Pure Assembly cuz gcc is a bit unpredictable ;)
+@@ -297,8 +297,8 @@ static void * RENAME(fast_memcpy)(void *
+ MOVNTQ" %%mm6, 48(%1)\n"
+ MOVNTQ" %%mm7, 56(%1)\n"
+ :: "r" (from), "r" (to) : "memory");
+- ((const unsigned char *)from)+=64;
+- ((unsigned char *)to)+=64;
++ from+=64;
++ to+=64;
+ }
+
+ #endif /* Have SSE */
+@@ -367,7 +367,7 @@ static void * RENAME(fast_memset)(void *
+ "movntps %%xmm0, 96(%0)\n"
+ "movntps %%xmm0, 112(%0)\n"
+ :: "r" (to) : "memory");
+- ((unsigned char *)to)+=128;
++ to+=128;
+ }
+ #else
+ __asm__ __volatile__(
+@@ -393,7 +393,7 @@ static void * RENAME(fast_memset)(void *
+ MOVNTQ" %%mm0, 112(%0)\n"
+ MOVNTQ" %%mm0, 120(%0)\n"
+ :: "r" (to) : "memory");
+- ((unsigned char *)to)+=128;
++ to+=128;
+ }
+ #endif /* Have SSE */
+ #ifdef HAVE_MMX2
+diff -Naurp biew-562-orig/biewlib/tw_class.c biew-562/biewlib/tw_class.c
+--- biew-562-orig/biewlib/tw_class.c 2006-08-12 21:56:50.000000000 +0200
++++ biew-562/biewlib/tw_class.c 2006-08-13 12:01:32.000000000 +0200
+@@ -71,6 +71,6 @@ void __FASTCALL__ twcDestroyClassSet(voi
+ TwClass * __FASTCALL__ twcFindClass(const char *name)
+ {
+ TwClass key;
+- (const char *)(key.name) = name;
++ key.name = name;
+ return (TwClass *)la_Find(class_set,&key, comp_class);
+ }
+diff -Naurp biew-562-orig/biewlib/twin.c biew-562/biewlib/twin.c
+--- biew-562-orig/biewlib/twin.c 2006-08-12 21:56:50.000000000 +0200
++++ biew-562/biewlib/twin.c 2006-08-13 12:01:32.000000000 +0200
+@@ -1891,9 +1891,9 @@ int __FASTCALL__ twPutS(const char *str)
+ strcpy(__nls,str);
+ __nls_OemToOsdep((unsigned char *)__nls,len);
+ }
+- else (const char *)__nls = str;
++ else __nls = str;
+ }
+- else (const char *)__nls = str;
++ else __nls = str;
+ __nls_ptr = __nls;
+ __oem_ptr = str;
+ vidx = active->cur_x + active->cur_y*active->wwidth;
diff --git a/dev-util/decuda/Manifest b/dev-util/decuda/Manifest
new file mode 100644
index 0000000..2b354a8
--- /dev/null
+++ b/dev-util/decuda/Manifest
@@ -0,0 +1,3 @@
+AUX decuda-ds-setup.patch 2640 RMD160 cd1391e1bf63ae32f310322abcb4a6f7c3ba841b SHA1 6d1e361107e8cf938c9d142ddca48cfb52318832 SHA256 39887d4299a86fb1d6fb03f269a992bc0fa5542b1774031c8a29937c978fc1ef
+DIST decuda-0.4.2.tar.gz 143178 RMD160 8c063341cf56b4e39020be0704e8a2fcbdabaff5 SHA1 8163b8d99c3e43c93b1fddf8a3361e003d8eb664 SHA256 23be8f37fb98e5df47b9c4e29f01ed06646edd764a661de98cc3e0e851bb7183
+EBUILD decuda-0.4.2.ebuild 730 RMD160 0556af6701c50161d518dacae5b703ce230d8d67 SHA1 339f8977552e8e687ee905bdab75f26f6cea5a59 SHA256 7a4c3a76390528133710f38603668592962af49b89ed4915e272013e1f633f0f
diff --git a/dev-util/decuda/decuda-0.4.2.ebuild b/dev-util/decuda/decuda-0.4.2.ebuild
new file mode 100644
index 0000000..91bc3bb
--- /dev/null
+++ b/dev-util/decuda/decuda-0.4.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild,v 1.3 2008/08/23 18:13:05 maekke Exp $
+
+inherit eutils
+
+MY_PV=${PV/_/-}
+
+DESCRIPTION="Assembler/Disassembler for NVIDIA CUDA binary (.cubin) format"
+HOMEPAGE="http://www.cs.rug.nl/~wladimir/decuda/"
+SRC_URI="http://www.cs.rug.nl/~wladimir/decuda/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+DEPEND="dev-lang/python"
+
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-ds-setup.patch || die
+}
+
+src_install() {
+ python setup.py install --root="${D}" --no-compile
+ dobin cudasm decuda decudaraw
+}
diff --git a/dev-util/decuda/files/decuda-ds-setup.patch b/dev-util/decuda/files/decuda-ds-setup.patch
new file mode 100644
index 0000000..622bf5e
--- /dev/null
+++ b/dev-util/decuda/files/decuda-ds-setup.patch
@@ -0,0 +1,74 @@
+diff -dPNur decuda-0.4.2/decuda decuda-0.4.2-ds/decuda
+--- decuda-0.4.2/decuda 2007-12-02 18:57:04.000000000 +0100
++++ decuda-0.4.2-ds/decuda 2008-11-27 18:18:35.000000000 +0100
+@@ -3,11 +3,12 @@
+ # sm1_1 (G80) disassembler (decuda)
+ # Wladimir J. van der Laan <laanwj@gmail.com>, 2007
+
+-from CubinFile import *
++from Decuda.CubinFile import *
++from Decuda.Formatter import AnsiFormatter
+ from sys import stdout, stderr
+ import sys, getopt
+
+-from version import VERSION
++from Decuda.version import VERSION
+
+ def usage():
+ stdout.write("Decuda .cubin disassembler version %s\n" % VERSION)
+diff -dPNur decuda-0.4.2/decudaraw decuda-0.4.2-ds/decudaraw
+--- decuda-0.4.2/decudaraw 2007-12-02 14:22:57.000000000 +0100
++++ decuda-0.4.2-ds/decudaraw 2008-11-27 18:19:07.000000000 +0100
+@@ -2,8 +2,8 @@
+ # sm1_1 (G80) disassembler (decuda)
+ # Wladimir J. van der Laan <laanwj@gmail.com>, 2007
+
+-from Disass import *
+-from CubinFile import *
++from Decuda.Disass import *
++from Decuda.CubinFile import *
+ from sys import stdout, stderr
+ import sys, getopt
+ from array import array
+Files decuda-0.4.2/Util.pyc and decuda-0.4.2-ds/Util.pyc differ
+Files decuda-0.4.2/version.pyc and decuda-0.4.2-ds/version.pyc differ
+diff -dPNur decuda-0.4.2/setup.py decuda-0.4.2-ds/setup.py
+--- decuda-0.4.2/setup.py 1970-01-01 01:00:00.000000000 +0100
++++ decuda-0.4.2-ds/setup.py 2008-11-27 18:17:20.000000000 +0100
+@@ -0,0 +1,11 @@
++from distutils.core import setup
++
++setup (name='Decuda',
++ version='0.4.2',
++ description='Assembler and disassembler for the NVIDIA CUDA binary (.cubin) format',
++ author='Wladimir J. van der Laan',
++ author_email='laanwj@gmail.com',
++ url='http://www.cs.rug.nl/~wladimir/decuda/',
++ packages=['Decuda'],
++ package_dir={'Decuda': '.'},
++)
+diff -dPNur decuda-0.4.2/cudasm decuda-0.4.2-ds/cudasm
+--- decuda-0.4.2/cudasm 2007-12-02 18:57:04.000000000 +0100
++++ decuda-0.4.2-ds/cudasm 2008-11-27 18:19:37.000000000 +0100
+@@ -3,12 +3,12 @@
+ # sm1_1 (G80) disassembler (decuda)
+ # Wladimir J. van der Laan <laanwj@gmail.com>, 2007
+
+-from Assembler import *
+-from CubinFile import *
++from Decuda.Assembler import *
++from Decuda.CubinFile import *
+ from sys import stdout, stderr
+ import sys, getopt
+
+-from version import VERSION
++from Decuda.version import VERSION
+
+ def usage():
+ stdout.write("Cudasm .cubin assembler version %s\n" % VERSION)
+diff -dPNur decuda-0.4.2/__init__.py decuda-0.4.2-ds/__init__.py
+--- decuda-0.4.2/__init__.py 1970-01-01 01:00:00.000000000 +0100
++++ decuda-0.4.2-ds/__init__.py 2008-11-27 22:20:05.000000000 +0100
+@@ -0,0 +1 @@
++
+\ No newline at end of file
diff --git a/dev-util/mutrace/Manifest b/dev-util/mutrace/Manifest
new file mode 100644
index 0000000..e5e9960
--- /dev/null
+++ b/dev-util/mutrace/Manifest
@@ -0,0 +1,4 @@
+AUX mutrace-ds-compile.patch 502 SHA256 30e0932f32695ab67be398f4d78bc8c5016385a17a65eb6ce99cd2a64f03ddb4 SHA512 d0a9a72b1efff3468876f48b6f802406a3daedcbff0639308c5325250b39d3abd8d4767fbc3bcb5c641923b1acd5a4a613712eff90d5433b343b381c0a4f272b WHIRLPOOL ae2637b91574125b1691a5f12b8b7fe45c8e09f5105edacd057aa31905e7673ea9d3b1449bd976948070861fdf675773c8d285c68f0e43689e5ff90254f6f8e6
+AUX mutrace-ds-compile2.patch 414 SHA256 c6c1c6202f8218adadd35e5e0e57577cdfdd5cf1a63b1e25f1f38d141114f0dc SHA512 798e211cfc9b4139b5758ee9fc0b95ce84c4915a8f2803b62b8163b30635fbe2e669768c951b0bbea94683964d3e3023eb354336e46768cf706fa86e837847b5 WHIRLPOOL d723bfd7c65ae30c03432f718b8aefaa6b408a969053e2d50e8d767ef36e79ced026ed52e0e01cbb327d1b8fab9449d72c23a96aa627805dd722dcf9bd055e99
+DIST mutrace-0.2.tar.gz 358710 SHA256 38eb62b9c86443361b8222d7088a9dc1e8c1db6b2b01b47c4155234d230dbd23 SHA512 237ef478417a19d5967c80d285dcde68ee8ffce40af4967a3b055347272c66a6bbdfb55ed9bf36633fbaccc7c4fd9c2de09b705ab92b74eefc5e7a7170c0c545 WHIRLPOOL df7320740b0716956c1b2efda81c6a236ae4e54a219ff1f7a07ac456f9c7cc646ea678c01ef4f7b40a439d80cc0ee461dfa88da7400312d50a7f22cba5bbb5e5
+EBUILD mutrace-0.2-r1.ebuild 657 SHA256 974b1a08c15739c059b87167281c56bbdacd70188cf9911b78647072825cb695 SHA512 ef00320055b757949b394a6a7f8864ab5be493b6f2ed4b3f669e499efb53facb47266816c264f7c877e756c81baadfb017f6029312f9b9767f0ea180f75ef44a WHIRLPOOL a8eed0b44c1038b73f79f114ccd4d053e08c00b067ee024bb7ad44578b536e398fa9a9b39ef373dbc8bf32c1ff392ea16edc8564afb53dfdbf1395ae013fa1f6
diff --git a/dev-util/mutrace/files/mutrace-ds-compile.patch b/dev-util/mutrace/files/mutrace-ds-compile.patch
new file mode 100644
index 0000000..ada8a9c
--- /dev/null
+++ b/dev-util/mutrace/files/mutrace-ds-compile.patch
@@ -0,0 +1,12 @@
+diff -dPNur mutrace-0.2/backtrace-symbols.c mutrace-0.2-ds/backtrace-symbols.c
+--- mutrace-0.2/backtrace-symbols.c 2014-10-14 11:04:31.732216473 +0200
++++ mutrace-0.2-ds/backtrace-symbols.c 2014-10-14 11:03:18.000000000 +0200
+@@ -34,6 +34,8 @@
+ along with this program; if not, write to the Free Software
+ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
++#include "config.h"
++
+ #define fatal(a, b) exit(1)
+ #define bfd_fatal(a) exit(1)
+ #define bfd_nonfatal(a) exit(1)
diff --git a/dev-util/mutrace/files/mutrace-ds-compile2.patch b/dev-util/mutrace/files/mutrace-ds-compile2.patch
new file mode 100644
index 0000000..81928e9
--- /dev/null
+++ b/dev-util/mutrace/files/mutrace-ds-compile2.patch
@@ -0,0 +1,12 @@
+diff -dPNur mutrace-0.2-orig/backtrace-symbols.c mutrace-0.2/backtrace-symbols.c
+--- mutrace-0.2-orig/backtrace-symbols.c 2017-01-29 16:07:03.588096070 +0100
++++ mutrace-0.2/backtrace-symbols.c 2017-01-29 16:06:01.359944270 +0100
+@@ -52,7 +52,7 @@
+ #include <stdlib.h>
+ #include <execinfo.h>
+ #include <bfd.h>
+-#include <libiberty.h>
++#include <libiberty/libiberty.h>
+ #include <dlfcn.h>
+ #include <link.h>
+ #if 0
diff --git a/dev-util/mutrace/mutrace-0.2-r1.ebuild b/dev-util/mutrace/mutrace-0.2-r1.ebuild
new file mode 100644
index 0000000..30480a4
--- /dev/null
+++ b/dev-util/mutrace/mutrace-0.2-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mutrace/mutrace-0.2.ebuild,v 1.2 2009/11/23 10:05:19 robbat2 Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="mutrace is a mutex tracer/profiler"
+HOMEPAGE="http://0pointer.de/blog/projects/mutrace.html"
+SRC_URI="http://0pointer.de/public/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm"
+IUSE=""
+
+DEPEND="sys-devel/binutils"
+RDEPEND="${DEPEND}"
+
+DOCS="README GPL2 GPL3 LGPL3"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-ds-compile.patch
+ epatch "${FILESDIR}"/${PN}-ds-compile2.patch
+} \ No newline at end of file
diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest
new file mode 100644
index 0000000..70e97f3
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/Manifest
@@ -0,0 +1,3 @@
+AUX cuda-config 512 BLAKE2B fdd0c6f32c9fb49dd2d0864a36a882bed2d20e7e4890b239eb77620d8c8eb7ce280e2b1552e56a91d8e2925453ad3dd34a0159f4b0851b8f073d9ad0fbda5dc1 SHA512 a67f3e34a14ca1c13be8f3f8d345b6c7d881edeae52d737e9aafb9f9807f4dee08e016b8823cb60864961b59f2dd330eb8a1b372178c2451e253acc586ae889a
+EBUILD nvidia-cuda-toolkit-9-r1.ebuild 281 BLAKE2B a642548b9a1886210a68d7ef8bd77947e459b9137daccb08d5828031fc0b4bac917c3594c14f7d408c2d921363cb7786590ad7f8277bc103ec9185835d43ebed SHA512 bbe12344e117f4ea79120aafa11a85cf217e08f987e1228e18af0f9f6e0f68194c73a146e08ca193af4f3de08999b7c54ed754daf6ad32b80fddcc5ff7631d30
+EBUILD nvidia-cuda-toolkit-9.ebuild 225 BLAKE2B bdf5a84d21d4838c918139c249029f964da6a0cdcb1a475af631350d268999c8072ca15dcce63005f2a8b83e08d7eca646892cc207bca70f7b946cd9ae337992 SHA512 822c0fd651a525a38681f879094384cc46eed7fb08bedabcd1790358fc179bb84e71226b9a14a43800c45911baedb32d7bca1afefe20d111912508e565f0ae89
diff --git a/dev-util/nvidia-cuda-toolkit/files/cuda-config b/dev-util/nvidia-cuda-toolkit/files/cuda-config
new file mode 100755
index 0000000..14064d3
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/files/cuda-config
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+SUPPORT_GCC_VERSIONS_BY_CUDA="4.4 4.5 4.6 4.7 4.8 4.9 5.4 6.4 7.3"
+
+_print_help() {
+ cat <<- EOF
+ Usage:
+ $(basename $0) [options]
+
+ -s | --supported Returns by current CUDA supported gcc versions
+ -h | --help Shows this help
+EOF
+}
+
+case ${1} in
+ -s|--supported)
+ echo "${SUPPORT_GCC_VERSIONS_BY_CUDA}"
+ exit 0
+ ;;
+ -h|--help)
+ _print_help
+ exit -1
+ ;;
+ *)
+ _print_help
+ exit 1
+ ;;
+esac
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9-r1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9-r1.ebuild
new file mode 100644
index 0000000..48578a3
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9-r1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="NVIDIA CUDA Toolkit Override"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+
+src_install() {
+ dobin "${FILESDIR}/cuda-config"
+}
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.ebuild
new file mode 100644
index 0000000..22b66d8
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.ebuild
@@ -0,0 +1,10 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="NVIDIA CUDA Toolkit Override"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
diff --git a/dev-util/objconv/Manifest b/dev-util/objconv/Manifest
new file mode 100644
index 0000000..f65277e
--- /dev/null
+++ b/dev-util/objconv/Manifest
@@ -0,0 +1,2 @@
+DIST objconv.zip 703756 RMD160 0cdf618dd2610b5e6552a63422d362a904a66c48 SHA1 f5b4edfd25c06969241b26abd21edd1b2be19567 SHA256 9855fb155e48b9a979ff296d5c10d246da0d945a37962d8970f4d661cc8167b3
+EBUILD objconv-2.08.ebuild 885 RMD160 4b51698151c545a7c9fcf83041fd9c47e30657bb SHA1 50d9c2e525986cd1c3d3f9e67eb47c0296a25649 SHA256 4ed1b510ef75de5c9617e5ff5b100e46bd2e2557a7671b137854bf9939aeb339
diff --git a/dev-util/objconv/objconv-2.08.ebuild b/dev-util/objconv/objconv-2.08.ebuild
new file mode 100644
index 0000000..ce967c1
--- /dev/null
+++ b/dev-util/objconv/objconv-2.08.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="An Object File Converter"
+HOMEPAGE="http://www.agner.org/optimize#objconv"
+SRC_URI="http://www.agner.org/optimize/${PN}.zip"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="doc"
+DEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}"
+MY_SOURCE="source.zip"
+
+src_unpack() {
+ unpack ${PN}.zip
+ unpack ./${MY_SOURCE}
+}
+
+src_compile() {
+ SOURCES=$(ls *.cpp)
+ local x
+ for x in $SOURCES ; do
+ echo "Compiling $x..."
+ $(tc-getCXX ) ${CXXFLAGS} -c ${x} \
+ || die "Compile failed."
+ done
+ OBJS=$(ls *.o)
+ echo "Creating objconv..."
+ $(tc-getCXX ) ${CXXFLAGS} -o ${PN} $OBJS
+}
+
+src_install() {
+ dobin ${PN} || die "Install failed!"
+ if use doc ; then
+ dodoc objconv-instructions.pdf || die "Unable to install manual!"
+ fi
+}