aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-04-11 01:57:03 +0800
committerpawel <pawel@FreeBSD.org>2013-04-11 01:57:03 +0800
commitf55d03c65ca6da807b11f3e9b24f06a5667c467a (patch)
tree01f4491a872f66cd390b61c62ee226dbab5968cd /graphics
parentea5ddfcedb56eeb2f5729a058b849157f570fd3d (diff)
downloadfreebsd-ports-gnome-f55d03c65ca6da807b11f3e9b24f06a5667c467a.tar.gz
freebsd-ports-gnome-f55d03c65ca6da807b11f3e9b24f06a5667c467a.tar.zst
freebsd-ports-gnome-f55d03c65ca6da807b11f3e9b24f06a5667c467a.zip
Add upstream patch to fix crash at startup after
recent glib2 update PR: ports/177652 Reported by: Eric Douzet <eric.douzet@gmail.com> Approved by: portmgr (bdrewery)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mirage/Makefile8
-rw-r--r--graphics/mirage/files/patch-mirage.py20
2 files changed, 22 insertions, 6 deletions
diff --git a/graphics/mirage/Makefile b/graphics/mirage/Makefile
index 5ba395049aa3..15f11bb96c47 100644
--- a/graphics/mirage/Makefile
+++ b/graphics/mirage/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: mirage
-# Date created: 31 January 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= mirage
PORTVERSION= 0.9.5.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= BERLIOS/mirageiv
diff --git a/graphics/mirage/files/patch-mirage.py b/graphics/mirage/files/patch-mirage.py
new file mode 100644
index 000000000000..79d6e7d48f7f
--- /dev/null
+++ b/graphics/mirage/files/patch-mirage.py
@@ -0,0 +1,20 @@
+--- mirage.py.orig 2013-04-10 19:04:47.000000000 +0200
++++ mirage.py 2013-04-10 19:05:50.000000000 +0200
+@@ -1,3 +1,4 @@
++#!/usr/bin/python2
+ # $HeadURL: http://svn.berlios.de/svnroot/repos/mirageiv/branches/mirage-0.9.x/mirage.py $
+ # $Id: mirage.py 337 2011-02-13 22:40:05Z fredricj $
+
+@@ -4575,10 +4576,10 @@
+ timer_screensaver = gobject.timeout_add(1000, self.disable_screensaver_in_slideshow_mode)
+
+ def main(self):
++ gtk.gdk.threads_enter()
+ gtk.main()
++ gtk.gdk.threads_leave()
+
+ if __name__ == "__main__":
+ base = Base()
+- gtk.gdk.threads_enter()
+ base.main()
+- gtk.gdk.threads_leave()