summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-08-10 19:48:05 +0200
committerDavid Seifert <soap@gentoo.org>2017-08-13 13:29:19 +0200
commit4097ed2f371ed7a3afab0ace3b70162c91a561c8 (patch)
treed228214c138e34420fd15f181994c0708dbcece8
parentx11-misc/cairo-clock: remove unused patch (diff)
downloadgentoo-4097ed2f371ed7a3afab0ace3b70162c91a561c8.tar.gz
gentoo-4097ed2f371ed7a3afab0ace3b70162c91a561c8.tar.bz2
gentoo-4097ed2f371ed7a3afab0ace3b70162c91a561c8.zip
x11-misc/i3status: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/5383
-rw-r--r--x11-misc/i3status/files/i3status-2.10-pulseaudio.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/x11-misc/i3status/files/i3status-2.10-pulseaudio.patch b/x11-misc/i3status/files/i3status-2.10-pulseaudio.patch
deleted file mode 100644
index 991ce036cd4f..000000000000
--- a/x11-misc/i3status/files/i3status-2.10-pulseaudio.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Make dependency on pulseaudio optional.
-
-It's unfortunately not upstreamable. See:
-
-https://github.com/i3/i3status/pull/43
-https://bugs.gentoo.org/show_bug.cgi?id=570786
-
---- a/Makefile
-+++ b/Makefile
-@@ -49,6 +49,10 @@ ifeq ($(OS),NetBSD)
- LIBS+=-lprop
- endif
-
-+ifeq ($(OS),OpenBSD)
-+LIBS+=-lpthread
-+endif
-+
- # This probably applies for any pkgsrc based system
- ifneq (, $(filter $(OS), NetBSD DragonFly))
- CFLAGS+=-I/usr/pkg/include/
-@@ -70,9 +74,12 @@ CFLAGS += -idirafter yajl-fallback
- OBJS:=$(wildcard src/*.c *.c)
- OBJS:=$(OBJS:.c=.o)
-
--ifeq ($(OS),OpenBSD)
-+PULSE ?= 1
-+ifeq ($(PULSE),0)
- OBJS:=$(filter-out src/pulse.o, $(OBJS))
--LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread
-+LIBS:=$(filter-out -lpulse, $(LIBS))
-+else
-+CPPFLAGS+=-DPULSE
- endif
-
- src/%.o: src/%.c include/i3status.h
---- a/src/print_volume.c
-+++ b/src/print_volume.c
-@@ -60,7 +60,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *
- free(instance);
- }
-
--#ifndef __OpenBSD__
-+#if !defined(__OpenBSD__) && defined(PULSE)
- /* Try PulseAudio first */
-
- /* If the device name has the format "pulse[:N]" where N is the