- Switched off ICAL_ERRORS_ARE_FATAL for all distributions, except Fedora
11. Closes Red Hat Bugzilla bug #478331.
This commit is contained in:
parent
0972db63c3
commit
83cc56bef0
24
libical-0.41-configure.patch
Normal file
24
libical-0.41-configure.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -urNp libical-0.41.orig/configure libical-0.41/configure
|
||||
--- libical-0.41.orig/configure 2009-01-08 00:38:26.000000000 +0530
|
||||
+++ libical-0.41/configure 2009-01-08 00:43:43.000000000 +0530
|
||||
@@ -20519,17 +20519,17 @@ fi;
|
||||
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
-#define ICAL_ERRORS_ARE_FATAL 1
|
||||
+#define ICAL_ERRORS_ARE_FATAL 0
|
||||
_ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
-#define NO_WARN_DEPRECATED 1
|
||||
+#define NO_WARN_DEPRECATED 0
|
||||
_ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
-#define NO_WARN_ICAL_MALFORMEDDATA_ERROR_HACK 1
|
||||
+#define NO_WARN_ICAL_MALFORMEDDATA_ERROR_HACK 0
|
||||
_ACEOF
|
||||
|
||||
|
19
libical.spec
19
libical.spec
@ -1,6 +1,6 @@
|
||||
Name: libical
|
||||
Version: 0.41
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Reference implementation of the iCalendar data type and serialization format
|
||||
Summary(pl): Implementacja formatu iCalendar
|
||||
|
||||
@ -9,7 +9,12 @@ License: LGPLv2 or MPLv1.1
|
||||
URL: http://freeassociation.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: %{name}-%{version}-makefile.patch
|
||||
%if 0%{?fc11}
|
||||
%else
|
||||
Patch0: %{name}-%{version}-configure.patch
|
||||
%endif
|
||||
|
||||
Patch1: %{name}-%{version}-makefile.patch
|
||||
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
@ -42,7 +47,13 @@ korzystających z libical.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%if 0%{?fc11}
|
||||
%else
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-reentrant
|
||||
@ -99,6 +110,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/%{name}/vobject.h
|
||||
|
||||
%changelog
|
||||
* Thu Jan 08 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.41-2
|
||||
- Switched off ICAL_ERRORS_ARE_FATAL for all distributions, except Fedora 11.
|
||||
Closes Red Hat Bugzilla bug #478331.
|
||||
|
||||
* Sun Nov 23 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.41-1
|
||||
- Version bump to 0.41. Closes Red Hat Bugzilla bug #469252.
|
||||
- Disabled C++ bindings.
|
||||
|
Loading…
Reference in New Issue
Block a user