Add patch to fix ARM build break
This commit is contained in:
parent
4947f5246c
commit
7d44c91161
23
libical-2.0.0-arm.patch
Normal file
23
libical-2.0.0-arm.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff -up libical-2.0.0/src/libical/icalrecur.c.arm libical-2.0.0/src/libical/icalrecur.c
|
||||
--- libical-2.0.0/src/libical/icalrecur.c.arm 2016-01-18 15:37:30.117898162 +0100
|
||||
+++ libical-2.0.0/src/libical/icalrecur.c 2016-01-18 15:37:36.730897882 +0100
|
||||
@@ -491,8 +491,8 @@ static int icalrecur_add_bydayrules(stru
|
||||
|
||||
while (n != 0) {
|
||||
int sign = 1;
|
||||
- char weekno; /* note: Novell/Groupwise sends BYDAY=255SU,
|
||||
- so we fit in a signed char to get -1 SU for last Sun */
|
||||
+ signed char weekno; /* note: Novell/Groupwise sends BYDAY=255SU,
|
||||
+ so we fit in a signed char to get -1 SU for last Sun */
|
||||
icalrecurrencetype_weekday wd;
|
||||
|
||||
if (i == ICAL_BY_DAY_SIZE) {
|
||||
@@ -510,7 +510,7 @@ static int icalrecur_add_bydayrules(stru
|
||||
}
|
||||
|
||||
/* Get Optional weekno */
|
||||
- weekno = (char)strtol(t, &t, 10);
|
||||
+ weekno = (signed char)strtol(t, &t, 10);
|
||||
if (weekno < 0) {
|
||||
weekno = -weekno;
|
||||
sign = -1;
|
@ -5,6 +5,7 @@ Release: 1%{?dist}
|
||||
License: LGPLv2 or MPLv1.1
|
||||
URL: http://freeassociation.sourceforge.net/
|
||||
Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: libical-2.0.0-arm.patch
|
||||
|
||||
BuildRequires: bison, byacc, flex
|
||||
BuildRequires: cmake
|
||||
@ -24,6 +25,7 @@ applications that use libical.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .arm
|
||||
|
||||
%build
|
||||
mkdir -p %{_target_platform}
|
||||
@ -69,6 +71,7 @@ make test ARGS="-V" -C %{_target_platform}
|
||||
* Mon Jan 18 2016 Milan Crha <mcrha@redhat.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
- Remove patch for RH bug #1176204 (fixed upstream)
|
||||
- Add patch to fix ARM build break
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user