rpms/dcbd/devel dcbd-0.9.15-lookup-string.patch, NONE, 1.1 dcbd.spec, 1.4, 1.5
Jan Zeleny
jzeleny at fedoraproject.org
Thu Aug 20 12:26:42 UTC 2009
- Previous message (by thread): rpms/system-config-lvm/devel .cvsignore, 1.25, 1.26 sources, 1.27, 1.28 system-config-lvm.spec, 1.40, 1.41
- Next message (by thread): rpms/gnome-power-manager/F-11 gnome-power-manager-2.26.1-ignore-hal-buttons-not-lid.patch, NONE, 1.1 gnome-power-manager.spec, 1.161, 1.162
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jzeleny
Update of /cvs/extras/rpms/dcbd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26780
Modified Files:
dcbd.spec
Added Files:
dcbd-0.9.15-lookup-string.patch
Log Message:
update of config_lookup_string() function calls
dcbd-0.9.15-lookup-string.patch:
config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE dcbd-0.9.15-lookup-string.patch ---
--- dcbd-0.9.15/config.c.orig 2009-08-20 14:07:31.000000000 +0200
+++ dcbd-0.9.15/config.c 2009-08-20 14:12:08.000000000 +0200
@@ -367,7 +367,7 @@ static dcb_result _set_persistent(char *
goto set_error;
/* Read config file version */
- strcpy(version, config_lookup_string(&dcb_cfg, "version"));
+ config_lookup_string(&dcb_cfg, "version", &version);
if(NULL != version) {
result = strcmp(version, VERSION);
if (result) {
@@ -951,7 +951,7 @@ dcb_result get_persistent(char *device_n
memset(attribs, 0, sizeof(*attribs));
/* Read config file version */
- strcpy(version, config_lookup_string(&dcb_cfg, "version"));
+ config_lookup_string(&dcb_cfg, "version", &version);
if(NULL != version) {
result = strcmp(version, VERSION);
Index: dcbd.spec
===================================================================
RCS file: /cvs/extras/rpms/dcbd/devel/dcbd.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- dcbd.spec 20 Aug 2009 11:22:40 -0000 1.4
+++ dcbd.spec 20 Aug 2009 12:26:41 -0000 1.5
@@ -1,6 +1,6 @@
Name: dcbd
Version: 0.9.15
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intel EEDC Connection
Group: System Environment/Daemons
@@ -10,6 +10,7 @@ Source0: http://downloads.sourcef
Patch0: dcbd-0.9.7-make.patch
Patch1: dcbd-0.9.15-sysconfig.patch
Patch2: dcbd-0.9.7-init.patch
+Patch3: dcbd-0.9.15-lookup-string.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: kernel >= 2.6.31
@@ -36,6 +37,7 @@ that use %{name}.
%patch0 -p1 -b .make
%patch1 -p1 -b .sysconfig
%patch2 -p1 -b .init
+%patch3 -p1 -b .lookup-string
%build
@@ -90,6 +92,9 @@ fi
%changelog
+* Thu Aug 20 2009 Jan Zeleny <jzeleny at redhat.com> - 0.9.15-3
+- update of config_lookup_string() function calls
+
* Thu Aug 20 2009 Jan Zeleny <jzeleny at redhat.com> - 0.9.15-2
- rebuild in order to match new libconfig
- Previous message (by thread): rpms/system-config-lvm/devel .cvsignore, 1.25, 1.26 sources, 1.27, 1.28 system-config-lvm.spec, 1.40, 1.41
- Next message (by thread): rpms/gnome-power-manager/F-11 gnome-power-manager-2.26.1-ignore-hal-buttons-not-lid.patch, NONE, 1.1 gnome-power-manager.spec, 1.161, 1.162
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list