fix typo in icaltime_days_in_year
This commit is contained in:
parent
20113692c2
commit
67d5f00981
12
libical-1.0-ycaltime.patch
Normal file
12
libical-1.0-ycaltime.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up libical-1.0/src/libical/icaltime.c.ycaltime libical-1.0/src/libical/icaltime.c
|
||||||
|
--- libical-1.0/src/libical/icaltime.c.ycaltime 2015-01-12 18:51:47.753599914 -0500
|
||||||
|
+++ libical-1.0/src/libical/icaltime.c 2015-01-12 18:51:56.111697783 -0500
|
||||||
|
@@ -475,7 +475,7 @@ icaltime_is_leap_year (const int year)
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
-ycaltime_days_in_year (const int year)
|
||||||
|
+icaltime_days_in_year (const int year)
|
||||||
|
{
|
||||||
|
if (icaltime_is_leap_year (year))
|
||||||
|
return 366;
|
@ -1,13 +1,14 @@
|
|||||||
Summary: Reference implementation of the iCalendar data type and serialization format
|
Summary: Reference implementation of the iCalendar data type and serialization format
|
||||||
Name: libical
|
Name: libical
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
License: LGPLv2 or MPLv1.1
|
License: LGPLv2 or MPLv1.1
|
||||||
URL: http://freeassociation.sourceforge.net/
|
URL: http://freeassociation.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz
|
||||||
Patch0: libical-1.0-r1150.patch
|
Patch0: libical-1.0-r1150.patch
|
||||||
Patch1: libical-1.0-r1156.patch
|
Patch1: libical-1.0-r1156.patch
|
||||||
Patch2: libical-1.0-avoid-putenv.patch
|
Patch2: libical-1.0-avoid-putenv.patch
|
||||||
|
Patch3: libical-1.0-ycaltime.patch
|
||||||
|
|
||||||
BuildRequires: bison, byacc, flex
|
BuildRequires: bison, byacc, flex
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -30,6 +31,7 @@ applications that use libical.
|
|||||||
%patch0 -p1 -b .r1150
|
%patch0 -p1 -b .r1150
|
||||||
%patch1 -p1 -b .r1156
|
%patch1 -p1 -b .r1156
|
||||||
%patch2 -p1 -b .avoid-putenv
|
%patch2 -p1 -b .avoid-putenv
|
||||||
|
%patch3 -p1 -b .ycaltime
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p %{_target_platform}
|
mkdir -p %{_target_platform}
|
||||||
@ -65,6 +67,9 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
|
|||||||
%{_includedir}/libical/
|
%{_includedir}/libical/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 12 2014 Matthias Clasen <mclasen@redhat.com> - 1.0-9
|
||||||
|
- Fix a stupid typo in the definition of icaltime_days_in_year
|
||||||
|
|
||||||
* Mon Dec 22 2014 Milan Crha <mcrha@redhat.com> - 1.0-8
|
* Mon Dec 22 2014 Milan Crha <mcrha@redhat.com> - 1.0-8
|
||||||
- Add patch for RH bug #1176204 (Avoid putenv() in libical)
|
- Add patch for RH bug #1176204 (Avoid putenv() in libical)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user