diff options
Diffstat (limited to 'net-misc/udpxy')
-rw-r--r-- | net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch | 12 | ||||
-rw-r--r-- | net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild | 4 |
2 files changed, 16 insertions, 0 deletions
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 new file mode 100644 index 000000000000..b2b8ba1c3b82 --- /dev/null +++ b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/725238 +--- a/Makefile ++++ b/Makefile +@@ -100,7 +100,7 @@ CORES := core.* core + debug ldebug rdebug lean verify touch incbuild + + .c.o : +- $(CC) $(ALL_CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@ ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@ + + release: + @echo -e "\nMaking a [release] version (use 'debug' target as an alternative)\n" diff --git a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild index 73364f910479..ab57d61e4a3f 100644 --- a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild +++ b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild @@ -15,6 +15,10 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch +) + src_prepare() { default |