termux-packages/packages/cava/Makefile.am.patch

19 lines
799 B
Diff
Raw Normal View History

2021-05-24 18:04:41 +02:00
diff --git a/Makefile.am b/Makefile.am
index 8419207..1bd48e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,12 +15,11 @@ cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib
cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
2021-05-24 18:04:41 +02:00
-D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED \
-DFONTDIR=\"@FONT_DIR@\"
-cava_CFLAGS = -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter
+cava_CFLAGS = -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -Wno-unused-variable
2020-06-20 22:01:35 +02:00
if OSX
cava_CFLAGS += -DNORT
2020-07-20 21:23:39 +02:00
else
2020-06-20 22:01:35 +02:00
- cava_LDFLAGS += -lrt
2020-07-20 21:23:39 +02:00
cava_font_dir = @FONT_DIR@
cava_font__DATA = cava.psf
2020-06-20 22:01:35 +02:00
endif