Date: Sat, 8 Oct 2022 18:55:50 +0000 From: "Sergey A. Osokin" <osa@freebsd.org> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 0c34c5fd80f3 - main - devel/cpprestsdk: purge bogus patch file and unset WERROR instead Message-ID: <Y0HHtmgLWzhGBaf%2B@FreeBSD.org> In-Reply-To: <202210081852.298IqiSn098408@gitrepo.freebsd.org> References: <202210081852.298IqiSn098408@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--tcKmeo/xonB842ul Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thank you, Alexey! On Sat, Oct 08, 2022 at 06:52:44PM +0000, Alexey Dokuchaev wrote: > The branch main has been updated by danfe: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D0c34c5fd80f37c4d802092c9= 768cf272754dd9ab >=20 > commit 0c34c5fd80f37c4d802092c9768cf272754dd9ab > Author: Alexey Dokuchaev <danfe@FreeBSD.org> > AuthorDate: 2022-10-08 18:51:40 +0000 > Commit: Alexey Dokuchaev <danfe@FreeBSD.org> > CommitDate: 2022-10-08 18:51:40 +0000 >=20 > devel/cpprestsdk: purge bogus patch file and unset WERROR instead > =20 > While here, remove needless -Wno-c11-extensions from the CXXFLAGS. > --- > devel/cpprestsdk/Makefile | 4 +--- > devel/cpprestsdk/files/patch-src_CMakeLists.txt | 11 ----------- > 2 files changed, 1 insertion(+), 14 deletions(-) >=20 > diff --git a/devel/cpprestsdk/Makefile b/devel/cpprestsdk/Makefile > index a28cdac6f76d..e93798effc69 100644 > --- a/devel/cpprestsdk/Makefile > +++ b/devel/cpprestsdk/Makefile > @@ -18,9 +18,7 @@ USE_LDCONFIG=3D yes > USE_GITHUB=3D yes > GH_ACCOUNT=3D Microsoft > WRKSRC_SUBDIR=3D Release > -CMAKE_OFF=3D BUILD_SAMPLES BUILD_TESTS > - > -CXXFLAGS+=3D -Wno-c11-extensions > +CMAKE_OFF=3D BUILD_SAMPLES BUILD_TESTS WERROR > =20 > OPTIONS_DEFINE=3D BROTLI > =20 > diff --git a/devel/cpprestsdk/files/patch-src_CMakeLists.txt b/devel/cppr= estsdk/files/patch-src_CMakeLists.txt > deleted file mode 100644 > index b99d076519df..000000000000 > --- a/devel/cpprestsdk/files/patch-src_CMakeLists.txt > +++ /dev/null > @@ -1,11 +0,0 @@ > ---- src/CMakeLists.txt.orig 2022-10-06 15:08:19 UTC > -+++ src/CMakeLists.txt > -@@ -187,7 +187,7 @@ configure_pch(cpprest stdafx.h pch/stdafx.cpp /Zm120) > -=20 > - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCH= ES "GNU") > - if(WERROR) > -- target_compile_options(cpprest PRIVATE -Werror) > -+ target_compile_options(cpprest PRIVATE -Wno-error) > - endif() > - target_compile_options(cpprest PRIVATE -pedantic ${WARNINGS}) > - elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") --tcKmeo/xonB842ul Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAEBCgB9FiEEZTMJYdHlAQrZCsSmOBlAga+KbzQFAmNBx7JfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1 MzMwOTYxRDFFNTAxMEFEOTBBQzRBNjM4MTk0MDgxQUY4QTZGMzQACgkQOBlAga+K bzSWGwv+MZvFlCyxGhRGXcQN9v0NOujz6Vti4+gWVe5qUI171b6JXjqzskLlk0lW dGd8a/1ooyZz2+vJLMdSmAcgpbGZxIkw3XuQnulAqyYUyZeRyWL8F8RiFqlSqQ0F Ehbie7XNtObH7uz41L03X291rbr/fHLEXsaMmzPpbUvFRwvakhP5La+18SBgCpI5 qzFx4Lm1kvEbja2H7eQDhoKVu1zvzhizJKHlL5/TugCidy67xFIlM5yjA3kIKyGA 6SIWmEGNy0X5RaB1BTguuD6DTfhDaK5NuzGzlmhl71n4yT73O7aSZYLXBQ6Np0vF 0cCvrPbMbQlp3G5UNfWX7Z+feq8HALXlGnL0LuoE6enpKzPKj3FDBcNbQBeyF4R8 f4nR7OIzSE83vsqJN3TiKTO/hZLRLKY7L4WCpKgkB2JyfXR6Wty+IfYpk+FEYUfN U66OYczc+cLwOAw2Qq8loc+XYXFs5eApwBzLtu8JGQ4ckOzhqJM8aYwM4ZWzld+J ncfMtUVM =9XJH -----END PGP SIGNATURE----- --tcKmeo/xonB842ul--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y0HHtmgLWzhGBaf%2B>