diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-12-13 19:51:35 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-12-13 19:51:35 +0000 |
commit | 79554d49cae649d1bec6e7d73b23359818df36a9 (patch) | |
tree | 573560a1960e614ff3a027dd9a15b3f0fe0dd960 | |
parent | fix ssl detection if openssl does not exist in base but in LOCALBASE (diff) |
fix build on 7.0 with gcc 4.1
Notes
Notes:
svn path=/head/; revision=179679
-rw-r--r-- | www/junkbuster/Makefile | 2 | ||||
-rw-r--r-- | www/junkbuster/files/patch-jcc.h | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/www/junkbuster/Makefile b/www/junkbuster/Makefile index 2a7da048f0ba..e15d2aeca6f5 100644 --- a/www/junkbuster/Makefile +++ b/www/junkbuster/Makefile @@ -6,7 +6,7 @@ PORTNAME= junkbuster PORTVERSION= 2.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://f2.org/download/ \ http://www.junkbusters.com/ht/en/ diff --git a/www/junkbuster/files/patch-jcc.h b/www/junkbuster/files/patch-jcc.h new file mode 100644 index 000000000000..dec68728b10c --- /dev/null +++ b/www/junkbuster/files/patch-jcc.h @@ -0,0 +1,26 @@ +--- jcc.h.orig Thu Dec 14 06:48:38 2006 ++++ jcc.h Thu Dec 14 06:48:47 2006 +@@ -43,11 +43,6 @@ + extern char *uagent; + extern char *from; + +-extern struct list wafer_list[]; +-extern struct list xtra_list[]; +-extern struct list trust_info[]; +-extern struct url_spec * trust_list[]; +- + extern int add_forwarded; + + typedef struct http_request *dummy_predecl1; +@@ -100,6 +95,11 @@ + struct list *last; + struct list *next; + }; ++ ++extern struct list wafer_list[]; ++extern struct list xtra_list[]; ++extern struct list trust_info[]; ++extern struct url_spec * trust_list[]; + + #define IOB_PEEK(CSP) ((CSP->iob->cur > CSP->iob->eod) ? (CSP->iob->eod - CSP->iob->cur) : 0) + #define IOB_RESET(CSP) if(CSP->iob->buf) free(CSP->iob->buf); memset(CSP->iob, '\0', sizeof(CSP->iob)); |