summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-07-16 05:27:36 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-07-16 05:27:36 +0000
commit09ed650beef5a853fc54e28130aca515eda2aa08 (patch)
treea1acef12981a8a89fd532655671aa94191e7e8e7
parentAdd gnome-cups-manager, a GNOME administration GUI for the CUPS print system. (diff)
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>
Notes
Notes: svn path=/head/; revision=84959
-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"
+
+