diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2006-07-06 17:18:29 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2006-07-06 17:18:29 +0000 |
commit | e04bf7023462670872a8170359d56c2c6053e429 (patch) | |
tree | a09ca8084f618f20782e9da73ec8810ba70539c2 /dev-util/gazpacho/files | |
parent | Initial version. (diff) | |
download | gentoo-2-e04bf7023462670872a8170359d56c2c6053e429.tar.gz gentoo-2-e04bf7023462670872a8170359d56c2c6053e429.tar.bz2 gentoo-2-e04bf7023462670872a8170359d56c2c6053e429.zip |
amd64 patch and ebuild fix submitted by Yogesh <ysharma@catprosystems.com>
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-util/gazpacho/files')
4 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/gazpacho/files/digest-gazpacho-0.5.3 b/dev-util/gazpacho/files/digest-gazpacho-0.5.3 index 4fc3b35e9e8b..1cbb0a13637f 100644 --- a/dev-util/gazpacho/files/digest-gazpacho-0.5.3 +++ b/dev-util/gazpacho/files/digest-gazpacho-0.5.3 @@ -1 +1,3 @@ MD5 2116623fc44d11fc775679d2f5d25c6a gazpacho-0.5.3.tar.bz2 260103 +RMD160 0ac4b41ebe02512e0b798a7254f4ddf48e63fe99 gazpacho-0.5.3.tar.bz2 260103 +SHA256 f5421791d83f8043d7bca4efaa2d5b368a77d77048c2bfa8165ea6d971160621 gazpacho-0.5.3.tar.bz2 260103 diff --git a/dev-util/gazpacho/files/digest-gazpacho-0.6.2 b/dev-util/gazpacho/files/digest-gazpacho-0.6.2 index 3f2673ce889a..f5732290caa0 100644 --- a/dev-util/gazpacho/files/digest-gazpacho-0.6.2 +++ b/dev-util/gazpacho/files/digest-gazpacho-0.6.2 @@ -1 +1,3 @@ MD5 64311aa9688c456838903b3777703981 gazpacho-0.6.2.tar.bz2 379748 +RMD160 fefd91a51dce2d670d1949aaec2b2ac072ff3652 gazpacho-0.6.2.tar.bz2 379748 +SHA256 38a768f58015b5757b66b095abfb0b6ea66ca4ae517246b47a1fd9a37a15e8e7 gazpacho-0.6.2.tar.bz2 379748 diff --git a/dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1 b/dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1 new file mode 100644 index 000000000000..f5732290caa0 --- /dev/null +++ b/dev-util/gazpacho/files/digest-gazpacho-0.6.2-r1 @@ -0,0 +1,3 @@ +MD5 64311aa9688c456838903b3777703981 gazpacho-0.6.2.tar.bz2 379748 +RMD160 fefd91a51dce2d670d1949aaec2b2ac072ff3652 gazpacho-0.6.2.tar.bz2 379748 +SHA256 38a768f58015b5757b66b095abfb0b6ea66ca4ae517246b47a1fd9a37a15e8e7 gazpacho-0.6.2.tar.bz2 379748 diff --git a/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch b/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch new file mode 100644 index 000000000000..6d5ff2042af5 --- /dev/null +++ b/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch @@ -0,0 +1,28 @@ +diff -ur gazpacho-0.6.2-orig/gazpacho/kiwiutils.py gazpacho-0.6.2/gazpacho/kiwiutils.py +--- gazpacho-0.6.2-orig/gazpacho/kiwiutils.py 2006-01-10 04:12:40.314703200 -0800 ++++ gazpacho-0.6.2/gazpacho/kiwiutils.py 2006-01-10 04:14:57.228889080 -0800 +@@ -22,6 +22,7 @@ + # Johan Dahlin <jdahlin@async.com.br> + # + ++import struct + import sys + + import gobject +@@ -189,9 +190,12 @@ + + dict[name] = (flags, retval, args) + +-_MAX_INT = sys.maxint +-_MAX_FLOAT = 1e+308 +-_MAX_LONG = 18446744073709551616L ++def _max(c): ++ return (1 << (8 * struct.calcsize(c)-1))-1 ++ ++_MAX_INT = int(_max('i')) ++_MAX_FLOAT = float(_max('f')) ++_MAX_LONG = long(_max('l')) + + def gproperty(name, type, *args, **kwargs): + """ +Only in gazpacho-0.6.2/gazpacho: kiwiutils.py.orig |