svn commit: r499648 - head/archivers/libcabinet/files
Tobias Kortkamp
tobik at FreeBSD.org
Mon Apr 22 14:34:16 UTC 2019
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
More information about the svn-ports-all
mailing list