pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/p7zip p7zip: Enforce C++03



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d01b7ce2e4cf
branches:  trunk
changeset: 377764:d01b7ce2e4cf
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Mar 21 18:47:02 2018 +0000

description:
p7zip: Enforce C++03

Clang 7svn defaults to C++11 and this code is not building with it.
This switch fixes the build.

diffstat:

 archivers/p7zip/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 29f55cb4d926 -r d01b7ce2e4cf archivers/p7zip/Makefile
--- a/archivers/p7zip/Makefile  Wed Mar 21 18:04:53 2018 +0000
+++ b/archivers/p7zip/Makefile  Wed Mar 21 18:47:02 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2016/11/30 14:29:09 sevan Exp $
+# $NetBSD: Makefile,v 1.65 2018/03/21 18:47:02 kamil Exp $
 
 DISTNAME=      p7zip_16.02_src_all
 PKGNAME=       ${DISTNAME:S/_src_all//S/_/-/}
@@ -12,7 +12,7 @@
 COMMENT=       File archiver with high compression
 LICENSE=       gnu-lgpl-v2.1 AND unrar-license
 
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c c++03 # c++11 breaks on Clang 7svn
 USE_TOOLS+=            gmake
 MAKE_FILE=             makefile
 MAKE_JOBS_SAFE=                no # missing header when compiling sfx



Home | Main Index | Thread Index | Old Index