public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/cinnamon/files: cinnamon-1.8.8.1-mozjs17.patch
@ 2014-02-26 10:52 Michal Gorny (mgorny)
  0 siblings, 0 replies; only message in thread
From: Michal Gorny (mgorny) @ 2014-02-26 10:52 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/02/26 10:52:07

  Added:                cinnamon-1.8.8.1-mozjs17.patch
  Log:
  Fix build failure with mozjs17, bug #499980.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.1                  gnome-extra/cinnamon/files/cinnamon-1.8.8.1-mozjs17.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/files/cinnamon-1.8.8.1-mozjs17.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/files/cinnamon-1.8.8.1-mozjs17.patch?rev=1.1&content-type=text/plain

Index: cinnamon-1.8.8.1-mozjs17.patch
===================================================================
From 914d7da8baea24b1b31e2bcf982d12996f86694a Mon Sep 17 00:00:00 2001
From: leigh123linux <leigh123linux@fedoraproject.org>
Date: Tue, 4 Jun 2013 14:02:15 +0200
Subject: [PATCH] Fix build error so cinnamon compiles with mozjs-17

https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00135.html

Fixes #2113
---
 src/cinnamon-global.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/cinnamon-global.c b/src/cinnamon-global.c
index ab5d5d4..69958d3 100644
--- a/src/cinnamon-global.c
+++ b/src/cinnamon-global.c
@@ -1237,14 +1237,11 @@ enum
                          0,
                          &target_object))
     {
-      char *message;
-      gjs_log_exception(context,
-                        &message);
+      gjs_log_exception(context);
       g_set_error(error,
                   G_IO_ERROR,
                   G_IO_ERROR_FAILED,
-                  "%s", message ? message : "(unknown)");
-      g_free(message);
+                  "Unable to import %s", target_object_script);
       goto out_error;
     }
 
-- 
1.8.5.5






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

only message in thread, other threads:[~2014-02-26 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 10:52 [gentoo-commits] gentoo-x86 commit in gnome-extra/cinnamon/files: cinnamon-1.8.8.1-mozjs17.patch Michal Gorny (mgorny)

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