Hello community,
here is the log from the commit of package wsndpref
checked in at Thu May 31 21:16:08 CEST 2007.
--------
--- wsndpref/wsndpref.changes 2006-08-21 17:43:55.000000000 +0200
+++ /mounts/work_src_done/STABLE/wsndpref/wsndpref.changes 2007-05-31 11:03:32.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 31 11:02:29 CEST 2007 - anosek(a)suse.cz
+
+- fixed incorrect string comparison (warnings.patch)
+
+-------------------------------------------------------------------
New:
----
WSoundPrefs-1.1.1-warnings.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wsndpref.spec ++++++
--- /var/tmp/diff_new_pack.QE2766/_old 2007-05-31 21:16:04.000000000 +0200
+++ /var/tmp/diff_new_pack.QE2766/_new 2007-05-31 21:16:04.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package wsndpref (Version 1.1.1)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -12,20 +12,21 @@
Name: wsndpref
BuildRequires: WindowMaker-devel esound-devel freetype2-devel hermes-devel wsndsrv
-License: Other License(s), see package
+License: BSD License and BSD-like
Group: System/GUI/Other
URL: ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
Provides: WSoundPrefs
Autoreqprov: on
Summary: A Setup Program for the WSoundServer
Version: 1.1.1
-Release: 967
+Release: 1026
Source: WSoundPrefs-%{version}.tar.gz
Patch1: WSoundPrefs-1.1.1-wstrappend.patch
Patch2: WSoundPrefs-1.1.1-imake.patch
Patch3: WSoundPrefs-1.1.1-IconImage.patch
Patch4: WSoundPrefs-1.1.1-noPropList.patch
Patch5: WSoundPrefs-1.1.1-compile.patch
+Patch6: WSoundPrefs-1.1.1-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -44,6 +45,7 @@
%patch3
%patch4 -p 1
%patch5
+%patch6
# ---------------------------------------------------------------------------
%build
@@ -69,7 +71,9 @@
%doc ChangeLog
%doc INSTALL
-%changelog -n wsndpref
+%changelog
+* Thu May 31 2007 - anosek(a)suse.cz
+- fixed incorrect string comparison (warnings.patch)
* Mon Aug 21 2006 - anosek(a)suse.cz
- changed prefix /usr/X11R6 -> /usr
* Wed Jan 25 2006 - mls(a)suse.de
++++++ WSoundPrefs-1.1.1-warnings.patch ++++++
--- src/SoundEvents.c
+++ src/SoundEvents.c
@@ -321,7 +321,7 @@
newset = WMCreatePLDictionary(NULL,NULL,NULL);
key = NULL;
- for(i=0;eventkey[i]!="UserDefined";i++) {
+ for(i=0;strcmp(eventkey[i],"UserDefined");i++) {
key = WMCreatePLString(eventkey[i]);
val = WMGetFromPLDictionary(WMSoundDomain,key);
if(val) WMPutInPLDictionary(newset,key,val);
@@ -374,7 +374,7 @@
val = WMGetFromPLArray(array, i);
path = wexpandpath(WMGetFromPLString(val));
- if ((path+strlen(path)-1) != "/")
+ if (*(path+strlen(path)-1) != '/')
path = wstrappend(path, "/");
path = wstrappend(path, file);
@@ -433,7 +433,7 @@
val = WMGetFromPLArray(array, i);
path = wexpandpath(WMGetFromPLString(val));
- if ((path+strlen(path)-1) != "/") {
+ if (*(path+strlen(path)-1) != '/') {
tmp = wstrappend(path, "/");
#if 0
if (path)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org