You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
507 B
23 lines
507 B
+++ Makefile
|
|
@@ -79,10 +79,8 @@
|
|
OBJS:=$(sort $(wildcard src/*.c *.c))
|
|
OBJS:=$(OBJS:.c=.o)
|
|
|
|
-ifeq ($(OS),OpenBSD)
|
|
OBJS:=$(filter-out src/pulse.o, $(OBJS))
|
|
LIBS:=$(filter-out -lpulse, $(LIBS))
|
|
-endif
|
|
|
|
src/%.o: src/%.c include/i3status.h
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
+++ src/print_volume.c
|
|
@@ -61,7 +61,8 @@
|
|
free(instance);
|
|
}
|
|
|
|
-#ifndef __OpenBSD__
|
|
+#define NO
|
|
+#ifndef NO
|
|
/* Try PulseAudio first */
|
|
|
|
/* If the device name has the format "pulse[:N]" where N is the
|
|
|