Hello community, here is the log from the commit of package lyx for openSUSE:Factory checked in at Thu Mar 17 11:06:33 CET 2011. -------- --- lyx/lyx.changes 2011-02-07 00:26:29.000000000 +0100 +++ /mounts/work_src_done/STABLE/lyx/lyx.changes 2011-03-17 10:16:46.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Mar 17 08:29:29 UTC 2011 - ismail@namtrac.org + +- Add missing include to fix compilation with gcc 4.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- minmem New: ---- gcc46.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lyx.spec ++++++ --- /var/tmp/diff_new_pack.TqC7Z0/_old 2011-03-17 11:03:36.000000000 +0100 +++ /var/tmp/diff_new_pack.TqC7Z0/_new 2011-03-17 11:03:36.000000000 +0100 @@ -31,13 +31,15 @@ Requires: texlive-latex ImageMagick AutoReqProv: on Version: 1.6.9 -Release: 1 +Release: 5 %define rversion 1.6.9 Summary: LaTeX-Based WYSIWYG Editor Url: http://www.lyx.org/ Source: lyx-%{rversion}.tar.bz2 Source1: lyx.desktop Source2: lyx.png +# PATCH-FIX-UPSTREAM gcc46.patch -- Add missing include to fix compilation with gcc 4.6 +Patch: gcc46.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: xindy @@ -51,6 +53,7 @@ %prep %setup -q -n %{name}-%{rversion} +%patch %build #%{?suse_update_config:%{suse_update_config -f config}} ++++++ gcc46.patch ++++++ --- src/support/unicode.h 2009-05-19 17:28:27.000000000 +0200 +++ src/support/unicode.h 2011-03-17 09:27:51.026012759 +0100 @@ -15,6 +15,7 @@ #include "support/strfwd.h" +#include <cstddef> #include <vector> --- src/frontends/qt4/GuiIdListModel.cpp 2008-04-30 10:26:40.000000000 +0200 +++ src/frontends/qt4/GuiIdListModel.cpp 2011-03-17 10:13:45.170012886 +0100 @@ -76,9 +76,8 @@ if (!rowIsValid(row)) return false; vector<OurData>::iterator it = userData_.begin() + row; - OurData const v; beginInsertRows(QModelIndex(), row, row + count - 1); - userData_.insert(it, count, v); + userData_.insert(it, count, OurData()); endInsertRows(); return true; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org