public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/seahorse/files: seahorse-3.10.2-include-correct-headers-for-vala.patch
@ 2014-03-15 10:48 Pacho Ramos (pacho)
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2014-03-15 10:48 UTC (permalink / raw
  To: gentoo-commits

pacho       14/03/15 10:48:43

  Added:               
                        seahorse-3.10.2-include-correct-headers-for-vala.patch
  Log:
  Fix crash with patch approved by upstream, bug #504582 by 504582
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

Revision  Changes    Path
1.1                  app-crypt/seahorse/files/seahorse-3.10.2-include-correct-headers-for-vala.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/seahorse/files/seahorse-3.10.2-include-correct-headers-for-vala.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/seahorse/files/seahorse-3.10.2-include-correct-headers-for-vala.patch?rev=1.1&content-type=text/plain

Index: seahorse-3.10.2-include-correct-headers-for-vala.patch
===================================================================
From 577c4ba0fc84d904338280c0ead77177c9d94ea3 Mon Sep 17 00:00:00 2001
From: Stef Walter <stefw@gnome.org>
Date: Thu, 20 Feb 2014 08:41:54 +0000
Subject: common: Include correct headers for vala calling C code

These caused crashes due to pointers being casted to int.

Due to the way vala code is generated, this fix may require
you to:

$ rm common/*.c
$ make clean all

https://bugzilla.gnome.org/show_bug.cgi?id=708996
---
diff --git a/common/config.vapi b/common/config.vapi
index b814388..056021f 100644
--- a/common/config.vapi
+++ b/common/config.vapi
@@ -16,11 +16,13 @@ namespace Config
  */
 namespace Seahorse {
 
+[CCode (cheader_filename = "libseahorse/seahorse-prefs.h")]
 namespace Prefs {
 	public void show(Gtk.Window window, string? tabid);
 	public bool available();
 }
 
+[CCode (cheader_filename = "libseahorse/seahorse-application.h")]
 namespace Application {
 	public unowned Gtk.Application @get();
 }
--
cgit v0.9.2





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-15 10:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-15 10:48 [gentoo-commits] gentoo-x86 commit in app-crypt/seahorse/files: seahorse-3.10.2-include-correct-headers-for-vala.patch Pacho Ramos (pacho)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox