ports/117723: [update] misc/esniper : fix build with gcc42

Philippe Audeoud jadawin at tuxaco.net
Wed Oct 31 15:40:02 UTC 2007


>Number:         117723
>Category:       ports
>Synopsis:       [update] misc/esniper : fix build with gcc42
>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:   Wed Oct 31 15:40:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Audeoud
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD huppa.tuxaco.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Mar 20 16:05:42 CET 2007 root@:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Here is the patch to fix build with gcc42
>How-To-Repeat:
	
>Fix:

	

--- patch-esniper.1 begins here ---
diff -ruN misc/esniper.orig/files/patch-http.c misc/esniper/files/patch-http.c
--- misc/esniper.orig/files/patch-http.c	Thu Jan  1 00:00:00 1970
+++ misc/esniper/files/patch-http.c	Wed Oct 31 15:13:57 2007
@@ -0,0 +1,20 @@
+--- http.c.orig	Wed Oct 31 15:13:04 2007
++++ http.c	Wed Oct 31 15:13:39 2007
+@@ -51,7 +51,7 @@
+ static int initCurlStuffFailed(void);
+ 
+ #ifdef NEED_CURL_EASY_STRERROR
+-static const char *curl_easy_strerror(CURLcode error);
++const char *curl_easy_strerror(CURLcode error);
+ #endif
+ 
+ /* Set auction error with full libcurl details */
+@@ -409,7 +409,7 @@
+ 	"Requested FTP SSL level failed", /* CURLE_FTP_SSL_FAILED */
+ };
+ 
+-static const char *
++const char *
+ curl_easy_strerror(CURLcode error)
+ {
+ 	if (error < 0 || error >= CURL_LAST ||
--- patch-esniper.1 ends here ---


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



More information about the freebsd-ports-bugs mailing list