Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 384744 Details for
Bug 522812
media-libs/glyr-1.0.7 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that solve the problem
glyr.patch (text/plain), 1.13 KB, created by
Henrique Lengler
on 2014-09-14 21:31:14 UTC
(
hide
)
Description:
patch that solve the problem
Filename:
MIME Type:
Creator:
Henrique Lengler
Created:
2014-09-14 21:31:14 UTC
Size:
1.13 KB
patch
obsolete
>diff -rupN /home/henrique/Sources/glyr-1.0.5/lib/intern/lyrics/lyricswiki.c glyr-1.0.5/lib/intern/lyrics/lyricswiki.c >--- /home/henrique/Sources/glyr-1.0.5/lib/intern/lyrics/lyricswiki.c 2014-09-14 18:23:34.500935739 -0300 >+++ glyr-1.0.5/lib/intern/lyrics/lyricswiki.c 2014-09-14 18:24:47.504929936 -0300 >@@ -64,9 +64,10 @@ static gboolean lv_cmp_content (const gc > ///////////////////////////////// > > #define LYR_NODE "<div class='lyricbox'>" >-#define LYR_BEGIN "</div>" >+#define LYR_BEGIN ">" > #define LYR_ENDIN "<!--" > #define LYR_INSTRUMENTAL "/Category:Instrumental" >+#define LYR_SCRIPT_TAG "</script" > > GList * parse_result_page (GlyrQuery * query, GlyrMemCache * to_parse) > { >@@ -75,6 +76,10 @@ GList * parse_result_page (GlyrQuery * q > while (continue_search (g_list_length (result_list),query) && (node = strstr (node,LYR_NODE) ) ) > { > node += (sizeof LYR_NODE); >+ char *script_tag = strstr(node, LYR_SCRIPT_TAG); >+ if(script_tag) { >+ node = script_tag + sizeof(LYR_SCRIPT_TAG); >+ } > > bool is_instrumental = strstr(node, LYR_INSTRUMENTAL) != NULL; > gchar * lyr = get_search_value (node,LYR_BEGIN,LYR_ENDIN);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 522812
: 384744