OBS User unknown 2008-10-06 15:55:37 +00:00 committed by Git OBS Bridge
parent 9e08f3c8d8
commit b4d789d8cb
3 changed files with 39 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 6 09:54:28 CEST 2008 - olh@suse.de
- fix ordered comparison of pointer with integer zero (bnc#431913)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 21 19:15:15 CEST 2008 - cthiel@suse.de Wed May 21 19:15:15 CEST 2008 - cthiel@suse.de

View File

@ -0,0 +1,19 @@
Bug 431913 - libavc1394-0.5.3-104: ordered comparison of pointer with integer zero
avc1394_simple.c:552: warning: ordered comparison of pointer with integer zero
---
libavc1394/avc1394_simple.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/libavc1394/avc1394_simple.c
+++ b/libavc1394/avc1394_simple.c
@@ -549,8 +549,7 @@ avc1394_init_target( raw1394handle_t han
if (cmd_handler == NULL)
return -1;
g_command_handler = cmd_handler;
- if (raw1394_set_fcp_handler( handle, target_fcp_handler ) < 0)
- return -1;
+ raw1394_set_fcp_handler( handle, target_fcp_handler );
return raw1394_start_fcp_listen( handle );
}

View File

@ -2,9 +2,16 @@
# spec file for package libavc1394 (Version 0.5.3) # spec file for package libavc1394 (Version 0.5.3)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 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.
# #
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -17,12 +24,13 @@ License: LGPL v2.1 or later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
AutoReqProv: on AutoReqProv: on
Version: 0.5.3 Version: 0.5.3
Release: 102 Release: 129
Summary: Libavc1394--Programming Interface to the AV/C Specification Summary: Libavc1394--Programming Interface to the AV/C Specification
Url: http://sourceforge.net/projects/libavc1394/ Url: http://sourceforge.net/projects/libavc1394/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: libavc1394.no-mkrfc2734.patch Patch: libavc1394.no-mkrfc2734.patch
Patch1: libavc1394.raw1394_set_fcp_handler.patch
%description %description
Libavc1394 is a programming interface to the AV/C specification from Libavc1394 is a programming interface to the AV/C specification from
@ -94,19 +102,16 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch -p1 %patch -p1
%patch1 -p1
%build %build
%{suse_update_config} %{suse_update_config}
autoreconf -i -f autoreconf -i -f
CFLAGS=$RPM_OPT_FLAGS \ CFLAGS=$RPM_OPT_FLAGS \
./configure --prefix=/usr \ %{configure}
--mandir=%{_mandir} \
--libdir=%{_libdir}
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
rm -rf %{buildroot}
mkdir %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%clean %clean
@ -135,6 +140,8 @@ rm -rf $RPM_BUILD_ROOT
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%changelog %changelog
* Mon Oct 06 2008 olh@suse.de
- fix ordered comparison of pointer with integer zero (bnc#431913)
* Wed May 21 2008 cthiel@suse.de * Wed May 21 2008 cthiel@suse.de
- fix baselibs.conf - fix baselibs.conf
* Thu Apr 10 2008 ro@suse.de * Thu Apr 10 2008 ro@suse.de