diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-03-04 20:15:53 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-03-04 20:15:53 +0800 |
commit | 741b99e41f4fd20d96f3fdf599b95fe860b3969a (patch) | |
tree | b3b87fa1fadacac64421b69f2791f62e9717bdc9 | |
parent | a69cdb05a3ec7449640a6bded28e4c2897be2776 (diff) | |
download | freebsd-ports-gnome-741b99e41f4fd20d96f3fdf599b95fe860b3969a.tar.gz freebsd-ports-gnome-741b99e41f4fd20d96f3fdf599b95fe860b3969a.tar.zst freebsd-ports-gnome-741b99e41f4fd20d96f3fdf599b95fe860b3969a.zip |
- 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)
-rw-r--r-- | audio/libofa/Makefile | 6 | ||||
-rw-r--r-- | audio/libofa/files/patch-examples__protocol.cpp | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/audio/libofa/Makefile b/audio/libofa/Makefile index d234a29c5bfe..5f414356be5c 100644 --- a/audio/libofa/Makefile +++ b/audio/libofa/Makefile @@ -14,6 +14,9 @@ MASTER_SITES= GOOGLE_CODE MAINTAINER= bsdkaffee@gmail.com COMMENT= The Open Fingerprint Architecture Library +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \ expat.6:${PORTSDIR}/textproc/expat2 \ curl.6:${PORTSDIR}/ftp/curl @@ -28,7 +31,4 @@ LDFLAGS+= -L${LOCALBASE}/lib MAKE_JOBS_SAFE= yes USE_LDCONFIG= yes -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - .include <bsd.port.mk> diff --git a/audio/libofa/files/patch-examples__protocol.cpp b/audio/libofa/files/patch-examples__protocol.cpp index cf239a1e164d..a8716757c050 100644 --- a/audio/libofa/files/patch-examples__protocol.cpp +++ b/audio/libofa/files/patch-examples__protocol.cpp @@ -1,6 +1,6 @@ --- ./examples/protocol.cpp.orig 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 <stdlib.h> @@ -8,3 +8,8 @@ #include <string> #include <map> #include <expat.h> + #include <curl/curl.h> +-#include <curl/types.h> + #include <curl/easy.h> + + using namespace std; |