diff options
Diffstat (limited to 'recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch')
-rw-r--r-- | recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch b/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch index 0f4cef9..fcc63b3 100644 --- a/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch +++ b/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | From 47379747e34f952d31af028c672940ca7859ae3c Mon Sep 17 00:00:00 2001 | ||
1 | From: Yulong Pei <Yulong.pei@windriver.com> | 2 | From: Yulong Pei <Yulong.pei@windriver.com> |
2 | Date: Wed, 21 Jul 2010 22:33:43 +0800 | 3 | Date: Wed, 21 Jul 2010 22:33:43 +0800 |
3 | Subject: [PATCH] change finding path of nss and nspr | 4 | Subject: [PATCH] change finding path of nss and nspr |
@@ -6,13 +7,16 @@ Upstream-Status: Pending | |||
6 | 7 | ||
7 | Signed-off-by: Yulong Pei <Yulong.pei@windriver.com> | 8 | Signed-off-by: Yulong Pei <Yulong.pei@windriver.com> |
8 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | 9 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> |
10 | |||
9 | --- | 11 | --- |
10 | configure.ac | 12 ++++++------ | 12 | configure.ac | 12 ++++++------ |
11 | 1 files changed, 6 insertions(+), 6 deletions(-) | 13 | 1 file changed, 6 insertions(+), 6 deletions(-) |
12 | 14 | ||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index 3278200..6edec7d 100644 | ||
13 | --- a/configure.ac | 17 | --- a/configure.ac |
14 | +++ b/configure.ac | 18 | +++ b/configure.ac |
15 | @@ -618,7 +618,7 @@ | 19 | @@ -644,7 +644,7 @@ if test "z$NSS_FOUND" = "zno" ; then |
16 | 20 | ||
17 | if test "z$with_nspr" != "z" ; then | 21 | if test "z$with_nspr" != "z" ; then |
18 | NSPR_PREFIX="$with_nspr" | 22 | NSPR_PREFIX="$with_nspr" |
@@ -21,7 +25,7 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | |||
21 | if test "z$with_gnu_ld" = "zyes" ; then | 25 | if test "z$with_gnu_ld" = "zyes" ; then |
22 | NSPR_LIBS="-Wl,-rpath-link -Wl,$with_nspr/lib -L$with_nspr/lib $NSPR_LIBS_LIST" | 26 | NSPR_LIBS="-Wl,-rpath-link -Wl,$with_nspr/lib -L$with_nspr/lib $NSPR_LIBS_LIST" |
23 | else | 27 | else |
24 | @@ -626,7 +626,7 @@ | 28 | @@ -652,7 +652,7 @@ if test "z$NSS_FOUND" = "zno" ; then |
25 | fi | 29 | fi |
26 | NSPR_INCLUDES_FOUND="yes" | 30 | NSPR_INCLUDES_FOUND="yes" |
27 | NSPR_LIBS_FOUND="yes" | 31 | NSPR_LIBS_FOUND="yes" |
@@ -30,7 +34,7 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | |||
30 | else | 34 | else |
31 | for dir in $ac_nss_inc_dir ; do | 35 | for dir in $ac_nss_inc_dir ; do |
32 | if test -f $dir/nspr/prinit.h ; then | 36 | if test -f $dir/nspr/prinit.h ; then |
33 | @@ -664,7 +664,7 @@ | 37 | @@ -690,7 +690,7 @@ if test "z$NSS_FOUND" = "zno" ; then |
34 | OLD_CPPFLAGS=$CPPFLAGS | 38 | OLD_CPPFLAGS=$CPPFLAGS |
35 | CPPFLAGS="$NSPR_CFLAGS" | 39 | CPPFLAGS="$NSPR_CFLAGS" |
36 | AC_EGREP_CPP(yes,[ | 40 | AC_EGREP_CPP(yes,[ |
@@ -39,7 +43,7 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | |||
39 | #if PR_VMAJOR >= 4 | 43 | #if PR_VMAJOR >= 4 |
40 | yes | 44 | yes |
41 | #endif | 45 | #endif |
42 | @@ -689,7 +689,7 @@ | 46 | @@ -715,7 +715,7 @@ if test "z$NSS_FOUND" = "zno" ; then |
43 | NSS_NSS_H="" | 47 | NSS_NSS_H="" |
44 | 48 | ||
45 | if test "z$with_nss" != "z" ; then | 49 | if test "z$with_nss" != "z" ; then |
@@ -48,7 +52,7 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | |||
48 | if test "z$with_gnu_ld" = "zyes" ; then | 52 | if test "z$with_gnu_ld" = "zyes" ; then |
49 | NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib -L$with_nss/lib $NSS_LIBS_LIST" | 53 | NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib -L$with_nss/lib $NSS_LIBS_LIST" |
50 | else | 54 | else |
51 | @@ -697,7 +697,7 @@ | 55 | @@ -723,7 +723,7 @@ if test "z$NSS_FOUND" = "zno" ; then |
52 | fi | 56 | fi |
53 | NSS_INCLUDES_FOUND="yes" | 57 | NSS_INCLUDES_FOUND="yes" |
54 | NSS_LIBS_FOUND="yes" | 58 | NSS_LIBS_FOUND="yes" |
@@ -57,9 +61,9 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | |||
57 | else | 61 | else |
58 | for dir in $ac_nss_inc_dir ; do | 62 | for dir in $ac_nss_inc_dir ; do |
59 | if test -f $dir/nss/nss.h ; then | 63 | if test -f $dir/nss/nss.h ; then |
60 | @@ -735,7 +735,7 @@ | 64 | @@ -761,7 +761,7 @@ if test "z$NSS_FOUND" = "zno" ; then |
61 | OLD_CPPFLAGS=$CPPFLAGS | 65 | OLD_CPPFLAGS=$CPPFLAGS |
62 | CPPFLAGS="$NSS_CFLAGS" | 66 | CPPFLAGS="$NSPR_CFLAGS $NSS_CFLAGS" |
63 | AC_EGREP_CPP(yes,[ | 67 | AC_EGREP_CPP(yes,[ |
64 | - #include <nss.h> | 68 | - #include <nss.h> |
65 | + #include <nss3/nss.h> | 69 | + #include <nss3/nss.h> |