diff options
Diffstat (limited to 'dev-python/py-xmlrpc/files/py-xmlrpc_rpcUtils.patch')
-rw-r--r-- | dev-python/py-xmlrpc/files/py-xmlrpc_rpcUtils.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/py-xmlrpc/files/py-xmlrpc_rpcUtils.patch b/dev-python/py-xmlrpc/files/py-xmlrpc_rpcUtils.patch new file mode 100644 index 00000000000..649b2faa5b3 --- /dev/null +++ b/dev-python/py-xmlrpc/files/py-xmlrpc_rpcUtils.patch @@ -0,0 +1,16 @@ +Patch added by neurogeek@gentoo.org +Patch added 03/01/2010 +Taken from: http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/py-xmlrpc/files/ +Thanks to sobomax @ FreeBSD + +--- src/rpcUtils.c.orig ++++ src/rpcUtils.c +@@ -276,7 +280,7 @@ + double d; + + d = PyFloat_AS_DOUBLE(value); +- snprintf(buff, 255, "%f", d); ++ snprintf(buff, 255, "%.17f", d); + if ((buffConstant(sp, "<double>") == NULL) + or (buffConcat(sp, buff) == NULL) + or (buffConstant(sp, "</double>") == NULL)) |