Hi,

    My cross compile has broken after revision 39467, when pthread_mutex_t
was replaced by LK macro in Image_Entry. Attached one possible restore
patch, because BUILD_ASYNC_PRELOAD is defined but BUILD_PTHREAD doesn't.

Can someone review it?

Thank you

-- 
Tiago Rezende Campos Falcão
Developer @ ProFUSION Embedded Systems



stderr:
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
./configure: line 19087: LT_PROG_RC: command not found
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to [email protected].
evas_object_box.c: In function `_evas_object_box_iterator_next':
evas_object_box.c:60: warning: dereferencing type-punned pointer will break
strict-aliasing rules
evas_object_table.c: In function `_evas_object_table_iterator_next':
evas_object_table.c:119: warning: dereferencing type-punned pointer will
break strict-aliasing rules
evas_object_table.c: In function `_evas_object_table_accessor_get_at':
evas_object_table.c:143: warning: dereferencing type-punned pointer will
break strict-aliasing rules
evas_object_textblock.c: In function `_find_layout_item_line_match':
evas_object_textblock.c:2282: warning: assignment from incompatible pointer
type
evas_cache_image.c: In function `_evas_cache_image_entry_delete':
evas_cache_image.c:189: error: structure has no member named `lock'
evas_cache_image.c: In function `_evas_cache_image_entry_new':
evas_cache_image.c:240: error: structure has no member named `lock'
evas_cache_image.c: In function `evas_cache_image_load_data':
evas_cache_image.c:1031: error: structure has no member named `lock'
evas_cache_image.c:1037: error: structure has no member named `lock'
evas_cache_image.c: In function `_evas_cache_background_load':
evas_cache_image.c:1234: error: structure has no member named `lock'
evas_cache_image.c:1254: error: structure has no member named `lock'
make[4]: *** [evas_cache_image.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
From a767fda2292ff5cd33b2100b7b98be3bea7f7771 Mon Sep 17 00:00:00 2001
From: Tiago Falcao <[email protected]>
Date: Fri, 13 Mar 2009 19:13:26 -0300
Subject: [PATCH] Revert replace by macro

---
 src/lib/include/evas_common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/include/evas_common.h b/src/lib/include/evas_common.h
index 9bbc030..1a8961e 100644
--- a/src/lib/include/evas_common.h
+++ b/src/lib/include/evas_common.h
@@ -402,7 +402,7 @@ struct _Image_Entry
      } info;
    
 #ifdef BUILD_ASYNC_PRELOAD
-   LK(lock);
+   pthread_mutex_t lock;
 #endif
 
    Image_Entry_Flags      flags;
-- 
1.6.0.4

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to