Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 16:32:14 +0100 (CET)
From:      Philippe Audeoud <jadawin@tuxaco.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/117723: [update] misc/esniper : fix build with gcc42
Message-ID:  <20071031153214.8E01CE9ED@huppa.tuxaco.net>
Resent-Message-ID: <200710311540.l9VFe1s7042504@freefall.freebsd.org>

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

>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:



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