rpms/telepathy-haze/devel telepathy-haze-fix-deprecated-tp_debug-call.patch, NONE, 1.1 telepathy-haze.spec, 1.1, 1.2

Peter Gordon (pgordon) fedora-extras-commits at redhat.com
Wed Nov 14 00:46:09 UTC 2007


Author: pgordon

Update of /cvs/pkgs/rpms/telepathy-haze/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31110

Modified Files:
	telepathy-haze.spec 
Added Files:
	telepathy-haze-fix-deprecated-tp_debug-call.patch 
Log Message:
Add patch to fix build failure due to use of deprecated tp_debug_set_flags_from_env function call.

telepathy-haze-fix-deprecated-tp_debug-call.patch:

--- NEW FILE telepathy-haze-fix-deprecated-tp_debug-call.patch ---
--- src/main.c-deprecated-tp_debug-call	2007-11-13 16:21:21.000000000 -0800
+++ src/main.c	2007-11-13 16:22:24.000000000 -0800
@@ -338,7 +338,7 @@ main(int argc,
     init_libpurple();
     g_debug("libpurple initialized.");
 
-    tp_debug_set_flags_from_env ("HAZE_DEBUG");
+    tp_debug_set_flags (g_getenv ("HAZE_DEBUG"));
     ret = tp_run_connection_manager (UI_ID, HAZE_VERSION, get_cm, argc, argv);
 
     purple_core_quit ();


Index: telepathy-haze.spec
===================================================================
RCS file: /cvs/pkgs/rpms/telepathy-haze/devel/telepathy-haze.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- telepathy-haze.spec	12 Nov 2007 19:23:15 -0000	1.1
+++ telepathy-haze.spec	14 Nov 2007 00:45:37 -0000	1.2
@@ -1,6 +1,6 @@
 Name:		telepathy-haze
 Version:	0.1.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	A multi-protocol Libpurple connection manager for Telepathy
 
 Group:		Applications/Communications
@@ -12,6 +12,9 @@
 Source1:	haze-aim.profile
 Source2:	haze-msn.profile
 
+## https://bugs.freedesktop.org/show_bug.cgi?id=13235 
+Patch0: 	%{name}-fix-deprecated-tp_debug-call.patch
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	libpurple-devel
@@ -46,6 +49,7 @@
 
 %prep
 %setup -q
+%patch0 -b .fix-deprecated-tp_debug-call
 
 
 %build
@@ -82,6 +86,11 @@
 
 
 %changelog
+* Tue Nov 13 2007 Peter Gordon <peter at thecodergeek.com> - 0.1.2-4
+- Add patch to fix build error due to calling deprecated
+  tp_debug_set_flags_from_env function.
+  + fix-deprecated-tp_debug-call.patch
+
 * Sun Nov 11 2007 Peter Gordon <peter at thecodergeek.com> - 0.1.2-3
 - Fix Source0 URL.
 




More information about the fedora-extras-commits mailing list