diff options
-rw-r--r-- | media-radio/wsjtx/files/wsjtx-2.2.0-werror.patch | 11 | ||||
-rw-r--r-- | media-radio/wsjtx/wsjtx-2.2.0.ebuild | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/media-radio/wsjtx/files/wsjtx-2.2.0-werror.patch b/media-radio/wsjtx/files/wsjtx-2.2.0-werror.patch new file mode 100644 index 000000000000..dcde5b18a07a --- /dev/null +++ b/media-radio/wsjtx/files/wsjtx-2.2.0-werror.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2020-07-09 12:52:57.776437846 +0200 ++++ b/CMakeLists.txt 2020-07-09 12:53:16.607083283 +0200 +@@ -921,7 +921,7 @@ + # + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra") + +-set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -fexceptions -frtti") ++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fexceptions -frtti") + + if (NOT APPLE) + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-pragmas") diff --git a/media-radio/wsjtx/wsjtx-2.2.0.ebuild b/media-radio/wsjtx/wsjtx-2.2.0.ebuild index 3abba8aeac25..dca5c4436768 100644 --- a/media-radio/wsjtx/wsjtx-2.2.0.ebuild +++ b/media-radio/wsjtx/wsjtx-2.2.0.ebuild @@ -40,7 +40,8 @@ S=${WORKDIR}/wsjtx PATCHES=( "${FILESDIR}/${PN}-2.0.1-hamlib.patch" "${FILESDIR}/${PN}-fix-unicode.patch" "${FILESDIR}/${PN}-drop-docs.patch" - "${FILESDIR}/${PN}-2.1.2-qt_helpers.patch" ) + "${FILESDIR}/${PN}-2.1.2-qt_helpers.patch" + "${FILESDIR}/${PN}-2.2.0-werror.patch" ) DOCS=( AUTHORS BUGS NEWS README THANKS ) |