summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-21 14:40:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-21 14:40:04 +0000
commitaae49473d31adec24e312c019fbd232a90cc2157 (patch)
treec3e0cd3a502b24ebc8573cd4fd24017bf859a65a /media-video/gxine/files
parentStable on amd64. (diff)
downloadgentoo-2-aae49473d31adec24e312c019fbd232a90cc2157.tar.gz
gentoo-2-aae49473d31adec24e312c019fbd232a90cc2157.tar.bz2
gentoo-2-aae49473d31adec24e312c019fbd232a90cc2157.zip
Add patch to fix crashing when not using lirc.
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-video/gxine/files')
-rw-r--r--media-video/gxine/files/digest-gxine-0.5.2-r1 (renamed from media-video/gxine/files/digest-gxine-0.5.2)0
-rw-r--r--media-video/gxine/files/gxine-0.5.2-nolirc.patch24
2 files changed, 24 insertions, 0 deletions
diff --git a/media-video/gxine/files/digest-gxine-0.5.2 b/media-video/gxine/files/digest-gxine-0.5.2-r1
index b4fcb9e89cfc..b4fcb9e89cfc 100644
--- a/media-video/gxine/files/digest-gxine-0.5.2
+++ b/media-video/gxine/files/digest-gxine-0.5.2-r1
diff --git a/media-video/gxine/files/gxine-0.5.2-nolirc.patch b/media-video/gxine/files/gxine-0.5.2-nolirc.patch
new file mode 100644
index 000000000000..e0f61d72d8fb
--- /dev/null
+++ b/media-video/gxine/files/gxine-0.5.2-nolirc.patch
@@ -0,0 +1,24 @@
+Index: gxine-0.5.2/src/menu.c
+===================================================================
+--- gxine-0.5.2.orig/src/menu.c
++++ gxine-0.5.2/src/menu.c
+@@ -348,7 +348,9 @@ JS_CB (EngineLog, "log_show ();")
+ JS_CB (JSConsole, "js_console_show ();")
+ JS_CB (StreamInfo, "stream_info_show ();")
+ JS_CB (SetupWizards, "run_wizards ();")
++#ifdef HAVE_LIRC
+ JS_CB (ReloadLIRC, "reload_lirc ();")
++#endif
+
+ #define CB(name, stock, label, key) \
+ { #name, (stock), (label), (key), NULL, G_CALLBACK(js_##name##_cb) }
+@@ -482,7 +484,9 @@ static GtkWidget *add_menu_ui (GtkUIMana
+ "<menuitem action='Prefs' />\n"
+ "<menuitem action='Keys' />\n"
+ "<menuitem action='Startup' />\n"
++#ifdef HAVE_LIRC
+ "<menuitem action='ReloadLIRC' />\n"
++#endif
+ "<separator />\n"
+ "<menuitem action='SetupWizards' />\n"
+ "</menu>\n"