Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 570786
Collapse All | Expand All

(-)i3status-2.10/Makefile (+7 lines)
Lines 21-27 Link Here
21
CFLAGS+=-Iinclude
21
CFLAGS+=-Iinclude
22
LIBS+=-lconfuse
22
LIBS+=-lconfuse
23
LIBS+=-lyajl
23
LIBS+=-lyajl
24
ifndef NO_PULSE
24
LIBS+=-lpulse
25
LIBS+=-lpulse
26
endif
25
LIBS+=-lm
27
LIBS+=-lm
26
28
27
VERSION=2.10
29
VERSION=2.10
Lines 74-79 Link Here
74
OBJS:=$(filter-out src/pulse.o, $(OBJS))
76
OBJS:=$(filter-out src/pulse.o, $(OBJS))
75
LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread
77
LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread
76
endif
78
endif
79
ifdef NO_PULSE
80
OBJS:=$(filter-out src/pulse.o, $(OBJS))
81
LIBS:=$(filter-out -lpulse, $(LIBS))
82
CFLAGS+=-DNO_PULSE
83
endif
77
84
78
src/%.o: src/%.c include/i3status.h
85
src/%.o: src/%.c include/i3status.h
79
	$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
86
	$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
(-)i3status-2.10/src/print_volume.c (-1 / +1 lines)
Lines 60-66 Link Here
60
        free(instance);
60
        free(instance);
61
    }
61
    }
62
62
63
#ifndef __OpenBSD__
63
#if !defined(__OpenBSD__) && !defined(NO_PULSE)
64
    /* Try PulseAudio first */
64
    /* Try PulseAudio first */
65
65
66
    /* If the device name has the format "pulse[:N]" where N is the
66
    /* If the device name has the format "pulse[:N]" where N is the

Return to bug 570786