diff options
Diffstat (limited to 'dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch')
-rw-r--r-- | dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch | 28 |
1 files changed, 0 insertions, 28 deletions
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 deleted file mode 100644 index 6d5ff2042af5..000000000000 --- a/dev-util/gazpacho/files/gazpacho-0.6.2-amd64-fixes.patch +++ /dev/null @@ -1,28 +0,0 @@ -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 |