handle deprecation

i9ce
Matthias Clasen 17 years ago
parent 9eeb861218
commit 8887b83df8

@ -0,0 +1,12 @@
diff -up libIDL-0.8.9/include/libIDL/IDL.h.in.deprecation libIDL-0.8.9/include/libIDL/IDL.h.in
--- libIDL-0.8.9/include/libIDL/IDL.h.in.deprecation 2008-01-29 02:10:35.000000000 -0500
+++ libIDL-0.8.9/include/libIDL/IDL.h.in 2008-01-29 02:11:19.000000000 -0500
@@ -101,7 +101,7 @@ extern "C" {
#define IDL_CHECK_CAST(tree, thetype, name) \
(IDL_check_type_cast(tree, thetype, \
__FILE__, __LINE__, \
- G_GNUC_PRETTY_FUNCTION)->u.name)
+ G_STRFUNC)->u.name)
/* GLib 2.0 requires 64-bit types */
#define IDL_LL @IDL_LL@

@ -1,9 +1,10 @@
Summary: Library for parsing IDL (Interface Definition Language)
Name: libIDL
Version: 0.8.9
Release: 1%{?dist}
Release: 2%{?dist}
Source: http://download.gnome.org/sources/libIDL/0.8/%{name}-%{version}.tar.bz2
Patch0: libIDL-0.8.6-multilib.patch
Patch1L deprecation.patch
Group: System Environment/Libraries
License: LGPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -33,6 +34,7 @@ or compile programs that use libIDL.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .multilib
%patch1 -p1 -b .deprecation
%build
%configure
@ -75,6 +77,9 @@ rm -rf %{buildroot}
%{_infodir}/libIDL2.info.gz
%changelog
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.8.9-2
- Don't use G_GNUC_PRETTY_FUNCTION
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 0.8.9-1
- Update to 0.8.9

Loading…
Cancel
Save