diff options
author | tabthorpe <tabthorpe@FreeBSD.org> | 2007-11-06 03:59:18 +0800 |
---|---|---|
committer | tabthorpe <tabthorpe@FreeBSD.org> | 2007-11-06 03:59:18 +0800 |
commit | 2573c26e1b0d8b5b09df0cc1cd90d29dcd001f8d (patch) | |
tree | aaf2ee4656e9dc686846ac161da3dd82a7975dab /misc/esniper | |
parent | 2c8bbd02d95d27186f6fa6df4b539d791ec715d7 (diff) | |
download | freebsd-ports-gnome-2573c26e1b0d8b5b09df0cc1cd90d29dcd001f8d.tar.gz freebsd-ports-gnome-2573c26e1b0d8b5b09df0cc1cd90d29dcd001f8d.tar.zst freebsd-ports-gnome-2573c26e1b0d8b5b09df0cc1cd90d29dcd001f8d.zip |
- 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
Diffstat (limited to 'misc/esniper')
-rw-r--r-- | misc/esniper/Makefile | 3 | ||||
-rw-r--r-- | misc/esniper/files/patch-http.c | 20 |
2 files changed, 21 insertions, 2 deletions
diff --git a/misc/esniper/Makefile b/misc/esniper/Makefile index 13e9b11d8de8..db64fd6c3870 100644 --- a/misc/esniper/Makefile +++ b/misc/esniper/Makefile @@ -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 diff --git a/misc/esniper/files/patch-http.c b/misc/esniper/files/patch-http.c new file mode 100644 index 000000000000..ee3e020377c5 --- /dev/null +++ b/misc/esniper/files/patch-http.c @@ -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 || |