Bug#336401: Doesn't start on amd64 +patch
Christian Bjälevik
nafallo at magicalforest.se
Sun Oct 30 01:05:21 UTC 2005
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 <Christian at draugr.de> Sat, 15 Oct 2005 00:14:49
+0200
Sincerely,
/Christian
--
Christian Bjälevik <nafallo at ubuntu.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
meddelandedel
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20051030/b64d22c0/attachment.pgp
More information about the Pkg-gnome-maintainers
mailing list