Date: Sun, 4 Mar 2012 15:13:27 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bsdkaffee@gmail.com Subject: ports/165683: [PATCH] audio/libofa: fix build with curl 7.24.0 Message-ID: <3V0wT34fjpz8y7@sunpoet.net> Resent-Message-ID: <201203040720.q247K2WG017239@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 165683 >Category: ports >Synopsis: [PATCH] audio/libofa: fix build with curl 7.24.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 04 07:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 9.0-STABLE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sun Jan 29 23:36:49 CST 2012 >Description: - Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004) - Pet portlint Notified by: makc Port maintainer (bsdkaffee@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- libofa-0.9.3_7.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/libofa/Makefile,v retrieving revision 1.21 diff -u -u -r1.21 Makefile --- Makefile 17 Oct 2011 10:08:25 -0000 1.21 +++ Makefile 4 Mar 2012 07:09:04 -0000 @@ -14,6 +14,9 @@ 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,7 @@ MAKE_JOBS_SAFE= yes USE_LDCONFIG= yes -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING +post-patch: + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/examples/protocol.cpp .include <bsd.port.mk> --- libofa-0.9.3_7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3V0wT34fjpz8y7>