Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdw/files/, app-cdr/cdw/
Date: Thu, 25 Jun 2020 06:01:31
Message-Id: 1593064867.6ed9008b1626ba39108df88b150007b25f4a46a3.juippis@gentoo
1 commit: 6ed9008b1626ba39108df88b150007b25f4a46a3
2 Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
3 AuthorDate: Wed Jun 24 16:47:43 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 25 06:01:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed9008b
7
8 app-cdr/cdw: fix AR direct call
9
10 Closes: https://bugs.gentoo.org/721928
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/15788
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 app-cdr/cdw/cdw-0.8.1-r1.ebuild | 11 +++++++++--
17 app-cdr/cdw/cdw-9999.ebuild | 7 +++++--
18 app-cdr/cdw/files/cdw-0.8.1-fix-ar-call.patch | 26 ++++++++++++++++++++++++++
19 3 files changed, 40 insertions(+), 4 deletions(-)
20
21 diff --git a/app-cdr/cdw/cdw-0.8.1-r1.ebuild b/app-cdr/cdw/cdw-0.8.1-r1.ebuild
22 index 2e0b7596745..c524d89d06d 100644
23 --- a/app-cdr/cdw/cdw-0.8.1-r1.ebuild
24 +++ b/app-cdr/cdw/cdw-0.8.1-r1.ebuild
25 @@ -1,8 +1,8 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 +# Copyright 1999-2020 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=7
31 -inherit toolchain-funcs
32 +inherit autotools toolchain-funcs
33
34 DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
35 HOMEPAGE="http://cdw.sourceforge.net"
36 @@ -22,8 +22,15 @@ RDEPEND="
37 DEPEND="${RDEPEND}"
38 BDEPEND="virtual/pkgconfig"
39
40 +PATCHES=( "${FILESDIR}/${PN}-0.8.1-fix-ar-call.patch" )
41 +
42 DOCS=( AUTHORS ChangeLog NEWS README THANKS cdw.conf )
43
44 +src_prepare() {
45 + default
46 + eautoreconf
47 +}
48 +
49 src_configure() {
50 econf LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )"
51 }
52
53 diff --git a/app-cdr/cdw/cdw-9999.ebuild b/app-cdr/cdw/cdw-9999.ebuild
54 index 5013ebb9082..f23f85b84c7 100644
55 --- a/app-cdr/cdw/cdw-9999.ebuild
56 +++ b/app-cdr/cdw/cdw-9999.ebuild
57 @@ -1,4 +1,4 @@
58 -# Copyright 1999-2019 Gentoo Authors
59 +# Copyright 1999-2020 Gentoo Authors
60 # Distributed under the terms of the GNU General Public License v2
61
62 EAPI=7
63 @@ -13,7 +13,6 @@ HOMEPAGE="http://cdw.sourceforge.net"
64
65 LICENSE="GPL-2+"
66 SLOT="0"
67 -DOCS=( AUTHORS ChangeLog NEWS README THANKS cdw.conf )
68
69 RDEPEND="
70 app-cdr/dvd+rw-tools
71 @@ -27,6 +26,10 @@ BDEPEND="virtual/pkgconfig"
72
73 S=${WORKDIR}/${ECVS_MODULE}
74
75 +PATCHES=( "${FILESDIR}/${PN}-0.8.1-fix-ar-call.patch" )
76 +
77 +DOCS=( AUTHORS ChangeLog NEWS README THANKS cdw.conf )
78 +
79 src_prepare() {
80 default
81 eautoreconf
82
83 diff --git a/app-cdr/cdw/files/cdw-0.8.1-fix-ar-call.patch b/app-cdr/cdw/files/cdw-0.8.1-fix-ar-call.patch
84 new file mode 100644
85 index 00000000000..a578696c1c8
86 --- /dev/null
87 +++ b/app-cdr/cdw/files/cdw-0.8.1-fix-ar-call.patch
88 @@ -0,0 +1,26 @@
89 +diff --git a/configure.ac b/configure.ac
90 +index 76627c7..527e2cb 100644
91 +--- a/configure.ac
92 ++++ b/configure.ac
93 +@@ -119,7 +119,7 @@ AC_TYPE_UINT16_T
94 + AC_TYPE_UINT32_T
95 + AC_TYPE_UINT8_T
96 + AC_CHECK_TYPES([ptrdiff_t])
97 +-
98 ++AC_CHECK_TOOL(AR, ar, false)
99 +
100 +
101 +
102 +diff --git a/src/user_interface/Makefile.in b/src/user_interface/Makefile.in
103 +index 5d5f1fc..4d8214b 100644
104 +--- a/src/user_interface/Makefile.in
105 ++++ b/src/user_interface/Makefile.in
106 +@@ -88,7 +88,7 @@ CONFIG_HEADER = $(top_builddir)/config_cdw.h
107 + CONFIG_CLEAN_FILES =
108 + CONFIG_CLEAN_VPATH_FILES =
109 + LIBRARIES = $(noinst_LIBRARIES)
110 +-AR = ar
111 ++AR = @AR@
112 + ARFLAGS = cru
113 + AM_V_AR = $(am__v_AR_@AM_V@)
114 + am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)