Hello community, here is the log from the commit of package gnuplot for openSUSE:Factory checked in at 2015-05-22 09:53:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnuplot (Old) and /work/SRC/openSUSE:Factory/.gnuplot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnuplot" Changes: -------- --- /work/SRC/openSUSE:Factory/gnuplot/gnuplot.changes 2015-03-30 19:10:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnuplot.new/gnuplot.changes 2015-05-22 09:53:45.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 21 08:12:01 UTC 2015 - werner@suse.de + +- Since QtCore is build with -reduce-relocations a -fPIC is required + therefore add patch gnuplot-QtCore-PIC.dif + +------------------------------------------------------------------- New: ---- gnuplot-QtCore-PIC.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnuplot.spec ++++++ --- /var/tmp/diff_new_pack.W3bBRo/_old 2015-05-22 09:53:46.000000000 +0200 +++ /var/tmp/diff_new_pack.W3bBRo/_new 2015-05-22 09:53:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gnuplot # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -99,6 +99,7 @@ Patch2: gnuplot-4.6.0-fonts.diff Patch4: gnuplot-4.6.0-demo.diff Patch5: gnuplot-wx3.diff +Patch6: gnuplot-QtCore-PIC.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" @@ -143,11 +144,12 @@ bunzip2 -dc %{_sourcedir}/gnuplot-fr.doc.bz2 > docs/gnuplot-fr.doc test $? -eq 0 || exit 1 cp %{_sourcedir}/picins.sty docs -%patch2 -p 0 -b .font -%patch4 -p 0 -b .demo -%patch0 -p 0 -b .0 -%patch1 -p 0 -b .x11ovf -%patch5 -p1 +%patch2 -p0 -b .font +%patch4 -p0 -b .demo +%patch0 -p0 -b .0 +%patch1 -p0 -b .x11ovf +%patch5 -p1 -b .w3x +%patch6 -p0 -b .pic %build autoreconf -fi ++++++ gnuplot-QtCore-PIC.dif ++++++ Since QtCore is build with -reduce-relocations a -fPIC is required --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) --- src/Makefile.am +++ src/Makefile.am 2015-05-21 08:09:36.882019332 +0000 @@ -158,6 +158,9 @@ clean-local: clean-qt-extra clean-demo gnuplot_SOURCES += qtterminal/qt_term.cpp +qtterminal/%.$(OBJEXT): qtterminal/%.cpp + $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -fPIC -c -o $@ $< + pkglibexec_PROGRAMS += gnuplot_qt $(gnuplot_qt_OBJECTS) : ui_QtGnuplotSettings.h