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 <[email protected]>
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