Package: gazpacho Version: 0.6.2-1 Severity: grave Hi!
gazpacho segfaulted on amd64. Here is a patch from the Ubuntuversion. If
this goes in we should be able to sync this package, leaving no delta
between the version in Debian and Ubuntu. That would be great! :-)
Patch:
--- gazpacho/trunk/gazpacho/kiwiutils.py 2005-09-13 14:55:43 UTC
(rev 1760)
+++ gazpacho/trunk/gazpacho/kiwiutils.py 2005-09-13 16:41:43 UTC
(rev 1761)
@@ -22,6 +22,7 @@
# Johan Dahlin <jdahlin at async.com.br>
#
+import struct
import sys
import gobject
@@ -189,10 +190,13 @@
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):
"""
Add a GObject property to the current object.
Changelog:
gazpacho (0.6.2-0ubuntu4) dapper; urgency=low
* 05_fix_crash_on_x86-64.diff:
- fixes crash on amd64
-- Christian Dröge <[EMAIL PROTECTED]> Sat, 15 Oct 2005 00:14:49
+0200
Sincerely,
/Christian
--
Christian Bjälevik <[EMAIL PROTECTED]>
signature.asc
Description: Detta är en digitalt signerad meddelandedel

