Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/udpxy/, net-misc/udpxy/files/
Date: Tue, 04 May 2021 22:18:03
Message-Id: 1620166631.9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05.sam@gentoo
1 commit: 9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Thu Apr 29 22:55:51 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 22:17:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c92c033
7
8 net-misc/udpxy: Respect CFLAGS
9
10 Closes: https://bugs.gentoo.org/725238
11 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch | 12 ++++++++++++
15 net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild | 4 ++++
16 2 files changed, 16 insertions(+)
17
18 diff --git a/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch
19 new file mode 100644
20 index 00000000000..b2b8ba1c3b8
21 --- /dev/null
22 +++ b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch
23 @@ -0,0 +1,12 @@
24 +https://bugs.gentoo.org/725238
25 +--- a/Makefile
26 ++++ b/Makefile
27 +@@ -100,7 +100,7 @@ CORES := core.* core
28 + debug ldebug rdebug lean verify touch incbuild
29 +
30 + .c.o :
31 +- $(CC) $(ALL_CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@
32 ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@
33 +
34 + release:
35 + @echo -e "\nMaking a [release] version (use 'debug' target as an alternative)\n"
36
37 diff --git a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
38 index 73364f91047..ab57d61e4a3 100644
39 --- a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
40 +++ b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
41 @@ -15,6 +15,10 @@ LICENSE="GPL-3"
42 SLOT="0"
43 KEYWORDS="~amd64 ~x86"
44
45 +PATCHES=(
46 + "${FILESDIR}"/${P}-cflags.patch
47 +)
48 +
49 src_prepare() {
50 default