Re: [oe] [PATCH v2] libxml: Deleted patch that is already applied in source tarball

2011-07-18 Thread Martin Jansa
On Wed, Jul 06, 2011 at 05:14:07PM -0500, Joel A Fernandes wrote:
 * Deleted a patch that appears to be already applied to the checked out 
 source and is causing do_patch in libxml2 to fail
 
 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 Changes since previous patch:
  Update commit summary to be more relevant.

This patch was applied after tagging 2.7.8 as you can see here:
http://git.gnome.org/browse/libxml2/log/

I've redownloaded 2.7.8 tarball just in case someone did change it
upstream and it's still the same. So OE is right and you probably didn't
clean your libxml build directory so you have that patch applied from
previous run (maybe killed by Ctrl+C in do_patch phase).

Please do bitbake -c clean libxml2 first and check again.

Regards,

 Not sure if should bump the PR in this case? If not, please ignore this note
 
  .../0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch |   29 
 
  recipes/libxml/libxml2_2.7.8.bb|1 -
  2 files changed, 0 insertions(+), 30 deletions(-)
  delete mode 100644 
 recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch
 
 diff --git 
 a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch 
 b/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch
 deleted file mode 100644
 index f94350d..000
 --- 
 a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch
 +++ /dev/null
 @@ -1,29 +0,0 @@
 -From 0cbeb50ee03ce582a0c979c70d8fbf030e270c37 Mon Sep 17 00:00:00 2001
 -From: Daniel Veillard veill...@redhat.com
 -Date: Mon, 15 Nov 2010 11:06:29 +
 -Subject: Fix a potential memory access error
 -
 -in case of a previus allocation error
 
 -diff --git a/xpath.c b/xpath.c
 -index 4d6826d..81e33f6 100644
  a/xpath.c
 -+++ b/xpath.c
 -@@ -3575,13 +3575,13 @@ xmlXPathNodeSetAdd(xmlNodeSetPtr cur, xmlNodePtr 
 val) {
 - } else if (cur-nodeNr == cur-nodeMax) {
 - xmlNodePtr *temp;
 - 
 --cur-nodeMax *= 2;
 --temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax *
 -+temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax * 2 *
 -   sizeof(xmlNodePtr));
 - if (temp == NULL) {
 - xmlXPathErrMemory(NULL, growing nodeset\n);
 - return;
 - }
 -+cur-nodeMax *= 2;
 - cur-nodeTab = temp;
 - }
 - if (val-type == XML_NAMESPACE_DECL) {
 ---
 -cgit v0.8.3.1
 diff --git a/recipes/libxml/libxml2_2.7.8.bb b/recipes/libxml/libxml2_2.7.8.bb
 index 1a71c2b..7d0c451 100644
 --- a/recipes/libxml/libxml2_2.7.8.bb
 +++ b/recipes/libxml/libxml2_2.7.8.bb
 @@ -1,7 +1,6 @@
  require libxml2.inc
  
  SRC_URI += \
 -  file://0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch \
file://df83c17e5a2646bd923f75e5e507bc80d73c9722.patch \
file://fec31bcd452e77c10579467ca87a785b41115de6.patch \
file://00819877651b87842ed878898ba17dba489820f0.patch \
 -- 
 1.7.0.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH v2] libxml: Deleted patch that is already applied in source tarball

2011-07-06 Thread Joel A Fernandes
* Deleted a patch that appears to be already applied to the checked out source 
and is causing do_patch in libxml2 to fail

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
Changes since previous patch:
 Update commit summary to be more relevant.

Not sure if should bump the PR in this case? If not, please ignore this note

 .../0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch |   29 
 recipes/libxml/libxml2_2.7.8.bb|1 -
 2 files changed, 0 insertions(+), 30 deletions(-)
 delete mode 100644 
recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch

diff --git 
a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch 
b/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch
deleted file mode 100644
index f94350d..000
--- 
a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 0cbeb50ee03ce582a0c979c70d8fbf030e270c37 Mon Sep 17 00:00:00 2001
-From: Daniel Veillard veill...@redhat.com
-Date: Mon, 15 Nov 2010 11:06:29 +
-Subject: Fix a potential memory access error
-
-in case of a previus allocation error

-diff --git a/xpath.c b/xpath.c
-index 4d6826d..81e33f6 100644
 a/xpath.c
-+++ b/xpath.c
-@@ -3575,13 +3575,13 @@ xmlXPathNodeSetAdd(xmlNodeSetPtr cur, xmlNodePtr val) {
- } else if (cur-nodeNr == cur-nodeMax) {
- xmlNodePtr *temp;
- 
--cur-nodeMax *= 2;
--  temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax *
-+  temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax * 2 *
- sizeof(xmlNodePtr));
-   if (temp == NULL) {
-   xmlXPathErrMemory(NULL, growing nodeset\n);
-   return;
-   }
-+cur-nodeMax *= 2;
-   cur-nodeTab = temp;
- }
- if (val-type == XML_NAMESPACE_DECL) {
---
-cgit v0.8.3.1
diff --git a/recipes/libxml/libxml2_2.7.8.bb b/recipes/libxml/libxml2_2.7.8.bb
index 1a71c2b..7d0c451 100644
--- a/recipes/libxml/libxml2_2.7.8.bb
+++ b/recipes/libxml/libxml2_2.7.8.bb
@@ -1,7 +1,6 @@
 require libxml2.inc
 
 SRC_URI += \
-  file://0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch \
   file://df83c17e5a2646bd923f75e5e507bc80d73c9722.patch \
   file://fec31bcd452e77c10579467ca87a785b41115de6.patch \
   file://00819877651b87842ed878898ba17dba489820f0.patch \
-- 
1.7.0.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel