summaryrefslogtreecommitdiffstats
path: root/dev-util/decuda/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/decuda/files')
-rw-r--r--dev-util/decuda/files/decuda-ds-setup.patch74
1 files changed, 74 insertions, 0 deletions
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