rpms/libIDL/devel deprecation.patch,NONE,1.1 libIDL.spec,1.30,1.31

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Jan 29 07:13:44 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/libIDL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11521

Modified Files:
	libIDL.spec 
Added Files:
	deprecation.patch 
Log Message:
handle deprecation


deprecation.patch:

--- NEW FILE deprecation.patch ---
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@


Index: libIDL.spec
===================================================================
RCS file: /cvs/extras/rpms/libIDL/devel/libIDL.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- libIDL.spec	20 Oct 2007 02:22:31 -0000	1.30
+++ libIDL.spec	29 Jan 2008 07:12:52 -0000	1.31
@@ -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 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1 -b .multilib
+%patch1 -p1 -b .deprecation
 
 %build
 %configure
@@ -75,6 +77,9 @@
 %{_infodir}/libIDL2.info.gz
 
 %changelog
+* Tue Jan 29 2008 Matthias Clasen <mclasen at redhat.com> - 0.8.9-2
+- Don't use G_GNUC_PRETTY_FUNCTION
+
 * Mon Sep 17 2007 Matthias Clasen <mclasen at redhat.com> - 0.8.9-1
 - Update to 0.8.9
 




More information about the fedora-extras-commits mailing list