gentoo-ebuilds/media-sound/alsa-scarlett-gui/files/alsa-scarlett-gui-0.4.0_adjust-cflags.patch
Filip Kobierski 78c1276879
media-sound/alsa-scarlett-gui: add 0.4.0-r1 with improvements
- do not fortify source
- use preferred CC

Bug: https://bugs.gentoo.org/936815
Bug: https://bugs.gentoo.org/928245
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
2024-12-20 12:06:28 +01:00

20 lines
584 B
Diff

From: Filip Kobierski <fkobi@pm.me>
This also deletes -Werror as that was done anyway and it's simpler to apply one patch
Bug: https://bugs.gentoo.org/936815
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,6 +13,6 @@ DEPDIR := .deps
DEPFLAGS = -MT $@ -MMD -MP -MF $(DEPDIR)/$*.d
CFLAGS ?= -ggdb -fno-omit-frame-pointer -O2
-CFLAGS += -Wall -Werror -D_FORTIFY_SOURCE=2
+CFLAGS += -Wall
CFLAGS += -DVERSION=\"$(VERSION)\"
CFLAGS += -Wno-error=deprecated-declarations