Hello community, here is the log from the commit of package lmms for openSUSE:Factory checked in at 2017-11-30 12:46:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lmms (Old) and /work/SRC/openSUSE:Factory/.lmms.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lmms" Thu Nov 30 12:46:14 2017 rev:26 rq:546630 version:1.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/lmms/lmms.changes 2017-08-21 11:37:28.650504839 +0200 +++ /work/SRC/openSUSE:Factory/.lmms.new/lmms.changes 2017-11-30 12:46:15.880013993 +0100 @@ -1,0 +2,6 @@ +Thu Nov 30 08:57:13 UTC 2017 - [email protected] + +- Fix Factory build failure with addition to lmms-carla.patch. +- Build position independent executables. + +------------------------------------------------------------------- Old: ---- v1.1.3.tar.gz New: ---- lmms-1.1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lmms.spec ++++++ --- /var/tmp/diff_new_pack.ApkZhC/_old 2017-11-30 12:46:17.323961502 +0100 +++ /var/tmp/diff_new_pack.ApkZhC/_new 2017-11-30 12:46:17.327961356 +0100 @@ -31,7 +31,7 @@ ExclusiveArch: x86_64 Url: https://lmms.io/ -Source0: https://github.com/LMMS/lmms/archive/v%{version}.tar.gz +Source0: https://github.com/LMMS/lmms/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM Fix wrong comparison logic (from upstream) Patch1: lmms-1.1.3-fix-wrong-comparison-logic.patch # PATCH-FIX-OPENSUSE Patch for providing proper return code in a function @@ -121,12 +121,13 @@ %build mkdir build cd build -export CFLAGS="%{optflags} -fgnu89-inline" -export CXXFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fgnu89-inline -fPIC -fPIE" +export CXXFLAGS="%{optflags} -fPIC -fPIE" cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_EXE_LINKER_FLAGS:STRING="-pie" \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ .. make %{?_smp_mflags} ++++++ lmms-carla.patch ++++++ --- /var/tmp/diff_new_pack.ApkZhC/_old 2017-11-30 12:46:17.375959611 +0100 +++ /var/tmp/diff_new_pack.ApkZhC/_new 2017-11-30 12:46:17.379959466 +0100 @@ -1,6 +1,7 @@ -diff -up lmms-1.1.3/plugins/carlabase/carla.cpp.orig lmms-1.1.3/plugins/carlabase/carla.cpp ---- lmms-1.1.3/plugins/carlabase/carla.cpp.orig 2016-01-12 19:23:03.546267149 +0100 -+++ lmms-1.1.3/plugins/carlabase/carla.cpp 2016-01-16 22:57:41.938774602 +0100 +Index: lmms-1.1.3/plugins/carlabase/carla.cpp +=================================================================== +--- lmms-1.1.3.orig/plugins/carlabase/carla.cpp 2015-03-08 04:47:14.000000000 +0200 ++++ lmms-1.1.3/plugins/carlabase/carla.cpp 2017-11-30 10:22:24.378470164 +0200 @@ -150,10 +150,11 @@ CarlaInstrument::CarlaInstrument(Instrum fHost.uiParentId = 0; @@ -15,7 +16,13 @@ #else fHost.resourceDir = NULL; #endif -@@ -263,6 +264,9 @@ intptr_t CarlaInstrument::handleDispatch +@@ -258,11 +259,15 @@ intptr_t CarlaInstrument::handleDispatch + case NATIVE_HOST_OPCODE_RELOAD_PARAMETERS: + case NATIVE_HOST_OPCODE_RELOAD_MIDI_PROGRAMS: + case NATIVE_HOST_OPCODE_RELOAD_ALL: ++ case NATIVE_HOST_OPCODE_INTERNAL_PLUGIN: + // nothing + break; case NATIVE_HOST_OPCODE_UI_UNAVAILABLE: handleUiClosed(); break;
