summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-09-09 16:15:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-10 15:38:57 +0100
commitbd1a3ab8a63d6b2c109d595c67fcca99817e1daa (patch)
tree797abc666dc84a45afb08b2a21c548f13d6d785c /meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch
parent9f9476fff147ba8e23b7302fd347378f76f133a8 (diff)
downloadpoky-bd1a3ab8a63d6b2c109d595c67fcca99817e1daa.tar.gz
nspr: Upgrade to 4.10.7
Remove patch that was directly modifing the configure script since we can now use autoreconf to configure. This also allowed for the removal of the do_configure() functions. Added patch to remove an undefined ${srcdir}. (From OE-Core rev: 622ad8482b55957f4a08eadf0131b0eb86d1886b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch')
-rw-r--r--meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch31
1 files changed, 16 insertions, 15 deletions
diff --git a/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch b/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch
index a6fa1ea607..c2b7258e50 100644
--- a/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch
+++ b/meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch
@@ -11,23 +11,27 @@ Upstream-Status: Pending
11 configure.in | 12 ++++++------ 11 configure.in | 12 ++++++------
12 1 files changed, 6 insertions(+), 6 deletions(-) 12 1 files changed, 6 insertions(+), 6 deletions(-)
13 13
14diff --git a/configure.in b/configure.in 14Index: nspr/configure.in
15index 39c96a3..99a03ac 100644 15===================================================================
16--- a/configure.in 16--- nspr.orig/configure.in
17+++ b/configure.in 17+++ nspr/configure.in
18@@ -1778,24 +1778,24 @@ tools are selected during the Xcode/Developer Tools installation.]) 18@@ -1875,28 +1875,24 @@ tools are selected during the Xcode/Deve
19 PR_MD_ASFILES=os_Linux_ia64.s 19 PR_MD_ASFILES=os_Linux_ia64.s
20 ;; 20 ;;
21 x86_64) 21 x86_64)
22- if test -n "$USE_64"; then 22- if test -n "$USE_64"; then
23- PR_MD_ASFILES=os_Linux_x86_64.s 23- PR_MD_ASFILES=os_Linux_x86_64.s
24- else 24- elif test -n "$USE_X32"; then
25+ if test -n "$USE_N32"; then 25+ if test -n "$USE_X32"; then
26 AC_DEFINE(i386) 26+ AC_DEFINE(i386)
27 PR_MD_ASFILES=os_Linux_x86.s 27 PR_MD_ASFILES=os_Linux_x86_64.s
28 CC="$CC -m32" 28 CC="$CC -mx32"
29 CXX="$CXX -m32" 29 CXX="$CXX -mx32"
30+ else 30 else
31- AC_DEFINE(i386)
32- PR_MD_ASFILES=os_Linux_x86.s
33- CC="$CC -m32"
34- CXX="$CXX -m32"
31+ PR_MD_ASFILES=os_Linux_x86_64.s 35+ PR_MD_ASFILES=os_Linux_x86_64.s
32 fi 36 fi
33 ;; 37 ;;
@@ -46,6 +50,3 @@ index 39c96a3..99a03ac 100644
46 fi 50 fi
47 ;; 51 ;;
48 m68k) 52 m68k)
49--
501.7.1
51