aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-11 19:57:07 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-11 19:57:07 +0000
commita3c4d3b6c068fceee85f2a1944afa6e29557b821 (patch)
tree9526d04beb6a0353136912a48d9f4d21afe44ff5 /www
parent081c8d98a5803eb1183fe60d35d7b791c709c363 (diff)
Notes
Diffstat (limited to 'www')
-rw-r--r--www/nostromo/files/patch-src-libmy-strb64d.c16
-rw-r--r--www/nostromo/files/patch-src-nhttpd-main11
2 files changed, 23 insertions, 4 deletions
diff --git a/www/nostromo/files/patch-src-libmy-strb64d.c b/www/nostromo/files/patch-src-libmy-strb64d.c
index 471adf42d35b..6d30f3f7b0aa 100644
--- a/www/nostromo/files/patch-src-libmy-strb64d.c
+++ b/www/nostromo/files/patch-src-libmy-strb64d.c
@@ -1,11 +1,19 @@
---- src/libmy/strb64d.c.orig 2005-06-04 10:30:04.000000000 +0200
-+++ src/libmy/strb64d.c 2013-08-23 19:17:25.700331962 +0200
-@@ -54,7 +54,7 @@
+--- src/libmy/strb64d.c.orig 2013-09-10 09:58:37.814139989 +0200
++++ src/libmy/strb64d.c 2013-09-10 10:00:47.489957357 +0200
+@@ -47,14 +47,14 @@
+ int
+ strb64d(char *dst, const char *src, const int dsize)
+ {
+- int ch, i, j = 0;
++ int ch, i, j;
+ char out[3];
+ unsigned char in_a[4], in_b[4];
+
dst[0] = '\0';
while (1) {
- for (i = 0, j = j; i < 4; i++, j++) {
-+ for (i = 0; i < 4; i++, j++) {
++ for (i = 0, j = 0; i < 4; i++, j++) {
if (src[j] == '\0')
goto quit;
ch = src[j];
diff --git a/www/nostromo/files/patch-src-nhttpd-main b/www/nostromo/files/patch-src-nhttpd-main
new file mode 100644
index 000000000000..86c97ca44eb8
--- /dev/null
+++ b/www/nostromo/files/patch-src-nhttpd-main
@@ -0,0 +1,11 @@
+--- src/nhttpd/main.c.orig 2013-09-10 10:02:24.538148541 +0200
++++ src/nhttpd/main.c 2013-09-10 10:12:40.431140031 +0200
+@@ -686,7 +686,7 @@
+ * clear all environment variables and save PATH
+ */
+ strlcpy(http_path, getenv("PATH"), sizeof(http_path));
+- memset(environ, 0, sizeof(environ));
++ *environ = NULL;
+
+ /*
+ * get servers IP adress(es)