Control: tags 1064553 + patch
Control: tags 1064553 + pending

Dear maintainer,

I've prepared an NMU for libgdiplus (versioned as 6.1+dfsg-1.1) and
uploaded it to unstable.

Regards.


-- 
WBR, wRAR
diff -Nru libgdiplus-6.1+dfsg/debian/changelog libgdiplus-6.1+dfsg/debian/changelog
--- libgdiplus-6.1+dfsg/debian/changelog	2022-04-22 21:35:19.000000000 +0500
+++ libgdiplus-6.1+dfsg/debian/changelog	2024-03-29 12:12:54.000000000 +0500
@@ -1,3 +1,10 @@
+libgdiplus (6.1+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove -Werror from gtest (Closes: #1064553).
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Fri, 29 Mar 2024 12:12:54 +0500
+
 libgdiplus (6.1+dfsg-1) unstable; urgency=medium
 
   * New upstream version 6.1+dfsg
diff -Nru libgdiplus-6.1+dfsg/debian/patches/disable-Werror-googletest.patch libgdiplus-6.1+dfsg/debian/patches/disable-Werror-googletest.patch
--- libgdiplus-6.1+dfsg/debian/patches/disable-Werror-googletest.patch	1970-01-01 05:00:00.000000000 +0500
+++ libgdiplus-6.1+dfsg/debian/patches/disable-Werror-googletest.patch	2024-03-29 12:10:01.000000000 +0500
@@ -0,0 +1,23 @@
+Description: Remove -Werror from CFLAGS in googletest.
+Author: Andrey Rakhmatullin <w...@debian.org>
+Bug-Debian: https://bugs.debian.org/1064553
+Last-Update: 2024-03-29
+
+--- libgdiplus-6.1+dfsg.orig/external/googletest/googletest/cmake/internal_utils.cmake
++++ libgdiplus-6.1+dfsg/external/googletest/googletest/cmake/internal_utils.cmake
+@@ -82,13 +82,13 @@ macro(config_compiler_and_linker)
+     # http://stackoverflow.com/questions/3232669 explains the issue.
+     set(cxx_base_flags "${cxx_base_flags} -wd4702")
+   elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+-    set(cxx_base_flags "-Wall -Wshadow -Werror -Wconversion")
++    set(cxx_base_flags "-Wall -Wshadow -Wconversion")
+     set(cxx_exception_flags "-fexceptions")
+     set(cxx_no_exception_flags "-fno-exceptions")
+     set(cxx_strict_flags "-W -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wredundant-decls")
+     set(cxx_no_rtti_flags "-fno-rtti")
+   elseif (CMAKE_COMPILER_IS_GNUCXX)
+-    set(cxx_base_flags "-Wall -Wshadow -Werror")
++    set(cxx_base_flags "-Wall -Wshadow")
+     if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
+       set(cxx_base_flags "${cxx_base_flags} -Wno-error=dangling-else")
+     endif()
diff -Nru libgdiplus-6.1+dfsg/debian/patches/series libgdiplus-6.1+dfsg/debian/patches/series
--- libgdiplus-6.1+dfsg/debian/patches/series	1970-01-01 05:00:00.000000000 +0500
+++ libgdiplus-6.1+dfsg/debian/patches/series	2024-03-29 12:09:36.000000000 +0500
@@ -0,0 +1 @@
+disable-Werror-googletest.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to