Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2019 14:34:15 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499648 - head/archivers/libcabinet/files
Message-ID:  <201904221434.x3MEYFBw046839@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Apr 22 14:34:15 2019
New Revision: 499648
URL: https://svnweb.freebsd.org/changeset/ports/499648

Log:
  archivers/libcabinet: Unbreak build on recent CURRENT
  
  c++  -O2 -pipe -fstack-protector -fno-strict-aliasing   -Wno-deprecated  -std=c++11 -Wno-c++11-extensions  -c bstring.cpp -o bstring.o
  In file included from bstring.cpp:16:
  ./bstring.h:59:40: error: use of undeclared identifier 'strlwr'; did you mean 'strlen'?
                  b_string& StrLwr() { if(str != NULL) strlwr(str); return *this; }
                                                       ^~~~~~
                                                       strlen
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p499421_s346424/logs/errors/libcabinet-0.30_2.log
  
  This is caused by having a CXXSTD with default value of c++11 in
  bsd.sys.mk now.  Set CXXSTD to gnu++98 explicitly.

Modified:
  head/archivers/libcabinet/files/patch-Makefile

Modified: head/archivers/libcabinet/files/patch-Makefile
==============================================================================
--- head/archivers/libcabinet/files/patch-Makefile	Mon Apr 22 14:17:13 2019	(r499647)
+++ head/archivers/libcabinet/files/patch-Makefile	Mon Apr 22 14:34:15 2019	(r499648)
@@ -1,8 +1,9 @@
---- Makefile.orig	2016-07-26 12:03:27 UTC
+--- Makefile.orig	2019-04-22 14:24:18 UTC
 +++ Makefile
-@@ -0,0 +1,16 @@
+@@ -0,0 +1,17 @@
 +NO_PROFILE=	true
-+CXXFLAGS+=	-Wno-deprecated 
++CXXFLAGS+=	-Wno-deprecated
++CXXSTD=		gnu++98
 +LIB=		cabinet
 +LIBDIR=		${PREFIX}/lib
 +INCSDIR=	${PREFIX}/include/cabinet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904221434.x3MEYFBw046839>