Hello community,
here is the log from the commit of package scribus
checked in at Thu Mar 8 17:58:54 CET 2007.
--------
--- KDE/scribus/scribus.changes 2007-01-28 19:06:07.000000000 +0100
+++ /mounts/work_src_done/STABLE/scribus/scribus.changes 2007-03-08 15:06:48.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Mar 8 15:02:42 CET 2007 - pgajdos@suse.cz
+
+- fixed 'warning: comparsion with string literal' (#233016, #228963)
+- string-literal-comparsion.patch
+
+-------------------------------------------------------------------
New:
----
scribus-1.3.3.7_string-literal-comparsion.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scribus.spec ++++++
--- /var/tmp/diff_new_pack.mX6980/_old 2007-03-08 17:58:27.000000000 +0100
+++ /var/tmp/diff_new_pack.mX6980/_new 2007-03-08 17:58:27.000000000 +0100
@@ -28,8 +28,9 @@
Provides: scribus-short-words
Obsoletes: scribus-i18n-de scribus-i18n-en scribus-i18n-fr scribus-short-words
Version: 1.3.3.7
-Release: 1
+Release: 7
Source: %{name}-%{version}.tar.bz2
+Patch: %{name}-%{version}_string-literal-comparsion.patch
URL: http://www.scribus.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Open Source Page Layout and Desktop Publishing (DTP)
@@ -100,6 +101,7 @@
%define prefix /usr
%prep
%setup -q
+%patch
%build
. /etc/opt/kde3/common_options
@@ -168,7 +170,10 @@
%defattr(-, root, root)
%{_prefix}/include/scribus
-%changelog -n scribus
+%changelog
+* Thu Mar 08 2007 - pgajdos@suse.cz
+- fixed 'warning: comparsion with string literal' (#233016, #228963)
+- string-literal-comparsion.patch
* Sun Jan 28 2007 - stbinner@suse.de
- Updated to bugfix release 1.3.3.7
* Thu Nov 09 2006 - sbrabec@suse.cz
++++++ scribus-1.3.3.7_string-literal-comparsion.patch ++++++
--- scribus/colorm.cpp
+++ scribus/colorm.cpp
@@ -210,7 +210,7 @@
ColorListBox::ColorListBox(QWidget * parent, const char * name, WFlags f)
: QListBox(parent, name, f)
{
- if (name == "")
+ if (name[0] == 0)
setName("ColorListBox");
}
--- scribus/plugins/scriptplugin/cmdcolor.cpp
+++ scribus/plugins/scriptplugin/cmdcolor.cpp
@@ -147,7 +147,7 @@
char *Repl = const_cast