Hello community, here is the log from the commit of package phonon4qt5 for openSUSE:Factory checked in at 2015-05-24 19:29:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/phonon4qt5 (Old) and /work/SRC/openSUSE:Factory/.phonon4qt5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "phonon4qt5" Changes: -------- --- /work/SRC/openSUSE:Factory/phonon4qt5/phonon4qt5.changes 2015-01-07 09:38:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.phonon4qt5.new/phonon4qt5.changes 2015-05-24 19:29:21.000000000 +0200 @@ -1,0 +2,7 @@ +Thu May 21 17:33:34 UTC 2015 - hrvoje.sen...@gmail.com + +- Added pic.patch, fix build with latest Qt5 - it now requires -fPIC + flag instead of -fPIE when Qt is built with reduced-relocations + option + +------------------------------------------------------------------- New: ---- pic.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ phonon4qt5.spec ++++++ --- /var/tmp/diff_new_pack.eHCcHD/_old 2015-05-24 19:29:22.000000000 +0200 +++ /var/tmp/diff_new_pack.eHCcHD/_new 2015-05-24 19:29:22.000000000 +0200 @@ -27,6 +27,8 @@ Url: http://phonon.kde.org/ Source: http://download.kde.org/stable/%{rname}/%{version}/src/%{rname}-%{version}.tar.xz Source1: baselibs.conf +# PATCH-FIX-UPSTREAM pic.patch +Patch0: pic.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: kf5-filesystem @@ -73,6 +75,7 @@ %prep %setup -q -n %{rname}-%{version} +%patch0 -p1 %build %cmake_kf5 -d build -- -DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=true -DDBUS_INTERFACES_INSTALL_DIR=%{_kf5_sharedir}/dbus-1/interfaces/ ++++++ pic.patch ++++++ diff --git a/cmake/FindPhononInternal.cmake b/cmake/FindPhononInternal.cmake index 44862b5..96473dd 100644 --- a/cmake/FindPhononInternal.cmake +++ b/cmake/FindPhononInternal.cmake @@ -109,9 +109,8 @@ else (NOT PHONON_BUILD_PHONON4QT5) # Qt5 find_package(Qt5Widgets) macro_log_feature(Qt5Widgets_FOUND "Qt5 Widgets (qtbase)" "" "" TRUE) - if (Qt5_POSITION_INDEPENDENT_CODE) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) - endif() + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") #---- compat # Compat variables for plugins.