Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/pwdb/, sys-libs/pwdb/files/
Date: Sun, 16 May 2021 14:44:35
Message-Id: 1621176230.81ae1b109602c0f028a49ac7e213236aac67ac46.asturm@gentoo
1 commit: 81ae1b109602c0f028a49ac7e213236aac67ac46
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 16 12:35:59 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun May 16 14:43:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ae1b10
7
8 sys-libs/pwdb: Disable static lib
9
10 Closes: https://bugs.gentoo.org/725972
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 sys-libs/pwdb/files/pwdb-0.62-disable-static.patch | 19 +++++++++++++++++++
15 sys-libs/pwdb/pwdb-0.62-r2.ebuild | 5 ++++-
16 2 files changed, 23 insertions(+), 1 deletion(-)
17
18 diff --git a/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch b/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch
19 new file mode 100644
20 index 00000000000..a3395e16907
21 --- /dev/null
22 +++ b/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch
23 @@ -0,0 +1,19 @@
24 +--- a/libpwdb/Makefile
25 ++++ b/libpwdb/Makefile
26 +@@ -46,7 +46,7 @@
27 + %.o : %.c $(HEADERS)
28 + $(CC) $(CFLAGS) $(DYNAMIC) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
29 +
30 +-all: $(LIBSTATIC) $(LIBDYNAME)
31 ++all: $(LIBDYNAME)
32 +
33 +
34 + $(LIBDYNAME): $(LIBOBJ)
35 +@@ -70,7 +70,6 @@
36 + $(INSTALL) -m 755 $(LIBFILENAME) $(LIBDIR)
37 + ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBSONAME)
38 + ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBDYNAME)
39 +- $(INSTALL) -m 644 $(LIBSTATIC) $(LIBDIR)
40 +
41 + clean:
42 + @rm -f *.so *.a core a.out `find . -name "*.o" -print` `find . -name "*~" -print`
43
44 diff --git a/sys-libs/pwdb/pwdb-0.62-r2.ebuild b/sys-libs/pwdb/pwdb-0.62-r2.ebuild
45 index 6701f44fdb0..d44cdd852dd 100644
46 --- a/sys-libs/pwdb/pwdb-0.62-r2.ebuild
47 +++ b/sys-libs/pwdb/pwdb-0.62-r2.ebuild
48 @@ -26,7 +26,10 @@ BDEPEND="virtual/pkgconfig"
49 DOCS=( CHANGES CREDITS README doc/pwdb.txt )
50 HTML_DOCS=( doc/html/. )
51
52 -PATCHES=( "${FILESDIR}"/${P}-build.patch )
53 +PATCHES=(
54 + "${FILESDIR}"/${P}-build.patch
55 + "${FILESDIR}"/${P}-disable-static.patch # bug 725972
56 +)
57
58 src_prepare() {
59 default