Control: unmerge -1 Control: reassign -1 src:compiz-plugins-main Control: tags -1 +patch
On Tue, Mar 25, 2025 at 1:54 AM Samuel Thibault <sthiba...@debian.org> wrote: > Santiago Vila, le mar. 25 mars 2025 01:48:55 +0100, a ecrit: > > Does this reassign apply for every similar bugs? > > (I have some work to do, then). > > If it's the same error in the same header, most probably, yes. With all due respect, please use common sense and do responsible thinking. With the reassignments you have just messed things up. :( Please note GNU GCC is a modern compiler and can detect which C++ standard to use for a source tree. #include <unicode/localpointer.h> int main(void) { } tried to compile with "g++ test.cpp -o test -std=c++11" fails due to as it says: C++11 doesn't have such language elements. Just compile with "g++ test.cpp -o test" and it will work as it detects the code as C++17 and uses that C++ standard. Then if you still would like to force the C++ standard, compile with this: "g++ test.cpp -o test -std=c++17". I attach a patch for both cases, choose the one that you want and fix _your_ source. Regards, Laszlo/GCS
Description: fix FTBFS with ICU 75.1+ Do not force old C++ standard. Author: Laszlo Boszormenyi (GCS) <g...@debian.org> Last-Update: 2025-03-25 --- --- compiz-plugins-main-0.8.18.orig/src/focuspoll/Makefile.am +++ compiz-plugins-main-0.8.18/src/focuspoll/Makefile.am @@ -16,7 +16,7 @@ AM_CPPFLAGS = -DLOCALEDIR="\"@datadir@/locale\"" \ -DIMAGEDIR='"$(imagedir)"' -AM_CXXFLAGS = -std=c++11 +AM_CXXFLAGS = moduledir = $(plugindir) --- compiz-plugins-main-0.8.18.orig/src/focuspoll/Makefile.in +++ compiz-plugins-main-0.8.18/src/focuspoll/Makefile.in @@ -419,7 +419,7 @@ AM_CPPFLAGS = \ -DLOCALEDIR="\"@datadir@/locale\"" \ -DIMAGEDIR='"$(imagedir)"' -AM_CXXFLAGS = -std=c++11 +AM_CXXFLAGS = moduledir = $(plugindir) @FOCUSPOLL_PLUGIN_TRUE@module_LTLIBRARIES = libfocuspoll.la all: all-am
Description: fix FTBFS with ICU 75.1+ Set correct C++ standard. Author: Laszlo Boszormenyi (GCS) <g...@debian.org> Last-Update: 2025-03-25 --- --- compiz-plugins-main-0.8.18.orig/src/focuspoll/Makefile.am +++ compiz-plugins-main-0.8.18/src/focuspoll/Makefile.am @@ -16,7 +16,7 @@ AM_CPPFLAGS = -DLOCALEDIR="\"@datadir@/locale\"" \ -DIMAGEDIR='"$(imagedir)"' -AM_CXXFLAGS = -std=c++11 +AM_CXXFLAGS = -std=c++17 moduledir = $(plugindir) --- compiz-plugins-main-0.8.18.orig/src/focuspoll/Makefile.in +++ compiz-plugins-main-0.8.18/src/focuspoll/Makefile.in @@ -419,7 +419,7 @@ AM_CPPFLAGS = \ -DLOCALEDIR="\"@datadir@/locale\"" \ -DIMAGEDIR='"$(imagedir)"' -AM_CXXFLAGS = -std=c++11 +AM_CXXFLAGS = -std=c++17 moduledir = $(plugindir) @FOCUSPOLL_PLUGIN_TRUE@module_LTLIBRARIES = libfocuspoll.la all: all-am