summaryrefslogtreecommitdiff
path: root/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-30 15:27:54 +0200
committerDeposite Pirate2018-09-30 15:27:54 +0200
commit23ada2a010e551f3a04630730356ee96825a5739 (patch)
treeeb769cd40159ca609673884d120250dcb3fa562a /deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
parente926db21580e51653246d9a829243d99e2a4d22c (diff)
Add DeaDBeeF Discord rich presence plugin.
new file: deadbeef-plugin-discord-git/.SRCINFO new file: deadbeef-plugin-discord-git/.gitignore new file: deadbeef-plugin-discord-git/PKGBUILD new file: deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
Diffstat (limited to 'deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch')
-rw-r--r--deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch b/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
new file mode 100644
index 0000000..473e0e0
--- /dev/null
+++ b/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
@@ -0,0 +1,14 @@
+diff -r -u -N ddb_discord_presence/Makefile ddb_discord_presence-makefile/Makefile
+--- ddb_discord_presence/Makefile 2018-09-30 15:14:26.874053581 +0200
++++ ddb_discord_presence-makefile/Makefile 2018-09-30 15:15:45.258372163 +0200
+@@ -8,8 +8,8 @@
+ CC=gcc
+ CXX=g++
+ STD=gnu99
+-CFLAGS+=-fPIC -I /usr/local/include -I discord-rpc/include -Wall
+-CXXFLAGS+=-fPIC -I /usr/local/include -Wall
++CFLAGS+=$(COPT) -fPIC -I /usr/local/include -I discord-rpc/include -Wall
++CXXFLAGS+=$(CXXOPT) -fPIC -I /usr/local/include -Wall
+ ifeq ($(DEBUG),1)
+ CFLAGS +=-g -O0
+ CXXFLAGS +=-g -O0