diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2009-06-17 06:57:01 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2009-06-17 06:57:01 +0000 |
commit | d0ec7bda5851678cebd6c3ea555afc2d5b235177 (patch) | |
tree | 971b837934b862c080fdfde7b9f01bd282276d89 /net/py-xmlrpc | |
parent | 2e51decb87fef1ca58b2c5a50c94fd93385ed378 (diff) | |
download | ports-d0ec7bda5851678cebd6c3ea555afc2d5b235177.tar.gz ports-d0ec7bda5851678cebd6c3ea555afc2d5b235177.zip |
Notes
Diffstat (limited to 'net/py-xmlrpc')
-rw-r--r-- | net/py-xmlrpc/Makefile | 2 | ||||
-rw-r--r-- | net/py-xmlrpc/files/patch-src_rpcUtils.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile index 623428c2ccfa..87e3a696b343 100644 --- a/net/py-xmlrpc/Makefile +++ b/net/py-xmlrpc/Makefile @@ -7,7 +7,7 @@ PORTNAME= xmlrpc PORTVERSION= 0.8.8.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= py-${PORTNAME} diff --git a/net/py-xmlrpc/files/patch-src_rpcUtils.c b/net/py-xmlrpc/files/patch-src_rpcUtils.c new file mode 100644 index 000000000000..dd35fa0ed57b --- /dev/null +++ b/net/py-xmlrpc/files/patch-src_rpcUtils.c @@ -0,0 +1,14 @@ + +$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)) |