diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2010-07-24 21:44:53 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2010-07-24 21:44:53 +0000 |
commit | 01e1d8a071f882112f93213807f89f91ffaa27c8 (patch) | |
tree | 0116bd724ba7bdb8ad0c864a5cbb44da9664f7d5 /app-admin/conky/files | |
parent | fix udev rules (diff) | |
download | gentoo-2-01e1d8a071f882112f93213807f89f91ffaa27c8.tar.gz gentoo-2-01e1d8a071f882112f93213807f89f91ffaa27c8.tar.bz2 gentoo-2-01e1d8a071f882112f93213807f89f91ffaa27c8.zip |
Add patch from upstream to fix if_existing. See bug #328891.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-admin/conky/files')
-rw-r--r-- | app-admin/conky/files/conky-1.8.0-if-existing.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-admin/conky/files/conky-1.8.0-if-existing.patch b/app-admin/conky/files/conky-1.8.0-if-existing.patch new file mode 100644 index 000000000000..d7a8df95f9a5 --- /dev/null +++ b/app-admin/conky/files/conky-1.8.0-if-existing.patch @@ -0,0 +1,24 @@ +X-Git-Url: http://git.omp.am/?p=conky.git;a=blobdiff_plain;f=src%2Fconky.c;h=790e93c599414099ebca1f1ac6dafc1d54a8a2cb;hp=7e61f51d0197a1f700a0e0a77bf89575685cf22b;hb=9c5e5d86bd74465ca1b6f037b084bdb0eda453f7;hpb=c8e687406502be8c6f4e75b077113591823405f0 + +diff --git a/src/conky.c b/src/conky.c +index 7e61f51..790e93c 100644 +--- a/src/conky.c ++++ b/src/conky.c +@@ -463,7 +463,7 @@ int check_contains(char *f, char *s) + } + fclose(where); + } else { +- NORM_ERR("Could not open the file"); ++ NORM_ERR("Could not open the file '%s'", f); + } + return ret; + } +@@ -1330,7 +1330,7 @@ void generate_text_internal(char *p, int p_max_size, + DO_JUMP; + } else if (spc) { + *spc = '\0'; +- if (check_contains(obj->data.s, spc + 1)) ++ if (!check_contains(obj->data.s, spc + 1)) + DO_JUMP; + *spc = ' '; + } |