diff options
-rw-r--r-- | audio/pianobar/Makefile.diff | 19 | ||||
-rw-r--r-- | audio/pianobar/pianobar.SlackBuild | 4 | ||||
-rw-r--r-- | audio/pianobar/pianobar.info | 8 |
3 files changed, 18 insertions, 13 deletions
diff --git a/audio/pianobar/Makefile.diff b/audio/pianobar/Makefile.diff index 84965d61a200d..2faefac08d06f 100644 --- a/audio/pianobar/Makefile.diff +++ b/audio/pianobar/Makefile.diff @@ -1,13 +1,18 @@ ---- pianobar-2011.04.27.orig/Makefile 2011-04-27 14:11:06.000000000 -0500 -+++ pianobar-2011.04.27/Makefile 2011-05-01 17:11:47.000000000 -0500 -@@ -6,9 +6,8 @@ - INCDIR:=${PREFIX}/include +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 @@ MANDIR:=${PREFIX}/share/man DYNLINK:=0 --CFLAGS:=-O2 -DNDEBUG + +-# Respect environment variables set by user; does not work with := +-ifeq (${CFLAGS},) +- CFLAGS=-O2 -DNDEBUG +-endif +-ifeq (${CC},cc) +- CC=c99 +-endif +CFLAGS+=-std=c99 -O2 -DNDEBUG - LDFLAGS:= --CC:=c99 PIANOBAR_DIR=src PIANOBAR_SRC=\ diff --git a/audio/pianobar/pianobar.SlackBuild b/audio/pianobar/pianobar.SlackBuild index c9b95c86556b7..4413261ccaee1 100644 --- a/audio/pianobar/pianobar.SlackBuild +++ b/audio/pianobar/pianobar.SlackBuild @@ -4,7 +4,7 @@ # Written by Phillip Warner <pc_warner@yahoo.com> PRGNAM=pianobar -VERSION=${VERSION:-2011.04.27} +VERSION=${VERSION:-2011.07.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,7 +50,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Fix Makefile and make sure the CFLAGS is respected +# Fix Makefile patch -p1 < $CWD/Makefile.diff CFLAGS="$SLKCFLAGS" \ diff --git a/audio/pianobar/pianobar.info b/audio/pianobar/pianobar.info index 0cb34e70043cf..d614ecdb7f47c 100644 --- a/audio/pianobar/pianobar.info +++ b/audio/pianobar/pianobar.info @@ -1,10 +1,10 @@ PRGNAM="pianobar" -VERSION="2011.04.27" +VERSION="2011.07.09" HOMEPAGE="http://6xq.net/html/00/17.html" -DOWNLOAD="http://6xq.net/media/00/16/pianobar-2011.04.27.tar.bz2" -MD5SUM="0fa84d8e8a091f82a9fd580d50c0967b" +DOWNLOAD="http://6xq.net/media/00/16/pianobar-2011.07.09.tar.bz2" +MD5SUM="7de0981ac459c0d61c983ee7b7911502" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Phillip Warner" EMAIL="pc_warner@yahoo.com" -APPROVED="dsomero,Niels Horn,Erik Hanson" +APPROVED="dsomero,Erik Hanson,Niels Horn" |