- Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)

- Pet portlint

PR:		ports/165683
Notified by:	makc
Submitted by:	sunpoet (myself)
Approved by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-03-04 12:15:53 +00:00
parent 111db54158
commit 649c91b19f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292657
2 changed files with 9 additions and 4 deletions

View file

@ -14,6 +14,9 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= bsdkaffee@gmail.com MAINTAINER= bsdkaffee@gmail.com
COMMENT= The Open Fingerprint Architecture Library COMMENT= The Open Fingerprint Architecture Library
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \ LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
expat.6:${PORTSDIR}/textproc/expat2 \ expat.6:${PORTSDIR}/textproc/expat2 \
curl.6:${PORTSDIR}/ftp/curl curl.6:${PORTSDIR}/ftp/curl
@ -28,7 +31,4 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- ./examples/protocol.cpp.orig 2011-03-18 11:01:22.000000000 -0400 --- ./examples/protocol.cpp.orig 2011-03-18 11:01:22.000000000 -0400
+++ ./examples/protocol.cpp 2011-03-18 11:01:22.000000000 -0400 +++ ./examples/protocol.cpp 2011-03-18 11:01:22.000000000 -0400
@@ -8,6 +8,7 @@ @@ -8,11 +8,11 @@
-------------------------------------------------------------------*/ -------------------------------------------------------------------*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -8,3 +8,8 @@
#include <string> #include <string>
#include <map> #include <map>
#include <expat.h> #include <expat.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
using namespace std;