mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix build with gcc42
- Use SF macro while I am here PR: ports/117723 Submitted by: Philippe Audeoud <jadawin tuxaco.net> Approved by: portmgr (marcus), maintainer timeout
This commit is contained in:
parent
8deb6a4aca
commit
1c9e17d05d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202528
@ -7,8 +7,7 @@
|
||||
PORTNAME= esniper
|
||||
DISTVERSION= 2-17-1
|
||||
CATEGORIES= misc net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MASTER_SITES= SF
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= lewiz@compsoc.man.ac.uk
|
||||
|
20
misc/esniper/files/patch-http.c
Normal file
20
misc/esniper/files/patch-http.c
Normal file
@ -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 ||
|
Loading…
Reference in New Issue
Block a user