Fix sblim-sfcb FTBFS in rawhide

This commit is contained in:
Vitezslav Crhonek 2015-07-13 15:39:26 +02:00
parent 6c4d76257c
commit edeb12b60c
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up sblim-sfcb-1.4.9/control.c.orig sblim-sfcb-1.4.9/control.c
--- sblim-sfcb-1.4.9/control.c.orig 2015-07-13 15:06:21.331660336 +0200
+++ sblim-sfcb-1.4.9/control.c 2015-07-13 15:08:38.031308917 +0200
@@ -83,7 +83,7 @@ long httpReqHandlerTimeout;
* Kindly null terminate, always, even if might overwrite
* the last char of the truncated string.
*/
-inline char *strncpy_kind(char *to, char *from, size_t size) {
+char *strncpy_kind(char *to, char *from, size_t size) {
strncpy(to, from, size);
*(to + size - 1) = '\0';
return to;

View File

@ -8,7 +8,7 @@ Name: sblim-sfcb
Summary: Small Footprint CIM Broker
URL: http://sblim.wiki.sourceforge.net/
Version: 1.4.9
Release: 2%{?dist}
Release: 3%{?dist}
Group: Applications/System
License: EPL
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
@ -31,6 +31,7 @@ Patch4: sblim-sfcb-1.3.16-multilib-man-cfg.patch
# Patch5: change default ecdh curve name, as the original is not enabled
# in openssl on Fedora, rhbz#1097794
Patch5: sblim-sfcb-1.4.8-default-ecdh-curve-name.patch
Patch6: sblim-sfcb-1.4.9-fix-ftbfs.patch
Provides: cim-server = 0
Requires: cim-schema
Requires: sblim-sfcCommon
@ -64,6 +65,7 @@ Programming Interface (CMPI).
%patch3 -p1 -b .service
%patch4 -p1 -b .multilib-man-cfg
%patch5 -p1 -b .default-ecdh-curve-name
%patch6 -p1 -b .fix-ftbfs
%build
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 \
@ -123,6 +125,10 @@ fi;
%files -f _pkg_list
%changelog
* Mon Jul 13 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.9-3
- Fix sblim-sfcb FTBFS in rawhide
Resolves: #1239986
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild