summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam/libpam-xtests.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-08 20:17:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:03 -0800
commitb65741860f311fd6d0a0dbfd0633837ba1b6f3b0 (patch)
tree947708dbc822d545cc6d460bc74e6754b2c5f4f0 /meta/recipes-extended/pam/libpam/libpam-xtests.patch
parent12190f1779aa5df4e227628139aad60d7b8b9de7 (diff)
downloadpoky-b65741860f311fd6d0a0dbfd0633837ba1b6f3b0.tar.gz
libpam: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 994e43acc67efeb33d859be071609daa844e9b77) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam/libpam/libpam-xtests.patch')
-rw-r--r--meta/recipes-extended/pam/libpam/libpam-xtests.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-extended/pam/libpam/libpam-xtests.patch b/meta/recipes-extended/pam/libpam/libpam-xtests.patch
index be687457f8..7edf66f915 100644
--- a/meta/recipes-extended/pam/libpam/libpam-xtests.patch
+++ b/meta/recipes-extended/pam/libpam/libpam-xtests.patch
@@ -3,18 +3,20 @@ This patch is used to create a new sub package libpam-xtests to do more checks.
3Upstream-Status: Pending 3Upstream-Status: Pending
4 4
5Signed-off-by: Kang Kai <kai.kang@windriver.com> 5Signed-off-by: Kang Kai <kai.kang@windriver.com>
6--- Linux-PAM-1.1.4/xtests/Makefile.am.orig 2011-07-19 17:00:09.619980001 +0800 6Index: Linux-PAM-1.3.0/xtests/Makefile.am
7+++ Linux-PAM-1.1.4/xtests/Makefile.am 2011-07-19 16:54:00.229979998 +0800 7===================================================================
8@@ -7,7 +7,7 @@ 8--- Linux-PAM-1.3.0.orig/xtests/Makefile.am
9 AM_LDFLAGS = -L$(top_builddir)/libpam -lpam \ 9+++ Linux-PAM-1.3.0/xtests/Makefile.am
10 -L$(top_builddir)/libpam_misc -lpam_misc 10@@ -7,7 +7,7 @@ AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_src
11 LDADD = $(top_builddir)/libpam/libpam.la \
12 $(top_builddir)/libpam_misc/libpam_misc.la
11 13
12-CLEANFILES = *~ $(XTESTS) 14-CLEANFILES = *~ $(XTESTS)
13+CLEANFILES = *~ 15+CLEANFILES = *~
14 16
15 EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \ 17 EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \
16 tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \ 18 tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \
17@@ -51,3 +51,18 @@ 19@@ -51,3 +51,18 @@ EXTRA_PROGRAMS = $(XTESTS)
18 20
19 xtests: $(XTESTS) run-xtests.sh 21 xtests: $(XTESTS) run-xtests.sh
20 "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS} 22 "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS}