From: Holger Hans Peter Freyther Date: Tue, 16 Mar 2010 09:34:48 +0000 (+0800) Subject: gnupg-1.4.10: Readd the ARM Thumb patch as debian has no thumb support X-Git-Tag: Release-2010-05/1~340^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83394d70df1fdadddb7aeebcc9b225bfbd2a462f;p=openembedded.git gnupg-1.4.10: Readd the ARM Thumb patch as debian has no thumb support --- diff --git a/recipes/gnupg/gnupg-1.4.10/long-long-thumb.patch b/recipes/gnupg/gnupg-1.4.10/long-long-thumb.patch new file mode 100644 index 0000000000..dd4ec73eca --- /dev/null +++ b/recipes/gnupg/gnupg-1.4.10/long-long-thumb.patch @@ -0,0 +1,12 @@ +--- gnupg/mpi/longlong.h~ 2006-02-14 10:09:55.000000000 +0000 ++++ gnupg/mpi/longlong.h 2008-10-27 13:11:09.000000000 +0000 +@@ -181,7 +181,7 @@ + /*************************************** + ************** ARM ****************** + ***************************************/ +-#if defined (__arm__) && W_TYPE_SIZE == 32 ++#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined(__thumb__) + #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ + __asm__ ("adds %1, %4, %5\n" \ + "adc %0, %2, %3" \ + diff --git a/recipes/gnupg/gnupg_1.4.10.bb b/recipes/gnupg/gnupg_1.4.10.bb index a5fae96342..38af0873fa 100644 --- a/recipes/gnupg/gnupg_1.4.10.bb +++ b/recipes/gnupg/gnupg_1.4.10.bb @@ -4,9 +4,10 @@ DEPENDS += "readline" EXTRA_OECONF += "--with-readline=${STAGING_LIBDIR}/.. ac_cv_sys_symbol_underscore=yes" # --without-readline do not support fancy command line editing +SRC_URI += "file://long-long-thumb.patch;patch=1" SRC_URI[src.md5sum] = "dcf7ed712997888d616e029637bfc303" SRC_URI[src.sha256sum] = "a2907f4432d67894e425e48ae85785dd60ecb01658c9682bcd96f5e91043bb38" S = "${WORKDIR}/gnupg-${PV}" -PR = "r1" +PR = "r2"