summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-12-05 16:43:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 12:00:42 +0000
commit7b228f2d796cb8e46c81cad4a9273311324d76bf (patch)
treede3a1b553a402158e136cc8858c4d202401a5e68 /meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch
parent27120a8fedccebc3f3dd26781efe28ac454bcfb4 (diff)
downloadpoky-7b228f2d796cb8e46c81cad4a9273311324d76bf.tar.gz
sysvinit: update 2.88dsf -> 2.96
Remove 0001-This-fixes-an-issue-that-clang-reports-about-mutlipl.patch, the problem has been fixed upstream. Rebase the other patches. License-Update: copyright years (From OE-Core rev: 5372e1acdd68367e64d13e19d1beb2d7b3e3c224) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch31
1 files changed, 21 insertions, 10 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch b/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch
index 7b342901e1..bd4444b81b 100644
--- a/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch
+++ b/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch
@@ -1,3 +1,8 @@
1From 7276275d9a08d5ae268fb263027bbc60bc0ab2e8 Mon Sep 17 00:00:00 2001
2From: Jeff Dike <jdike@x86_64.user-mode-linux.org>
3Date: Wed, 14 Jul 2010 14:35:52 -0400
4Subject: [PATCH] sysvinit - Remove sulogin dependency on /usr/lib*/libcrypt.a
5
1Upstream-Status: Inappropriate [configuration] 6Upstream-Status: Inappropriate [configuration]
2 7
3# The src Makefile was checking for libcrypt.a on the host, not in the 8# The src Makefile was checking for libcrypt.a on the host, not in the
@@ -5,21 +10,27 @@ Upstream-Status: Inappropriate [configuration]
5# and uses it if it's there. 10# and uses it if it's there.
6# - jdike@linux.intel.com 11# - jdike@linux.intel.com
7 12
8Index: sysvinit-2.88dsf/src/Makefile 13---
9=================================================================== 14 src/Makefile | 9 ++-------
10--- sysvinit-2.88dsf.orig/src/Makefile 15 1 file changed, 2 insertions(+), 7 deletions(-)
11+++ sysvinit-2.88dsf/src/Makefile 16
12@@ -85,9 +85,13 @@ else 17diff --git a/src/Makefile b/src/Makefile
18index 1380d7f..628e77f 100644
19--- a/src/Makefile
20+++ b/src/Makefile
21@@ -97,13 +97,8 @@ else
13 endif 22 endif
14 23
15 # Additional libs for GNU libc. 24 # Additional libs for GNU libc.
25-ifneq ($(wildcard /usr/lib*/libcrypt.*),)
26- SULOGINLIBS += -lcrypt
27-endif
28-
29-# Additional libs for GNU libc / multiarch on Debian based systems.
30-ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
31- SULOGINLIBS += -lcrypt
16+ifneq ($(LCRYPT),) 32+ifneq ($(LCRYPT),)
17+ SULOGINLIBS += $(LCRYPT) 33+ SULOGINLIBS += $(LCRYPT)
18+else
19 ifneq ($(wildcard /usr/lib*/libcrypt.a),)
20 SULOGINLIBS += -lcrypt
21 endif 34 endif
22+endif
23 35
24 all: $(BIN) $(SBIN) $(USRBIN) 36 all: $(BIN) $(SBIN) $(USRBIN)
25