Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 19:08:21 +0100 (CET)
From:      macklobell@hotmail.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50217: Remove compiler warnings from freenet6 port
Message-ID:  <200303231808.h2NI8LpA003111@tomten.homelinux.net>

next in thread | raw e-mail | index | archive | help

>Number:         50217
>Category:       ports
>Synopsis:       Remove compiler warnings from freenet6 port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 23 10:10:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     root
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD killerqueen.tomten.homelinux.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Mar 19 19:58:30 CET 2003 root@killerqueen.tomten.homelinux.net:/usr/obj/usr/src/sys/KERNEL8 i386


	
>Description:
	When compiling the freenet6 port, some compiler warnings are generated. By including string.h they are removed.
>How-To-Repeat:
	Build the port on a 5.0 system.
>Fix:

	

--- log.c.diff begins here ---
*** 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
  
--- log.c.diff ends here ---

--- xmltsp.c.diff begins here ---
*** 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"
  
--- xmltsp.c.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303231808.h2NI8LpA003111>