diff options
| author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-08-23 04:13:37 +0300 |
|---|---|---|
| committer | Joonas Niilola <juippis@gentoo.org> | 2020-09-16 11:04:11 +0300 |
| commit | 5b6cf56c35f53484063dfa46f0fa41df9432433d (patch) | |
| tree | 52ec63e295e932ccfdf126f435ac0617bd9732ba /net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch | |
| parent | 05e884516faad612fa7a11f04c553d6469ec2db1 (diff) | |
| download | gentoo-5b6cf56c35f53484063dfa46f0fa41df9432433d.tar.gz gentoo-5b6cf56c35f53484063dfa46f0fa41df9432433d.tar.bz2 gentoo-5b6cf56c35f53484063dfa46f0fa41df9432433d.zip | |
net-dns/mdns-repeater: update version
Migrate from bitbucket to github, respect system CFLAGS and LDFLAGS.
Closes: https://bugs.gentoo.org/724962
Closes: https://bugs.gentoo.org/724944
Bug: https://bugs.gentoo.org/737896
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch')
| -rw-r--r-- | net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch b/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch new file mode 100644 index 000000000000..35eaa3675283 --- /dev/null +++ b/net-dns/mdns-repeater/files/mdns-repeater-1.11-system-compiler-options.patch @@ -0,0 +1,33 @@ +From 4d4f022eef0d0d14936288a5f6374c7a4b85c77c Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Sun, 23 Aug 2020 04:06:15 +0300 +Subject: [PATCH] Respect system CFLAGS and LDFLAGS + +--- + Makefile | 10 +--------- + 1 file changed, 1 insertion(+), 9 deletions(-) + +diff --git a/Makefile b/Makefile +index a04f707..ae4fe32 100644 +--- a/Makefile ++++ b/Makefile +@@ -9,15 +9,7 @@ ZIP_FILES = mdns-repeater \ + + HGVERSION=$(shell hg parents --template "{latesttag}.{latesttagdistance}") + +-CFLAGS=-Wall +- +-ifdef DEBUG +-CFLAGS+= -g +-else +-CFLAGS+= -Os +-LDFLAGS+= -s +-endif +- ++CFLAGS+=-Wall + CFLAGS+= -DHGVERSION="\"${HGVERSION}\"" + + .PHONY: all clean +-- +2.26.2 + |
