[oe-commits] org.oe.dev packages/libmrss: Add a memory leak patch and bump the PR

freyther commit openembedded-commits at lists.openembedded.org
Sun Apr 1 21:03:21 UTC 2007


packages/libmrss: Add a memory leak patch and bump the PR

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: 4d6a07a1830f155b9a2a7a992d78b6bf7d7c18f2
ViewMTN: http://monotone.openembedded.org/revision.psp?id=4d6a07a1830f155b9a2a7a992d78b6bf7d7c18f2
Files:
1
packages/libmrss/files/fix-memleaks.patch
packages/libmrss/libmrss_0.17.bb
Diffs:

#
# mt diff -r2f8a1c80f73c24c179aa57addb256f849c000567 -r4d6a07a1830f155b9a2a7a992d78b6bf7d7c18f2
#
# 
# 
# add_file "packages/libmrss/files/fix-memleaks.patch"
#  content [6d7b32fcef4e7abab745508da393b6803576f0e0]
# 
# patch "packages/libmrss/libmrss_0.17.bb"
#  from [d244a77ad529acf79985a411cd041c7d1b5ecb2d]
#    to [8163473c66c5f4511aabbf766ccdb7802cf7f979]
# 
============================================================
--- packages/libmrss/files/fix-memleaks.patch	6d7b32fcef4e7abab745508da393b6803576f0e0
+++ packages/libmrss/files/fix-memleaks.patch	6d7b32fcef4e7abab745508da393b6803576f0e0
@@ -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)
============================================================
--- packages/libmrss/libmrss_0.17.bb	d244a77ad529acf79985a411cd041c7d1b5ecb2d
+++ packages/libmrss/libmrss_0.17.bb	8163473c66c5f4511aabbf766ccdb7802cf7f979
@@ -1,14 +1,16 @@ DEPENDS = "libnxml curl"
 DESCRIPTION = "mRSS is a C library for parsing, writing and creating RSS (0.91, 0.92, 1.0, 2.0) files or streams"
 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() {






More information about the Openembedded-commits mailing list