summaryrefslogtreecommitdiff
path: root/audio/pianobar/Makefile.diff
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2013-10-27 17:48:20 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:06 -0500
commit3cc0b48896c3f48db95c92d7ddbe8e94c9b00160 (patch)
tree2ba32eb5559ee0384c78852da671c09678c2edd9 /audio/pianobar/Makefile.diff
parent6b806601a29c24bd3075bc7757e08ae155ce825b (diff)
downloadslackbuilds-3cc0b48896c3f48db95c92d7ddbe8e94c9b00160.tar.gz
audio/pianobar: Updated for version 2013.09.15.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/pianobar/Makefile.diff')
-rw-r--r--audio/pianobar/Makefile.diff21
1 files changed, 14 insertions, 7 deletions
diff --git a/audio/pianobar/Makefile.diff b/audio/pianobar/Makefile.diff
index 2faefac08d..2756b57cfd 100644
--- a/audio/pianobar/Makefile.diff
+++ b/audio/pianobar/Makefile.diff
@@ -1,7 +1,7 @@
-diff -ru pianobar-2011.07.09-orig/Makefile pianobar-2011.07.09/Makefile
---- pianobar-2011.07.09-orig/Makefile 2011-07-09 04:40:54.000000000 -0400
-+++ pianobar-2011.07.09/Makefile 2011-07-09 23:23:28.000000000 -0400
-@@ -7,13 +7,7 @@
+diff -Naur pianobar-2013.09.15-orig/Makefile pianobar-2013.09.15/Makefile
+--- pianobar-2013.09.15-orig/Makefile 2013-09-15 09:54:04.000000000 -0400
++++ pianobar-2013.09.15/Makefile 2013-09-27 23:54:19.406220780 -0400
+@@ -7,20 +7,7 @@
MANDIR:=${PREFIX}/share/man
DYNLINK:=0
@@ -10,9 +10,16 @@ diff -ru pianobar-2011.07.09-orig/Makefile pianobar-2011.07.09/Makefile
- CFLAGS=-O2 -DNDEBUG
-endif
-ifeq (${CC},cc)
-- CC=c99
+- OS := $(shell uname)
+- ifeq (${OS},Darwin)
+- CC=gcc -std=c99
+- else ifeq (${OS},FreeBSD)
+- CC=cc -std=c99
+- else
+- CC=c99
+- endif
-endif
+CFLAGS+=-std=c99 -O2 -DNDEBUG
- PIANOBAR_DIR=src
- PIANOBAR_SRC=\
+ PIANOBAR_DIR:=src
+ PIANOBAR_SRC:=\