Needs the gcc4 MODULE for c++11 support.
This commit is contained in:
parent
d32cacd532
commit
5149a9e053
@ -1,9 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2015/04/30 21:22:26 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2015/09/24 10:36:54 ajacoutot Exp $
|
||||
|
||||
# XXX check if still needed at next update
|
||||
CXXFLAGS += -std=c++11
|
||||
|
||||
COMMENT = media download tool
|
||||
|
||||
DISTNAME = cclive-0.9.3
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = www
|
||||
|
||||
@ -22,6 +26,11 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cclive/}
|
||||
|
||||
MODULES = devel/gettext
|
||||
|
||||
# c++11
|
||||
MODULES += gcc4
|
||||
MODGCC4_ARCHS= *
|
||||
MODGCC4_LANGS= c++
|
||||
|
||||
USE_GROFF = Yes
|
||||
|
||||
LIB_DEPENDS = devel/boost \
|
||||
|
14
www/cclive/patches/patch-src_cc_exec_cpp
Normal file
14
www/cclive/patches/patch-src_cc_exec_cpp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_cc_exec_cpp,v 1.1 2015/09/24 10:36:54 ajacoutot Exp $
|
||||
|
||||
cc/exec.cpp:63:26: error: 'fork' was not declared in this scope
|
||||
|
||||
--- src/cc/exec.cpp.orig Wed Sep 23 13:40:12 2015
|
||||
+++ src/cc/exec.cpp Wed Sep 23 13:40:30 2015
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <cerrno>
|
||||
|
||||
#include <sys/wait.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#include <boost/program_options/variables_map.hpp>
|
||||
#include <boost/foreach.hpp>
|
Loading…
x
Reference in New Issue
Block a user