diff options
author | Holger Freyther <zecke@selfish.org> | 2007-04-01 21:01:12 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-04-01 21:01:12 +0000 |
commit | cfe6c7d0e4cfe1f5281d684e7cf64ce51e7363bc (patch) | |
tree | ab7bd85cb52f30146ec559a44697352e7ca53b44 | |
parent | 7feebc96df1b509f63cfa846a4aa68d3c958e1e8 (diff) | |
parent | a668b728f034349c1204be9be1b363b1cb3aefa2 (diff) |
merge of '1d81bf38470b2447c375082a9a8b46bfeb3e76b3'
and '4d6a07a1830f155b9a2a7a992d78b6bf7d7c18f2'
-rw-r--r-- | packages/libmrss/files/fix-memleaks.patch | 17 | ||||
-rw-r--r-- | packages/libmrss/libmrss_0.17.bb | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/packages/libmrss/files/fix-memleaks.patch b/packages/libmrss/files/fix-memleaks.patch new file mode 100644 index 0000000000..c88570c72e --- /dev/null +++ b/packages/libmrss/files/fix-memleaks.patch @@ -0,0 +1,17 @@ +Index: libmrss-0.17/src/mrss_parser.c +=================================================================== +--- libmrss-0.17.orig/src/mrss_parser.c 2007-04-01 22:23:22.000000000 +0200 ++++ libmrss-0.17/src/mrss_parser.c 2007-04-01 22:23:42.000000000 +0200 +@@ -186,10 +186,10 @@ + cat->allocated = 1; + cat->category = c; + +- if (!(c = nxmle_find_attribute (cur, "scheme", NULL))) ++ if (c = nxmle_find_attribute (cur, "scheme", NULL)) + cat->domain = c; + +- if (!(c = nxmle_find_attribute (cur, "label", NULL))) ++ if (c = nxmle_find_attribute (cur, "label", NULL)) + cat->label = c; + + if (!*category) diff --git a/packages/libmrss/libmrss_0.17.bb b/packages/libmrss/libmrss_0.17.bb index 4d03985f9e..0d23a2b54f 100644 --- a/packages/libmrss/libmrss_0.17.bb +++ b/packages/libmrss/libmrss_0.17.bb @@ -3,12 +3,14 @@ LICENSE = "LGPL" HOMEPAGE = "http://www2.autistici.org/bakunin/codes.php" DEPENDS = "libnxml curl" +PR = "r1" inherit autotools pkgconfig SRC_URI = "http://www2.autistici.org/bakunin/libmrss/libmrss-${PV}.tar.gz \ file://atom-changes.patch;patch=1 \ file://fix_atom_date_locale.patch;patch=1 \ + file://fix-memleaks.patch;patch=1 \ file://bump-version.patch;patch=1 " do_stage() { |