[poky] [PATCH] sudo_1.8.1p2.bb: Pull patch from upstream to fix parallel build issue

Matthew McClintock msm at freescale.com
Wed Nov 23 00:19:17 PST 2011


Signed-off-by: Matthew McClintock <msm at freescale.com>
---
This is for the edison 1.1.1 point release if accepted. It's already in the
upstream version used in master

I'm not exactly sure where to send this so I choose the poky list to start
with

 .../sudo/files/sudo-parallel-build.patch           |   15 +++++++++++++++
 meta/recipes-extended/sudo/sudo_1.8.1p2.bb         |    3 ++-
 2 files changed, 17 insertions(+), 1 deletions(-)
 create mode 100755 meta/recipes-extended/sudo/files/sudo-parallel-build.patch

diff --git a/meta/recipes-extended/sudo/files/sudo-parallel-build.patch b/meta/recipes-extended/sudo/files/sudo-parallel-build.patch
new file mode 100755
index 0000000..6cfe56d
--- /dev/null
+++ b/meta/recipes-extended/sudo/files/sudo-parallel-build.patch
@@ -0,0 +1,15 @@
+Upstream-Status: Accepted
+
+Index: sudo-1.8.1p2/plugins/sudoers/Makefile.in
+===================================================================
+--- sudo-1.8.1p2.orig/plugins/sudoers/Makefile.in
++++ sudo-1.8.1p2/plugins/sudoers/Makefile.in
+@@ -164,7 +164,7 @@ sudoers.la: $(SUDOERS_OBJS) libsudoers.l
+ visudo: libsudoers.la $(VISUDO_OBJS) $(LIBS)
+ 	$(LIBTOOL) --mode=link $(CC) -o $@ $(VISUDO_OBJS) $(LDFLAGS) libsudoers.la $(LIBS) $(NET_LIBS)
+ 
+-sudoreplay: $(REPLAY_OBJS) $(LIBS)
++sudoreplay: timestr.lo $(REPLAY_OBJS) $(LIBS)
+ 	$(LIBTOOL) --mode=link $(CC) -o $@ $(REPLAY_OBJS) $(LDFLAGS) timestr.lo $(REPLAY_LIBS) $(LIBS)
+ 
+ testsudoers: libsudoers.la $(TEST_OBJS) $(LIBS)
diff --git a/meta/recipes-extended/sudo/sudo_1.8.1p2.bb b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb
index b568291..0cf8d03 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.1p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb
@@ -1,9 +1,10 @@
 require sudo.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
            file://libtool.patch \
+	   file://sudo-parallel-build.patch \ 
            ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
 
 PAM_SRC_URI = "file://sudo.pam"
-- 
1.7.6.1





More information about the poky mailing list