Index: head/deskutils/peaclock/Makefile =================================================================== --- head/deskutils/peaclock/Makefile (revision 529768) +++ head/deskutils/peaclock/Makefile (revision 529769) @@ -1,21 +1,23 @@ # $FreeBSD$ PORTNAME= peaclock DISTVERSION= 0.4.1 CATEGORIES= deskutils MAINTAINER= yuri@FreeBSD.org COMMENT= Customizable clock, timer, and stopwatch for the terminal LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicui18n.so:devel/icu USES= cmake compiler:c++17-lang localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= octobanana +CXXFLAGS+= -Wno-narrowing # https://github.com/octobanana/peaclock/issues/18 + PLIST_FILES= bin/${PORTNAME} .include Index: head/deskutils/peaclock/files/patch-CMakeLists.txt =================================================================== --- head/deskutils/peaclock/files/patch-CMakeLists.txt (nonexistent) +++ head/deskutils/peaclock/files/patch-CMakeLists.txt (revision 529769) @@ -0,0 +1,24 @@ +--- CMakeLists.txt.orig 2020-03-29 03:40:33 UTC ++++ CMakeLists.txt +@@ -85,8 +85,8 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") + set (OB_FLAGS_DEBUG "-g -Og -rdynamic -Wpedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wnoexcept -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-null-sentinel -Wstrict-overflow=5 -Wswitch-default -Wundef -Wno-unused") + set (DEBUG_LINK_FLAGS "-fprofile-arcs -ftest-coverage") + +- set (OB_FLAGS_RELEASE "-O3 -flto") +- set (OB_LINKER_FLAGS_RELEASE "-O3 -flto -s") ++ #set (OB_FLAGS_RELEASE "-O3 -flto") ++ #set (OB_LINKER_FLAGS_RELEASE "-O3 -flto -s") + elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") + if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "${OB_COMPILER_VERSION_CLANG}") +@@ -106,8 +106,8 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") + set (OB_FLAGS_DEBUG "-g -Og -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-disabled-macro-expansion -Wno-exit-time-destructors -Wno-global-constructors -Wno-weak-vtables -Wno-return-std-move-in-c++11 -Wno-c++11-narrowing") + set (OB_LINKER_FLAGS_DEBUG "-fprofile-arcs -ftest-coverage") + +- set (OB_FLAGS_RELEASE "-O3 -flto") +- set (OB_LINKER_FLAGS_RELEASE "-O3 -flto -s") ++ #set (OB_FLAGS_RELEASE "-O3 -flto") ++ #set (OB_LINKER_FLAGS_RELEASE "-O3 -flto -s") + else () + message (FATAL_ERROR ">> The ${CMAKE_CXX_COMPILER_ID} compiler is unsupported") + endif () Property changes on: head/deskutils/peaclock/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property