Hello community, here is the log from the commit of package qtox for openSUSE:Factory checked in at 2018-07-02 23:31:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qtox (Old) and /work/SRC/openSUSE:Factory/.qtox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qtox" Mon Jul 2 23:31:47 2018 rev:3 rq:619649 version:1.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qtox/qtox.changes 2018-06-20 15:30:46.695335985 +0200 +++ /work/SRC/openSUSE:Factory/.qtox.new/qtox.changes 2018-07-02 23:31:47.957372056 +0200 @@ -1,0 +2,11 @@ +Thu Jun 28 18:10:19 UTC 2018 - egdf...@opensuse.org + +- add 5041.patch to fix build in factory + see https://github.com/qTox/qTox/issues/5041#issuecomment-377771790 + +------------------------------------------------------------------- +Mon Jun 18 12:47:04 UTC 2018 - sleep_wal...@opensuse.org + +- disable Werror for parenthesis (breaks the build because of gtk2) + +------------------------------------------------------------------- New: ---- 5041.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qtox.spec ++++++ --- /var/tmp/diff_new_pack.j1X87s/_old 2018-07-02 23:31:48.421371480 +0200 +++ /var/tmp/diff_new_pack.j1X87s/_new 2018-07-02 23:31:48.425371475 +0200 @@ -24,6 +24,8 @@ Group: Productivity/Networking/Instant Messenger Url: https://github.com/tux3/qTox Source: %{name}-%{version}.tar.xz +# PATCH-FEATURE-UPSTREAM +Patch: 5041.patch BuildRequires: c-toxcore-devel BuildRequires: cmake BuildRequires: glib2-devel @@ -55,6 +57,8 @@ %prep %setup -q +%patch -p1 + # W: file-contains-date-and-time BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}') BUILD_DATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{b} %{d} %{Y}') @@ -62,9 +66,10 @@ sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__') %build +CFLAGS="%{optflags} -Wno-error=parentheses" mkdir build pushd build -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .. +cmake -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_INSTALL_PREFIX=%{_prefix} .. make %{?_smp_mflags} PREFIX=%{_prefix} popd ++++++ 5041.patch ++++++ --- qtox-1.15.0/CMakeLists.txt 2018-04-19 23:50:47.000000000 +0300 +++ qtox-1.15.0/CMakeLists.txt.new 2018-06-28 21:00:35.957537887 +0300 @@ -56,7 +56,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} set(POSITION_INDEPENDENT_CODE True) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-overflow") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-aliasing") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") if (NOT WIN32) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all")