Hello community, here is the log from the commit of package libflaim for openSUSE:Factory checked in at 2011-12-25 17:35:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libflaim (Old) and /work/SRC/openSUSE:Factory/.libflaim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libflaim", Maintainer is "CSarangthem@novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libflaim/libflaim.changes 2011-09-23 02:08:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libflaim.new/libflaim.changes 2011-12-25 17:35:46.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 23 18:51:29 CET 2011 - mhrusecky@suse.cz + +- adding arm definitions + +------------------------------------------------------------------- New: ---- libflaim-arm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libflaim.spec ++++++ --- /var/tmp/diff_new_pack.GNoYnk/_old 2011-12-25 17:35:47.000000000 +0100 +++ /var/tmp/diff_new_pack.GNoYnk/_new 2011-12-25 17:35:47.000000000 +0100 @@ -27,8 +27,9 @@ License: LGPL-2.1+ Group: Development/Libraries/C and C++ Source: libflaim-4.9.1046.tar.gz -Patch: libflaim-warning.patch +Patch0: libflaim-warning.patch Patch1: libflaim-hppa.patch +Patch2: libflaim-arm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -52,10 +53,13 @@ %prep %setup -q -%patch +%patch0 %ifarch hppa %patch1 %endif +%ifarch %arm +%patch2 +%endif %build make lib_dir_name=%{_lib} libs ++++++ libflaim-arm.patch ++++++ Index: Makefile =================================================================== --- Makefile.orig +++ Makefile @@ -462,6 +462,14 @@ ifndef host_native_word_size endif ifndef host_native_word_size + ifneq (,$(findstring arm,$(HOSTTYPE))) + host_processor_family = arm + host_native_word_size = 32 + host_supported_word_sizes = 32 + endif +endif + +ifndef host_native_word_size $(error Unable to determine host word size. $(HOSTTYPE)) endif @@ -1019,7 +1027,9 @@ ifdef unix_target ifeq ($(compiler),g++) ccflags += -Wall -fPIC ifneq ($(target_processor_family),ia64) - ccflags += -m$(target_word_size) + ifneq ($(HOSTTYPE),arm) + ccflags += -m$(target_word_size) + endif endif endif Index: src/flaimtk.h =================================================================== --- src/flaimtk.h.orig +++ src/flaimtk.h @@ -54,6 +54,7 @@ #undef FLM_GNUC #undef FLM_HAS_ASYNC_IO #undef FLM_HAS_DIRECT_IO + #undef FLM_ARM #if defined( __GNUC__) #define FLM_GNUC @@ -149,6 +150,8 @@ #endif #elif defined( __x86__) || defined( __i386__) || defined( __x86_64__) #define FLM_X86 + #elif defined( __arm__) || defined( __thumb__) + #define FLM_ARM #else #error Platform architecture not supported #endif Index: ftk/src/ftk.h =================================================================== --- ftk/src/ftk.h.orig +++ ftk/src/ftk.h @@ -54,6 +54,7 @@ #undef FLM_GNUC #undef FLM_HAS_ASYNC_IO #undef FLM_HAS_DIRECT_IO + #undef FLM_ARM #if defined( __GNUC__) #define FLM_GNUC @@ -149,6 +150,8 @@ #endif #elif defined( __x86__) || defined( __i386__) || defined( __x86_64__) #define FLM_X86 + #elif defined( __arm__) || defined( __thumb__) + #define FLM_ARM #else #error Platform architecture not supported #endif -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org