rpms/anerley/F-12 anerley-no-self-contact.patch, NONE, 1.1 anerley.spec, 1.13, 1.14

Peter Robinson pbrobinson at fedoraproject.org
Mon Dec 7 01:00:56 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/anerley/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30671

Modified Files:
	anerley.spec 
Added Files:
	anerley-no-self-contact.patch 
Log Message:
- Fix spec file. Damn FUDCon hotel wifi

anerley-no-self-contact.patch:
 anerley-ebook-feed.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--- NEW FILE anerley-no-self-contact.patch ---
>From e604bdf50e2b05ed6977564ea8d6aac948af0e03 Mon Sep 17 00:00:00 2001
From: Geoff Gustafson <geoff at linux.intel.com>
Date: Tue, 10 Nov 2009 23:01:47 +0000
Subject: anerley-ebook-feed: Fix segfault when no self contact is found

---
diff --git a/anerley/anerley-ebook-feed.c b/anerley/anerley-ebook-feed.c
index 59b2eb0..72c4529 100644
--- a/anerley/anerley-ebook-feed.c
+++ b/anerley/anerley-ebook-feed.c
@@ -134,13 +134,12 @@ anerley_ebook_feed_constructed (GObject *object)
                                     E_CONTACT_UID);
     g_debug (G_STRLOC ": Found self contact: %s",
              priv->self_uid);
+    g_object_unref (self_contact);
   } else {
     g_warning (G_STRLOC ": Error getting self contact: %s",
                error->message);
   }
 
-  g_object_unref (self_contact);
-
   if (G_OBJECT_CLASS (anerley_ebook_feed_parent_class)->constructed)
     G_OBJECT_CLASS (anerley_ebook_feed_parent_class)->constructed (object);
 }
--
cgit v0.8.3-13-ge633


Index: anerley.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anerley/F-12/anerley.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- anerley.spec	13 Nov 2009 16:28:40 -0000	1.13
+++ anerley.spec	7 Dec 2009 01:00:56 -0000	1.14
@@ -1,12 +1,13 @@
 Name:           anerley
 Version:        0.2.0
-Release:        1%{?dist}
+Release:        3%{?dist}
 Summary:        Moblin widgets for people information
 
 Group:          System Environment/Libraries
 License:        LGPLv2
 URL:            http://www.moblin.org/
 Source0:        http://git.moblin.org/cgit.cgi/%{name}/snapshot/%{name}-%{version}.tar.bz2
+Patch0:         anerley-no-self-contact.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: evolution-data-server-devel
@@ -35,6 +36,7 @@ Files for development with %{name}.
 
 %prep
 %setup -q
+%patch0 -p1 -b .no-self-contact
 
 # Don't run configure from autogen.sh
 NOCONFIGURE=true ./autogen.sh
@@ -72,6 +74,12 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 
 %changelog
+* Sun Dec  6 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.0-3
+- Fix spec file. Damn FUDCon hotel wifi
+
+* Sat Dec  5 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.0-2
+- Add patch from upstream to fix segfault when no self contact is found
+
 * Fri Nov 13 2009 Peter Robinson <pbrobinson at gmail.com> 0.2.0-1
 - New upstream 0.2.0 release
 




More information about the fedora-extras-commits mailing list