aboutsummaryrefslogtreecommitdiffstats
path: root/net/freenet6
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-07-16 13:27:36 +0800
committeredwin <edwin@FreeBSD.org>2003-07-16 13:27:36 +0800
commita89d16e89e42343907aced58b0c8a60b85dba1c1 (patch)
treecede175236defe2b82ff3263d0302ade8c58f6de /net/freenet6
parent36e6470fcab36778eadf3bbecb5fd8deb11d3316 (diff)
downloadfreebsd-ports-gnome-a89d16e89e42343907aced58b0c8a60b85dba1c1.tar.gz
freebsd-ports-gnome-a89d16e89e42343907aced58b0c8a60b85dba1c1.tar.zst
freebsd-ports-gnome-a89d16e89e42343907aced58b0c8a60b85dba1c1.zip
Remove compiler warnings from freenet6 port
When compiling the freenet6 port, some compiler warnings are generated. By including string.h they are removed. PR: ports/50217 Submitted by: root <macklobell@hotmail.com>
Diffstat (limited to 'net/freenet6')
-rw-r--r--net/freenet6/files/patch-log.c12
-rw-r--r--net/freenet6/files/patch-xmltsp.c12
-rw-r--r--net/freenet6/files/patch5-string.h25
3 files changed, 49 insertions, 0 deletions
diff --git a/net/freenet6/files/patch-log.c b/net/freenet6/files/patch-log.c
new file mode 100644
index 000000000000..52c5c085c1ad
--- /dev/null
+++ b/net/freenet6/files/patch-log.c
@@ -0,0 +1,12 @@
+*** src/log.c.org Sun Mar 23 16:41:11 2003
+--- src/log.c Sun Mar 23 16:42:54 2003
+***************
+*** 32,37 ****
+--- 32,38 ----
+ #include <stdio.h>
+ #include <time.h>
+ #include <syslog.h>
++ #include <string.h>
+
+ #define LOG_IT
+
diff --git a/net/freenet6/files/patch-xmltsp.c b/net/freenet6/files/patch-xmltsp.c
new file mode 100644
index 000000000000..863e1ba86d81
--- /dev/null
+++ b/net/freenet6/files/patch-xmltsp.c
@@ -0,0 +1,12 @@
+*** src/xmltsp.c.org Sun Mar 23 16:41:06 2003
+--- src/xmltsp.c Sun Mar 23 16:41:29 2003
+***************
+*** 29,34 ****
+--- 29,35 ----
+ */
+ #include <stdio.h>
+ #include <stdlib.h>
++ #include <string.h>
+
+ #include "xmlparse.h"
+
diff --git a/net/freenet6/files/patch5-string.h b/net/freenet6/files/patch5-string.h
new file mode 100644
index 000000000000..800b7f4a283f
--- /dev/null
+++ b/net/freenet6/files/patch5-string.h
@@ -0,0 +1,25 @@
+*** log.c.org Sun Mar 23 16:41:11 2003
+--- log.c Sun Mar 23 16:42:54 2003
+***************
+*** 32,37 ****
+--- 32,38 ----
+ #include <stdio.h>
+ #include <time.h>
+ #include <syslog.h>
++ #include <string.h>
+
+ #define LOG_IT
+
+*** xmltsp.c.org Sun Mar 23 16:41:06 2003
+--- xmltsp.c Sun Mar 23 16:41:29 2003
+***************
+*** 29,34 ****
+--- 29,35 ----
+ */
+ #include <stdio.h>
+ #include <stdlib.h>
++ #include <string.h>
+
+ #include "xmlparse.h"
+
+