summaryrefslogtreecommitdiffstats
path: root/deskutils/drivel/files/patch-src-blog_lj
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 04:04:06 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 04:04:06 +0800
commit9d00b97ecc2428b4afbccc2641487e898e6d0a08 (patch)
tree5ffdb2c1160ee9d0b7c3ad2ac437d50933cf8076 /deskutils/drivel/files/patch-src-blog_lj
parent0ba202dc2eba45b2c3c024175ca709df6ab42170 (diff)
downloadmarcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.gz
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.bz2
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.lz
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.xz
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.zst
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9240 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/drivel/files/patch-src-blog_lj')
-rw-r--r--deskutils/drivel/files/patch-src-blog_lj47
1 files changed, 47 insertions, 0 deletions
diff --git a/deskutils/drivel/files/patch-src-blog_lj b/deskutils/drivel/files/patch-src-blog_lj
new file mode 100644
index 000000000..9c4382e1f
--- /dev/null
+++ b/deskutils/drivel/files/patch-src-blog_lj
@@ -0,0 +1,47 @@
+--- src/blog_lj.c.orig 25 Jun 2005 16:19:28 -0000 1.27
++++ src/blog_lj.c 28 Feb 2006 16:41:41 -0000
+@@ -826,6 +826,11 @@
+
+ for (j = 0; j < prop_count; j++)
+ {
++ g_snprintf (key, 32, "prop_%d_itemid", j + 1);
++ mesg = drivel_request_value_lookup (dr, key);
++ if (strcmp(mesg,itemid[i])!=0)
++ continue;
++
+ g_snprintf (key, 32, "prop_%d_name", j + 1);
+ mesg = drivel_request_value_lookup (dr, key);
+
+@@ -869,28 +874,28 @@
+ {
+ prop = journal_prop_new ();
+ prop->name = g_strdup ("music");
+- prop->value = g_strdup (picture[i]);
++ prop->value = g_strdup (music[i]);
+ g_array_append_val (entry->properties, prop);
+ }
+ if (mood[i])
+ {
+ prop = journal_prop_new ();
+ prop->name = g_strdup ("mood");
+- prop->value = g_strdup (picture[i]);
++ prop->value = g_strdup (mood[i]);
+ g_array_append_val (entry->properties, prop);
+ }
+ if (comments[i])
+ {
+ prop = journal_prop_new ();
+ prop->name = g_strdup ("comments");
+- prop->value = g_strdup (picture[i]);
++ prop->value = g_strdup (comments[i]);
+ g_array_append_val (entry->properties, prop);
+ }
+ if (autoformat[i])
+ {
+ prop = journal_prop_new ();
+ prop->name = g_strdup ("autoformat");
+- prop->value = g_strdup (picture[i]);
++ prop->value = g_strdup (autoformat[i]);
+ g_array_append_val (entry->properties, prop);
+ }
+ prop = journal_prop_new ();