aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2006-06-20 03:54:06 +0800
committerolgeni <olgeni@FreeBSD.org>2006-06-20 03:54:06 +0800
commitca26098265857e249eeb8a10846cf8e154d09f71 (patch)
tree19201be9cf8618fe7f645ff0f7888bfa58723d13
parent9a51a53362e40d15a110c89bdd817659d0ac6378 (diff)
downloadfreebsd-ports-gnome-ca26098265857e249eeb8a10846cf8e154d09f71.tar.gz
freebsd-ports-gnome-ca26098265857e249eeb8a10846cf8e154d09f71.tar.zst
freebsd-ports-gnome-ca26098265857e249eeb8a10846cf8e154d09f71.zip
Add missing patch from ports/99174.
-rw-r--r--www/sitecopy/files/patch-sitestore.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/sitecopy/files/patch-sitestore.c b/www/sitecopy/files/patch-sitestore.c
new file mode 100644
index 000000000000..fd6d12c72c00
--- /dev/null
+++ b/www/sitecopy/files/patch-sitestore.c
@@ -0,0 +1,13 @@
+--- src/sitestore.c.orig Mon Jun 19 12:07:52 2006
++++ src/sitestore.c Mon Jun 19 12:08:24 2006
+@@ -340,8 +340,8 @@
+ }
+ break;
+ case SITE_ELM_size:
+- doc->stored.size = strtol(cdata, NULL, 10);
+- if (doc->stored.size == LONG_MAX) {
++ doc->stored.size = strtoll(cdata, NULL, 10);
++ if (doc->stored.size == LLONG_MAX) {
+ }
+ break;
+ case SITE_ELM_protection: